Skip to content

Commit

Permalink
Added Scheduling in ocean-aks-np-virtual-node-group (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra1-n authored Dec 11, 2024
1 parent a3f073b commit ca031bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions service/ocean/providers/azure_np/nodegroup_np.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type VirtualNodeGroup struct {
AutoScale *AutoScale `json:"autoScale,omitempty"`
Taints []*Taint `json:"taints,omitempty"`
VmSizes *VmSizes `json:"vmSizes,omitempty"`
Scheduling *Scheduling `json:"scheduling,omitempty"`

// Read-only fields.
CreatedAt *time.Time `json:"createdAt,omitempty"`
Expand Down Expand Up @@ -323,4 +324,11 @@ func (o *VirtualNodeGroup) SetVmSizes(v *VmSizes) *VirtualNodeGroup {
return o
}

func (o *VirtualNodeGroup) SetScheduling(v *Scheduling) *VirtualNodeGroup {
if o.Scheduling = v; o.Scheduling == nil {
o.nullFields = append(o.nullFields, "Scheduling")
}
return o
}

//endregion

0 comments on commit ca031bd

Please sign in to comment.