Documentation ¶
Index ¶
- type AKS
- type AutoScaler
- type Automatic
- type Cluster
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetAKS(v *AKS) *Cluster
- func (o *Cluster) SetAutoScaler(v *AutoScaler) *Cluster
- func (o *Cluster) SetControllerClusterId(v *string) *Cluster
- func (o *Cluster) SetHealth(v *Health) *Cluster
- func (o *Cluster) SetId(v *string) *Cluster
- func (o *Cluster) SetName(v *string) *Cluster
- func (o *Cluster) SetVirtualNodeGroupTemplate(v *VirtualNodeGroupTemplate) *Cluster
- type CreateClusterInput
- type CreateClusterOutput
- type CreateVirtualNodeGroupInput
- type CreateVirtualNodeGroupOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteVirtualNodeGroupInput
- type DeleteVirtualNodeGroupOutput
- type Down
- type Headroom
- type Health
- type ImportCluster
- type ImportClusterInput
- type ImportClusterOutput
- type ListClustersInput
- type ListClustersOutput
- type ListVirtualNodeGroupsInput
- type ListVirtualNodeGroupsOutput
- type NodeCountLimits
- type NodePoolProperties
- func (o NodePoolProperties) MarshalJSON() ([]byte, error)
- func (o *NodePoolProperties) SetEnableNodePublicIP(v *bool) *NodePoolProperties
- func (o *NodePoolProperties) SetMaxPodsPerNode(v *int) *NodePoolProperties
- func (o *NodePoolProperties) SetOsDiskSizeGB(v *int) *NodePoolProperties
- func (o *NodePoolProperties) SetOsDiskType(v *string) *NodePoolProperties
- func (o *NodePoolProperties) SetOsType(v *string) *NodePoolProperties
- type ReadClusterInput
- type ReadClusterOutput
- type ReadVirtualNodeGroupInput
- type ReadVirtualNodeGroupOutput
- type ResourceLimits
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateCluster(ctx context.Context, input *CreateClusterInput) (*CreateClusterOutput, error)
- func (s *ServiceOp) CreateVirtualNodeGroup(ctx context.Context, input *CreateVirtualNodeGroupInput) (*CreateVirtualNodeGroupOutput, error)
- func (s *ServiceOp) DeleteCluster(ctx context.Context, input *DeleteClusterInput) (*DeleteClusterOutput, error)
- func (s *ServiceOp) DeleteVirtualNodeGroup(ctx context.Context, input *DeleteVirtualNodeGroupInput) (*DeleteVirtualNodeGroupOutput, error)
- func (s *ServiceOp) ImportCluster(ctx context.Context, input *ImportClusterInput) (*ImportClusterOutput, error)
- func (s *ServiceOp) ListClusters(ctx context.Context) (*ListClustersOutput, error)
- func (s *ServiceOp) ListVirtualNodeGroups(ctx context.Context, input *ListVirtualNodeGroupsInput) (*ListVirtualNodeGroupsOutput, error)
- func (s *ServiceOp) ReadCluster(ctx context.Context, input *ReadClusterInput) (*ReadClusterOutput, error)
- func (s *ServiceOp) ReadVirtualNodeGroup(ctx context.Context, input *ReadVirtualNodeGroupInput) (*ReadVirtualNodeGroupOutput, error)
- func (s *ServiceOp) UpdateCluster(ctx context.Context, input *UpdateClusterInput) (*UpdateClusterOutput, error)
- func (s *ServiceOp) UpdateVirtualNodeGroup(ctx context.Context, input *UpdateVirtualNodeGroupInput) (*UpdateVirtualNodeGroupOutput, error)
- type Strategy
- type Taint
- type UpdateClusterInput
- type UpdateClusterOutput
- type UpdateVirtualNodeGroupInput
- type UpdateVirtualNodeGroupOutput
- type VirtualNodeGroup
- func (o VirtualNodeGroup) MarshalJSON() ([]byte, error)
- func (o *VirtualNodeGroup) SetAutoScale(v *VirtualNodeGroupAutoScale) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetAvailabilityZones(v []string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetId(v *string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetLabels(v *map[string]string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetName(v *string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetNodeCountLimits(v *NodeCountLimits) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetNodePoolProperties(v *NodePoolProperties) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetOceanId(v *string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetStrategy(v *Strategy) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetTags(v *map[string]string) *VirtualNodeGroup
- func (o *VirtualNodeGroup) SetTaints(v []*Taint) *VirtualNodeGroup
- type VirtualNodeGroupAutoScale
- type VirtualNodeGroupHeadrooms
- func (o VirtualNodeGroupHeadrooms) MarshalJSON() ([]byte, error)
- func (o *VirtualNodeGroupHeadrooms) SetCpuPerUnit(v *int) *VirtualNodeGroupHeadrooms
- func (o *VirtualNodeGroupHeadrooms) SetGpuPerUnit(v *int) *VirtualNodeGroupHeadrooms
- func (o *VirtualNodeGroupHeadrooms) SetMemoryPerUnit(v *int) *VirtualNodeGroupHeadrooms
- func (o *VirtualNodeGroupHeadrooms) SetNumOfUnits(v *int) *VirtualNodeGroupHeadrooms
- type VirtualNodeGroupTemplate
- func (o VirtualNodeGroupTemplate) MarshalJSON() ([]byte, error)
- func (o *VirtualNodeGroupTemplate) SetAvailabilityZones(v []string) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetLabels(v *map[string]string) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetNodeCountLimits(v *NodeCountLimits) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetNodePoolProperties(v *NodePoolProperties) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetStrategy(v *Strategy) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetTags(v *map[string]string) *VirtualNodeGroupTemplate
- func (o *VirtualNodeGroupTemplate) SetTaints(v []*Taint) *VirtualNodeGroupTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AKS ¶
type AKS struct { ClusterName *string `json:"clusterName,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` Region *string `json:"region,omitempty"` InfrastructureResourceGroupName *string `json:"infrastructureResourceGroupName,omitempty"` // contains filtered or unexported fields }
func (AKS) MarshalJSON ¶
func (*AKS) SetClusterName ¶
func (*AKS) SetInfrastructureResourceGroupName ¶
func (*AKS) SetResourceGroupName ¶
type AutoScaler ¶
type AutoScaler struct { IsEnabled *bool `json:"isEnabled,omitempty"` ResourceLimits *ResourceLimits `json:"resourceLimits,omitempty"` Down *Down `json:"down,omitempty"` Headroom *Headroom `json:"headroom,omitempty"` // contains filtered or unexported fields }
func (AutoScaler) MarshalJSON ¶
func (o AutoScaler) MarshalJSON() ([]byte, error)
func (*AutoScaler) SetDown ¶
func (o *AutoScaler) SetDown(v *Down) *AutoScaler
func (*AutoScaler) SetHeadroom ¶
func (o *AutoScaler) SetHeadroom(v *Headroom) *AutoScaler
func (*AutoScaler) SetIsEnabled ¶
func (o *AutoScaler) SetIsEnabled(v *bool) *AutoScaler
func (*AutoScaler) SetResourceLimits ¶
func (o *AutoScaler) SetResourceLimits(v *ResourceLimits) *AutoScaler
type Automatic ¶
type Automatic struct { IsEnabled *bool `json:"isEnabled,omitempty"` Percentage *int `json:"percentage,omitempty"` // contains filtered or unexported fields }
func (Automatic) MarshalJSON ¶
func (*Automatic) SetIsEnabled ¶
func (*Automatic) SetPercentage ¶
type Cluster ¶
type Cluster struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` ControllerClusterID *string `json:"controllerClusterId,omitempty"` AKS *AKS `json:"aks,omitempty"` AutoScaler *AutoScaler `json:"autoScaler,omitempty"` Health *Health `json:"health,omitempty"` VirtualNodeGroupTemplate *VirtualNodeGroupTemplate `json:"virtualNodeGroupTemplate,omitempty"` // Read-only fields. CreatedAt *time.Time `json:"createdAt,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (Cluster) MarshalJSON ¶
func (*Cluster) SetAutoScaler ¶
func (o *Cluster) SetAutoScaler(v *AutoScaler) *Cluster
func (*Cluster) SetControllerClusterId ¶
func (*Cluster) SetVirtualNodeGroupTemplate ¶
func (o *Cluster) SetVirtualNodeGroupTemplate(v *VirtualNodeGroupTemplate) *Cluster
type CreateClusterInput ¶
type CreateClusterInput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type CreateClusterOutput ¶
type CreateClusterOutput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type CreateVirtualNodeGroupInput ¶
type CreateVirtualNodeGroupInput struct {
VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}
type CreateVirtualNodeGroupOutput ¶
type CreateVirtualNodeGroupOutput struct {
VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}
type DeleteClusterInput ¶
type DeleteClusterInput struct {
ClusterID *string `json:"clusterId,omitempty"`
}
type DeleteClusterOutput ¶
type DeleteClusterOutput struct{}
type DeleteVirtualNodeGroupInput ¶
type DeleteVirtualNodeGroupInput struct {
VirtualNodeGroupID *string `json:"virtualNodeGroupId,omitempty"`
}
type DeleteVirtualNodeGroupOutput ¶
type DeleteVirtualNodeGroupOutput struct{}
type Down ¶
type Down struct { MaxScaleDownPercentage *int `json:"maxScaleDownPercentage,omitempty"` // contains filtered or unexported fields }
func (Down) MarshalJSON ¶
func (*Down) SetMaxScaleDownPercentage ¶
type Headroom ¶
type Headroom struct { Automatic *Automatic `json:"automatic,omitempty"` // contains filtered or unexported fields }
func (Headroom) MarshalJSON ¶
func (*Headroom) SetAutomatic ¶
type Health ¶
type Health struct { GracePeriod *int `json:"gracePeriod,omitempty"` // contains filtered or unexported fields }
func (Health) MarshalJSON ¶
func (*Health) SetGracePeriod ¶
type ImportCluster ¶
type ImportClusterInput ¶
type ImportClusterInput struct { ACDIdentifier *string `json:"acdIdentifier,omitempty"` Cluster *ImportCluster `json:"cluster,omitempty"` }
type ImportClusterOutput ¶
type ImportClusterOutput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type ListClustersInput ¶
type ListClustersInput struct{}
type ListClustersOutput ¶
type ListClustersOutput struct {
Clusters []*Cluster `json:"clusters,omitempty"`
}
type ListVirtualNodeGroupsInput ¶
type ListVirtualNodeGroupsInput struct {
OceanID *string `json:"oceanId,omitempty"`
}
type ListVirtualNodeGroupsOutput ¶
type ListVirtualNodeGroupsOutput struct {
VirtualNodeGroups []*VirtualNodeGroup `json:"virtualNodeGroups,omitempty"`
}
type NodeCountLimits ¶
type NodeCountLimits struct { MinCount *int `json:"minCount,omitempty"` MaxCount *int `json:"maxCount,omitempty"` // contains filtered or unexported fields }
NodeCountLimits region
func (NodeCountLimits) MarshalJSON ¶
func (o NodeCountLimits) MarshalJSON() ([]byte, error)
func (*NodeCountLimits) SetMaxCount ¶
func (o *NodeCountLimits) SetMaxCount(v *int) *NodeCountLimits
func (*NodeCountLimits) SetMinCount ¶
func (o *NodeCountLimits) SetMinCount(v *int) *NodeCountLimits
type NodePoolProperties ¶
type NodePoolProperties struct { MaxPodsPerNode *int `json:"maxPodsPerNode,omitempty"` EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"` OsDiskType *string `json:"osDiskType,omitempty"` OsType *string `json:"osType,omitempty"` // contains filtered or unexported fields }
NodePoolProperties region
func (NodePoolProperties) MarshalJSON ¶
func (o NodePoolProperties) MarshalJSON() ([]byte, error)
func (*NodePoolProperties) SetEnableNodePublicIP ¶
func (o *NodePoolProperties) SetEnableNodePublicIP(v *bool) *NodePoolProperties
func (*NodePoolProperties) SetMaxPodsPerNode ¶
func (o *NodePoolProperties) SetMaxPodsPerNode(v *int) *NodePoolProperties
func (*NodePoolProperties) SetOsDiskSizeGB ¶
func (o *NodePoolProperties) SetOsDiskSizeGB(v *int) *NodePoolProperties
func (*NodePoolProperties) SetOsDiskType ¶
func (o *NodePoolProperties) SetOsDiskType(v *string) *NodePoolProperties
func (*NodePoolProperties) SetOsType ¶
func (o *NodePoolProperties) SetOsType(v *string) *NodePoolProperties
type ReadClusterInput ¶
type ReadClusterInput struct {
ClusterID *string `json:"clusterId,omitempty"`
}
type ReadClusterOutput ¶
type ReadClusterOutput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type ReadVirtualNodeGroupInput ¶
type ReadVirtualNodeGroupInput struct {
VirtualNodeGroupID *string `json:"virtualNodeGroupId,omitempty"`
}
type ReadVirtualNodeGroupOutput ¶
type ReadVirtualNodeGroupOutput struct {
VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}
type ResourceLimits ¶
type ResourceLimits struct { MaxVCPU *int `json:"maxVCpu,omitempty"` MaxMemoryGib *int `json:"maxMemoryGib,omitempty"` // contains filtered or unexported fields }
func (ResourceLimits) MarshalJSON ¶
func (o ResourceLimits) MarshalJSON() ([]byte, error)
func (*ResourceLimits) SetMaxMemoryGib ¶
func (o *ResourceLimits) SetMaxMemoryGib(v *int) *ResourceLimits
func (*ResourceLimits) SetMaxVcpu ¶
func (o *ResourceLimits) SetMaxVcpu(v *int) *ResourceLimits
type Service ¶
type Service interface { ListClusters(context.Context) (*ListClustersOutput, error) CreateCluster(context.Context, *CreateClusterInput) (*CreateClusterOutput, error) ReadCluster(context.Context, *ReadClusterInput) (*ReadClusterOutput, error) UpdateCluster(context.Context, *UpdateClusterInput) (*UpdateClusterOutput, error) DeleteCluster(context.Context, *DeleteClusterInput) (*DeleteClusterOutput, error) ImportCluster(context.Context, *ImportClusterInput) (*ImportClusterOutput, error) ListVirtualNodeGroups(context.Context, *ListVirtualNodeGroupsInput) (*ListVirtualNodeGroupsOutput, error) CreateVirtualNodeGroup(context.Context, *CreateVirtualNodeGroupInput) (*CreateVirtualNodeGroupOutput, error) ReadVirtualNodeGroup(context.Context, *ReadVirtualNodeGroupInput) (*ReadVirtualNodeGroupOutput, error) UpdateVirtualNodeGroup(context.Context, *UpdateVirtualNodeGroupInput) (*UpdateVirtualNodeGroupOutput, error) DeleteVirtualNodeGroup(context.Context, *DeleteVirtualNodeGroupInput) (*DeleteVirtualNodeGroupOutput, error) }
Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.
type ServiceOp ¶
func (*ServiceOp) CreateCluster ¶
func (s *ServiceOp) CreateCluster(ctx context.Context, input *CreateClusterInput) (*CreateClusterOutput, error)
func (*ServiceOp) CreateVirtualNodeGroup ¶
func (s *ServiceOp) CreateVirtualNodeGroup(ctx context.Context, input *CreateVirtualNodeGroupInput) (*CreateVirtualNodeGroupOutput, error)
func (*ServiceOp) DeleteCluster ¶
func (s *ServiceOp) DeleteCluster(ctx context.Context, input *DeleteClusterInput) (*DeleteClusterOutput, error)
func (*ServiceOp) DeleteVirtualNodeGroup ¶
func (s *ServiceOp) DeleteVirtualNodeGroup(ctx context.Context, input *DeleteVirtualNodeGroupInput) (*DeleteVirtualNodeGroupOutput, error)
func (*ServiceOp) ImportCluster ¶
func (s *ServiceOp) ImportCluster(ctx context.Context, input *ImportClusterInput) (*ImportClusterOutput, error)
func (*ServiceOp) ListClusters ¶
func (s *ServiceOp) ListClusters(ctx context.Context) (*ListClustersOutput, error)
func (*ServiceOp) ListVirtualNodeGroups ¶
func (s *ServiceOp) ListVirtualNodeGroups(ctx context.Context, input *ListVirtualNodeGroupsInput) (*ListVirtualNodeGroupsOutput, error)
func (*ServiceOp) ReadCluster ¶
func (s *ServiceOp) ReadCluster(ctx context.Context, input *ReadClusterInput) (*ReadClusterOutput, error)
func (*ServiceOp) ReadVirtualNodeGroup ¶
func (s *ServiceOp) ReadVirtualNodeGroup(ctx context.Context, input *ReadVirtualNodeGroupInput) (*ReadVirtualNodeGroupOutput, error)
func (*ServiceOp) UpdateCluster ¶
func (s *ServiceOp) UpdateCluster(ctx context.Context, input *UpdateClusterInput) (*UpdateClusterOutput, error)
func (*ServiceOp) UpdateVirtualNodeGroup ¶
func (s *ServiceOp) UpdateVirtualNodeGroup(ctx context.Context, input *UpdateVirtualNodeGroupInput) (*UpdateVirtualNodeGroupOutput, error)
type Strategy ¶
type Strategy struct { SpotPercentage *int `json:"spotPercentage,omitempty"` FallbackToOD *bool `json:"fallbackToOd,omitempty"` // contains filtered or unexported fields }
Strategy region
func (Strategy) MarshalJSON ¶
func (*Strategy) SetFallbackToOD ¶
func (*Strategy) SetSpotPercentage ¶
type Taint ¶
type Taint struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` Effect *string `json:"effect,omitempty"` // contains filtered or unexported fields }
func (Taint) MarshalJSON ¶
type UpdateClusterInput ¶
type UpdateClusterInput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type UpdateClusterOutput ¶
type UpdateClusterOutput struct {
Cluster *Cluster `json:"cluster,omitempty"`
}
type UpdateVirtualNodeGroupInput ¶
type UpdateVirtualNodeGroupInput struct {
VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}
type UpdateVirtualNodeGroupOutput ¶
type UpdateVirtualNodeGroupOutput struct {
VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}
type VirtualNodeGroup ¶
type VirtualNodeGroup struct { ID *string `json:"id,omitempty"` OceanID *string `json:"oceanId,omitempty"` Name *string `json:"name,omitempty"` Labels *map[string]string `json:"labels,omitempty"` AvailabilityZones []string `json:"availabilityZones,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Strategy *Strategy `json:"strategy,omitempty"` NodePoolProperties *NodePoolProperties `json:"nodePoolProperties,omitempty"` NodeCountLimits *NodeCountLimits `json:"nodeCountLimits,omitempty"` AutoScale *VirtualNodeGroupAutoScale `json:"autoScale,omitempty"` Taints []*Taint `json:"taints,omitempty"` // Read-only fields. CreatedAt *time.Time `json:"createdAt,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` // contains filtered or unexported fields }
func (VirtualNodeGroup) MarshalJSON ¶
func (o VirtualNodeGroup) MarshalJSON() ([]byte, error)
func (*VirtualNodeGroup) SetAutoScale ¶ added in v1.152.0
func (o *VirtualNodeGroup) SetAutoScale(v *VirtualNodeGroupAutoScale) *VirtualNodeGroup
func (*VirtualNodeGroup) SetAvailabilityZones ¶
func (o *VirtualNodeGroup) SetAvailabilityZones(v []string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetId ¶
func (o *VirtualNodeGroup) SetId(v *string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetLabels ¶
func (o *VirtualNodeGroup) SetLabels(v *map[string]string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetName ¶
func (o *VirtualNodeGroup) SetName(v *string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetNodeCountLimits ¶
func (o *VirtualNodeGroup) SetNodeCountLimits(v *NodeCountLimits) *VirtualNodeGroup
func (*VirtualNodeGroup) SetNodePoolProperties ¶
func (o *VirtualNodeGroup) SetNodePoolProperties(v *NodePoolProperties) *VirtualNodeGroup
func (*VirtualNodeGroup) SetOceanId ¶
func (o *VirtualNodeGroup) SetOceanId(v *string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetStrategy ¶
func (o *VirtualNodeGroup) SetStrategy(v *Strategy) *VirtualNodeGroup
func (*VirtualNodeGroup) SetTags ¶
func (o *VirtualNodeGroup) SetTags(v *map[string]string) *VirtualNodeGroup
func (*VirtualNodeGroup) SetTaints ¶
func (o *VirtualNodeGroup) SetTaints(v []*Taint) *VirtualNodeGroup
type VirtualNodeGroupAutoScale ¶ added in v1.152.0
type VirtualNodeGroupAutoScale struct { Headrooms []*VirtualNodeGroupHeadrooms `json:"headrooms,omitempty"` // contains filtered or unexported fields }
func (VirtualNodeGroupAutoScale) MarshalJSON ¶ added in v1.152.0
func (o VirtualNodeGroupAutoScale) MarshalJSON() ([]byte, error)
func (*VirtualNodeGroupAutoScale) SetHeadrooms ¶ added in v1.152.0
func (o *VirtualNodeGroupAutoScale) SetHeadrooms(v []*VirtualNodeGroupHeadrooms) *VirtualNodeGroupAutoScale
type VirtualNodeGroupHeadrooms ¶ added in v1.152.0
type VirtualNodeGroupHeadrooms struct { CpuPerUnit *int `json:"cpuPerUnit,omitempty"` MemoryPerUnit *int `json:"memoryPerUnit,omitempty"` GpuPerUnit *int `json:"gpuPerUnit,omitempty"` NumberOfUnits *int `json:"numOfUnits,omitempty"` // contains filtered or unexported fields }
func (VirtualNodeGroupHeadrooms) MarshalJSON ¶ added in v1.152.0
func (o VirtualNodeGroupHeadrooms) MarshalJSON() ([]byte, error)
func (*VirtualNodeGroupHeadrooms) SetCpuPerUnit ¶ added in v1.152.0
func (o *VirtualNodeGroupHeadrooms) SetCpuPerUnit(v *int) *VirtualNodeGroupHeadrooms
func (*VirtualNodeGroupHeadrooms) SetGpuPerUnit ¶ added in v1.152.0
func (o *VirtualNodeGroupHeadrooms) SetGpuPerUnit(v *int) *VirtualNodeGroupHeadrooms
func (*VirtualNodeGroupHeadrooms) SetMemoryPerUnit ¶ added in v1.152.0
func (o *VirtualNodeGroupHeadrooms) SetMemoryPerUnit(v *int) *VirtualNodeGroupHeadrooms
func (*VirtualNodeGroupHeadrooms) SetNumOfUnits ¶ added in v1.152.0
func (o *VirtualNodeGroupHeadrooms) SetNumOfUnits(v *int) *VirtualNodeGroupHeadrooms
type VirtualNodeGroupTemplate ¶
type VirtualNodeGroupTemplate struct { AvailabilityZones []string `json:"availabilityZones,omitempty"` NodePoolProperties *NodePoolProperties `json:"nodePoolProperties,omitempty"` NodeCountLimits *NodeCountLimits `json:"nodeCountLimits,omitempty"` Strategy *Strategy `json:"strategy,omitempty"` Labels *map[string]string `json:"labels,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Taints []*Taint `json:"taints,omitempty"` // contains filtered or unexported fields }
func (VirtualNodeGroupTemplate) MarshalJSON ¶
func (o VirtualNodeGroupTemplate) MarshalJSON() ([]byte, error)
func (*VirtualNodeGroupTemplate) SetAvailabilityZones ¶
func (o *VirtualNodeGroupTemplate) SetAvailabilityZones(v []string) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetLabels ¶
func (o *VirtualNodeGroupTemplate) SetLabels(v *map[string]string) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetNodeCountLimits ¶
func (o *VirtualNodeGroupTemplate) SetNodeCountLimits(v *NodeCountLimits) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetNodePoolProperties ¶
func (o *VirtualNodeGroupTemplate) SetNodePoolProperties(v *NodePoolProperties) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetStrategy ¶
func (o *VirtualNodeGroupTemplate) SetStrategy(v *Strategy) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetTags ¶
func (o *VirtualNodeGroupTemplate) SetTags(v *map[string]string) *VirtualNodeGroupTemplate
func (*VirtualNodeGroupTemplate) SetTaints ¶
func (o *VirtualNodeGroupTemplate) SetTaints(v []*Taint) *VirtualNodeGroupTemplate
Click to show internal directories.
Click to hide internal directories.