Documentation ¶
Index ¶
- func PossibleValuesForAgentPoolMode() []string
- func PossibleValuesForAgentPoolType() []string
- func PossibleValuesForCode() []string
- func PossibleValuesForGPUInstanceProfile() []string
- func PossibleValuesForKubeletDiskType() []string
- func PossibleValuesForOSDiskType() []string
- func PossibleValuesForOSSKU() []string
- func PossibleValuesForOSType() []string
- func PossibleValuesForScaleDownMode() []string
- func PossibleValuesForScaleSetEvictionPolicy() []string
- func PossibleValuesForScaleSetPriority() []string
- func PossibleValuesForWorkloadRuntime() []string
- func ValidateAgentPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)
- type AgentPool
- type AgentPoolAvailableVersions
- type AgentPoolAvailableVersionsProperties
- type AgentPoolAvailableVersionsPropertiesAgentPoolVersionsInlined
- type AgentPoolId
- type AgentPoolMode
- type AgentPoolOperationPredicate
- type AgentPoolType
- type AgentPoolUpgradeProfile
- type AgentPoolUpgradeProfileProperties
- type AgentPoolUpgradeProfilePropertiesUpgradesInlined
- type AgentPoolUpgradeSettings
- type AgentPoolsClient
- func (c AgentPoolsClient) CreateOrUpdate(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOrUpdateOperationResponse, err error)
- func (c AgentPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
- func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
- func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
- func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
- func (c AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, id ManagedClusterId) (result GetAvailableAgentPoolVersionsOperationResponse, err error)
- func (c AgentPoolsClient) GetUpgradeProfile(ctx context.Context, id AgentPoolId) (result GetUpgradeProfileOperationResponse, err error)
- func (c AgentPoolsClient) List(ctx context.Context, id ManagedClusterId) (resp ListOperationResponse, err error)
- func (c AgentPoolsClient) ListComplete(ctx context.Context, id ManagedClusterId) (ListCompleteResult, error)
- func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, ...) (resp ListCompleteResult, err error)
- func (c AgentPoolsClient) UpgradeNodeImageVersion(ctx context.Context, id AgentPoolId) (result UpgradeNodeImageVersionOperationResponse, err error)
- func (c AgentPoolsClient) UpgradeNodeImageVersionThenPoll(ctx context.Context, id AgentPoolId) error
- type Code
- type CreateOrUpdateOperationResponse
- type CreationData
- type DeleteOperationResponse
- type GPUInstanceProfile
- type GetAvailableAgentPoolVersionsOperationResponse
- type GetOperationResponse
- type GetUpgradeProfileOperationResponse
- type KubeletConfig
- type KubeletDiskType
- type LinuxOSConfig
- type ListCompleteResult
- type ListOperationResponse
- type ManagedClusterAgentPoolProfileProperties
- type ManagedClusterId
- type OSDiskType
- type OSSKU
- type OSType
- type PowerState
- type ScaleDownMode
- type ScaleSetEvictionPolicy
- type ScaleSetPriority
- type SysctlConfig
- type UpgradeNodeImageVersionOperationResponse
- type WorkloadRuntime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAgentPoolMode ¶
func PossibleValuesForAgentPoolMode() []string
func PossibleValuesForAgentPoolType ¶
func PossibleValuesForAgentPoolType() []string
func PossibleValuesForCode ¶
func PossibleValuesForCode() []string
func PossibleValuesForGPUInstanceProfile ¶
func PossibleValuesForGPUInstanceProfile() []string
func PossibleValuesForKubeletDiskType ¶
func PossibleValuesForKubeletDiskType() []string
func PossibleValuesForOSDiskType ¶
func PossibleValuesForOSDiskType() []string
func PossibleValuesForOSSKU ¶
func PossibleValuesForOSSKU() []string
func PossibleValuesForOSType ¶
func PossibleValuesForOSType() []string
func PossibleValuesForScaleDownMode ¶
func PossibleValuesForScaleDownMode() []string
func PossibleValuesForScaleSetEvictionPolicy ¶
func PossibleValuesForScaleSetEvictionPolicy() []string
func PossibleValuesForScaleSetPriority ¶
func PossibleValuesForScaleSetPriority() []string
func PossibleValuesForWorkloadRuntime ¶
func PossibleValuesForWorkloadRuntime() []string
func ValidateAgentPoolID ¶
ValidateAgentPoolID checks that 'input' can be parsed as a Agent Pool ID
func ValidateManagedClusterID ¶
ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID
Types ¶
type AgentPool ¶
type AgentPool struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagedClusterAgentPoolProfileProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AgentPoolAvailableVersions ¶
type AgentPoolAvailableVersions struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AgentPoolAvailableVersionsProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AgentPoolAvailableVersionsProperties ¶
type AgentPoolAvailableVersionsProperties struct {
AgentPoolVersions *[]AgentPoolAvailableVersionsPropertiesAgentPoolVersionsInlined `json:"agentPoolVersions,omitempty"`
}
type AgentPoolId ¶
type AgentPoolId struct { SubscriptionId string ResourceGroupName string ResourceName string AgentPoolName string }
AgentPoolId is a struct representing the Resource ID for a Agent Pool
func NewAgentPoolID ¶
func NewAgentPoolID(subscriptionId string, resourceGroupName string, resourceName string, agentPoolName string) AgentPoolId
NewAgentPoolID returns a new AgentPoolId struct
func ParseAgentPoolID ¶
func ParseAgentPoolID(input string) (*AgentPoolId, error)
ParseAgentPoolID parses 'input' into a AgentPoolId
func ParseAgentPoolIDInsensitively ¶
func ParseAgentPoolIDInsensitively(input string) (*AgentPoolId, error)
ParseAgentPoolIDInsensitively parses 'input' case-insensitively into a AgentPoolId note: this method should only be used for API response data and not user input
func (AgentPoolId) Segments ¶
func (id AgentPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Agent Pool ID
func (AgentPoolId) String ¶
func (id AgentPoolId) String() string
String returns a human-readable description of this Agent Pool ID
type AgentPoolMode ¶
type AgentPoolMode string
const ( AgentPoolModeSystem AgentPoolMode = "System" AgentPoolModeUser AgentPoolMode = "User" )
type AgentPoolOperationPredicate ¶
func (AgentPoolOperationPredicate) Matches ¶
func (p AgentPoolOperationPredicate) Matches(input AgentPool) bool
type AgentPoolType ¶
type AgentPoolType string
const ( AgentPoolTypeAvailabilitySet AgentPoolType = "AvailabilitySet" AgentPoolTypeVirtualMachineScaleSets AgentPoolType = "VirtualMachineScaleSets" )
type AgentPoolUpgradeProfile ¶
type AgentPoolUpgradeProfile struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AgentPoolUpgradeProfileProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AgentPoolUpgradeProfileProperties ¶
type AgentPoolUpgradeProfileProperties struct { KubernetesVersion string `json:"kubernetesVersion"` LatestNodeImageVersion *string `json:"latestNodeImageVersion,omitempty"` OsType OSType `json:"osType"` Upgrades *[]AgentPoolUpgradeProfilePropertiesUpgradesInlined `json:"upgrades,omitempty"` }
type AgentPoolUpgradeSettings ¶
type AgentPoolUpgradeSettings struct {
MaxSurge *string `json:"maxSurge,omitempty"`
}
type AgentPoolsClient ¶
func NewAgentPoolsClientWithBaseURI ¶
func NewAgentPoolsClientWithBaseURI(endpoint string) AgentPoolsClient
func (AgentPoolsClient) CreateOrUpdate ¶
func (c AgentPoolsClient) CreateOrUpdate(ctx context.Context, id AgentPoolId, input AgentPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AgentPoolsClient) CreateOrUpdateThenPoll ¶
func (c AgentPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id AgentPoolId, input AgentPool) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AgentPoolsClient) Delete ¶
func (c AgentPoolsClient) Delete(ctx context.Context, id AgentPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (AgentPoolsClient) DeleteThenPoll ¶
func (c AgentPoolsClient) DeleteThenPoll(ctx context.Context, id AgentPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AgentPoolsClient) Get ¶
func (c AgentPoolsClient) Get(ctx context.Context, id AgentPoolId) (result GetOperationResponse, err error)
Get ...
func (AgentPoolsClient) GetAvailableAgentPoolVersions ¶
func (c AgentPoolsClient) GetAvailableAgentPoolVersions(ctx context.Context, id ManagedClusterId) (result GetAvailableAgentPoolVersionsOperationResponse, err error)
GetAvailableAgentPoolVersions ...
func (AgentPoolsClient) GetUpgradeProfile ¶
func (c AgentPoolsClient) GetUpgradeProfile(ctx context.Context, id AgentPoolId) (result GetUpgradeProfileOperationResponse, err error)
GetUpgradeProfile ...
func (AgentPoolsClient) List ¶
func (c AgentPoolsClient) List(ctx context.Context, id ManagedClusterId) (resp ListOperationResponse, err error)
List ...
func (AgentPoolsClient) ListComplete ¶
func (c AgentPoolsClient) ListComplete(ctx context.Context, id ManagedClusterId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AgentPoolsClient) ListCompleteMatchingPredicate ¶
func (c AgentPoolsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate AgentPoolOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (AgentPoolsClient) UpgradeNodeImageVersion ¶
func (c AgentPoolsClient) UpgradeNodeImageVersion(ctx context.Context, id AgentPoolId) (result UpgradeNodeImageVersionOperationResponse, err error)
UpgradeNodeImageVersion ...
func (AgentPoolsClient) UpgradeNodeImageVersionThenPoll ¶
func (c AgentPoolsClient) UpgradeNodeImageVersionThenPoll(ctx context.Context, id AgentPoolId) error
UpgradeNodeImageVersionThenPoll performs UpgradeNodeImageVersion then polls until it's completed
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreationData ¶
type CreationData struct {
SourceResourceId *string `json:"sourceResourceId,omitempty"`
}
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GPUInstanceProfile ¶
type GPUInstanceProfile string
const ( GPUInstanceProfileMIGFourg GPUInstanceProfile = "MIG4g" GPUInstanceProfileMIGOneg GPUInstanceProfile = "MIG1g" GPUInstanceProfileMIGSeveng GPUInstanceProfile = "MIG7g" GPUInstanceProfileMIGThreeg GPUInstanceProfile = "MIG3g" GPUInstanceProfileMIGTwog GPUInstanceProfile = "MIG2g" )
type GetAvailableAgentPoolVersionsOperationResponse ¶
type GetAvailableAgentPoolVersionsOperationResponse struct { HttpResponse *http.Response Model *AgentPoolAvailableVersions }
type GetOperationResponse ¶
type GetUpgradeProfileOperationResponse ¶
type GetUpgradeProfileOperationResponse struct { HttpResponse *http.Response Model *AgentPoolUpgradeProfile }
type KubeletConfig ¶
type KubeletConfig struct { AllowedUnsafeSysctls *[]string `json:"allowedUnsafeSysctls,omitempty"` ContainerLogMaxFiles *int64 `json:"containerLogMaxFiles,omitempty"` ContainerLogMaxSizeMB *int64 `json:"containerLogMaxSizeMB,omitempty"` CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"` CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"` CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"` FailSwapOn *bool `json:"failSwapOn,omitempty"` ImageGcHighThreshold *int64 `json:"imageGcHighThreshold,omitempty"` ImageGcLowThreshold *int64 `json:"imageGcLowThreshold,omitempty"` PodMaxPids *int64 `json:"podMaxPids,omitempty"` TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"` }
type KubeletDiskType ¶
type KubeletDiskType string
const ( KubeletDiskTypeOS KubeletDiskType = "OS" KubeletDiskTypeTemporary KubeletDiskType = "Temporary" )
type LinuxOSConfig ¶
type LinuxOSConfig struct { SwapFileSizeMB *int64 `json:"swapFileSizeMB,omitempty"` Sysctls *SysctlConfig `json:"sysctls,omitempty"` TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"` TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []AgentPool
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]AgentPool // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ManagedClusterAgentPoolProfileProperties ¶
type ManagedClusterAgentPoolProfileProperties struct { AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` Count *int64 `json:"count,omitempty"` CreationData *CreationData `json:"creationData,omitempty"` CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"` EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` EnableFIPS *bool `json:"enableFIPS,omitempty"` EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` HostGroupID *string `json:"hostGroupID,omitempty"` KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"` LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` MaxCount *int64 `json:"maxCount,omitempty"` MaxPods *int64 `json:"maxPods,omitempty"` MinCount *int64 `json:"minCount,omitempty"` Mode *AgentPoolMode `json:"mode,omitempty"` NodeImageVersion *string `json:"nodeImageVersion,omitempty"` NodeLabels *map[string]string `json:"nodeLabels,omitempty"` NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` NodeTaints *[]string `json:"nodeTaints,omitempty"` OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` OsDiskSizeGB *int64 `json:"osDiskSizeGB,omitempty"` OsDiskType *OSDiskType `json:"osDiskType,omitempty"` OsSKU *OSSKU `json:"osSKU,omitempty"` OsType *OSType `json:"osType,omitempty"` PodSubnetID *string `json:"podSubnetID,omitempty"` PowerState *PowerState `json:"powerState,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"` ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"` SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *AgentPoolType `json:"type,omitempty"` UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` VMSize *string `json:"vmSize,omitempty"` VnetSubnetID *string `json:"vnetSubnetID,omitempty"` WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"` }
type ManagedClusterId ¶
ManagedClusterId is a struct representing the Resource ID for a Managed Cluster
func NewManagedClusterID ¶
func NewManagedClusterID(subscriptionId string, resourceGroupName string, resourceName string) ManagedClusterId
NewManagedClusterID returns a new ManagedClusterId struct
func ParseManagedClusterID ¶
func ParseManagedClusterID(input string) (*ManagedClusterId, error)
ParseManagedClusterID parses 'input' into a ManagedClusterId
func ParseManagedClusterIDInsensitively ¶
func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)
ParseManagedClusterIDInsensitively parses 'input' case-insensitively into a ManagedClusterId note: this method should only be used for API response data and not user input
func (ManagedClusterId) ID ¶
func (id ManagedClusterId) ID() string
ID returns the formatted Managed Cluster ID
func (ManagedClusterId) Segments ¶
func (id ManagedClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID
func (ManagedClusterId) String ¶
func (id ManagedClusterId) String() string
String returns a human-readable description of this Managed Cluster ID
type OSDiskType ¶
type OSDiskType string
const ( OSDiskTypeEphemeral OSDiskType = "Ephemeral" OSDiskTypeManaged OSDiskType = "Managed" )
type PowerState ¶
type PowerState struct {
Code *Code `json:"code,omitempty"`
}
type ScaleDownMode ¶
type ScaleDownMode string
const ( ScaleDownModeDeallocate ScaleDownMode = "Deallocate" ScaleDownModeDelete ScaleDownMode = "Delete" )
type ScaleSetEvictionPolicy ¶
type ScaleSetEvictionPolicy string
const ( ScaleSetEvictionPolicyDeallocate ScaleSetEvictionPolicy = "Deallocate" ScaleSetEvictionPolicyDelete ScaleSetEvictionPolicy = "Delete" )
type ScaleSetPriority ¶
type ScaleSetPriority string
const ( ScaleSetPriorityRegular ScaleSetPriority = "Regular" ScaleSetPrioritySpot ScaleSetPriority = "Spot" )
type SysctlConfig ¶
type SysctlConfig struct { FsAioMaxNr *int64 `json:"fsAioMaxNr,omitempty"` FsFileMax *int64 `json:"fsFileMax,omitempty"` FsInotifyMaxUserWatches *int64 `json:"fsInotifyMaxUserWatches,omitempty"` FsNrOpen *int64 `json:"fsNrOpen,omitempty"` KernelThreadsMax *int64 `json:"kernelThreadsMax,omitempty"` NetCoreNetdevMaxBacklog *int64 `json:"netCoreNetdevMaxBacklog,omitempty"` NetCoreOptmemMax *int64 `json:"netCoreOptmemMax,omitempty"` NetCoreRmemDefault *int64 `json:"netCoreRmemDefault,omitempty"` NetCoreRmemMax *int64 `json:"netCoreRmemMax,omitempty"` NetCoreSomaxconn *int64 `json:"netCoreSomaxconn,omitempty"` NetCoreWmemDefault *int64 `json:"netCoreWmemDefault,omitempty"` NetCoreWmemMax *int64 `json:"netCoreWmemMax,omitempty"` NetIPv4IPLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"` NetIPv4NeighDefaultGcThresh1 *int64 `json:"netIpv4NeighDefaultGcThresh1,omitempty"` NetIPv4NeighDefaultGcThresh2 *int64 `json:"netIpv4NeighDefaultGcThresh2,omitempty"` NetIPv4NeighDefaultGcThresh3 *int64 `json:"netIpv4NeighDefaultGcThresh3,omitempty"` NetIPv4TcpFinTimeout *int64 `json:"netIpv4TcpFinTimeout,omitempty"` NetIPv4TcpKeepaliveProbes *int64 `json:"netIpv4TcpKeepaliveProbes,omitempty"` NetIPv4TcpKeepaliveTime *int64 `json:"netIpv4TcpKeepaliveTime,omitempty"` NetIPv4TcpMaxSynBacklog *int64 `json:"netIpv4TcpMaxSynBacklog,omitempty"` NetIPv4TcpMaxTwBuckets *int64 `json:"netIpv4TcpMaxTwBuckets,omitempty"` NetIPv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"` NetIPv4TcpkeepaliveIntvl *int64 `json:"netIpv4TcpkeepaliveIntvl,omitempty"` NetNetfilterNfConntrackBuckets *int64 `json:"netNetfilterNfConntrackBuckets,omitempty"` NetNetfilterNfConntrackMax *int64 `json:"netNetfilterNfConntrackMax,omitempty"` VMMaxMapCount *int64 `json:"vmMaxMapCount,omitempty"` VMSwappiness *int64 `json:"vmSwappiness,omitempty"` VMVfsCachePressure *int64 `json:"vmVfsCachePressure,omitempty"` }
type UpgradeNodeImageVersionOperationResponse ¶
type UpgradeNodeImageVersionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type WorkloadRuntime ¶
type WorkloadRuntime string
const ( WorkloadRuntimeOCIContainer WorkloadRuntime = "OCIContainer" WorkloadRuntimeWasmWasi WorkloadRuntime = "WasmWasi" )
Source Files ¶
- client.go
- constants.go
- id_agentpool.go
- id_managedcluster.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getavailableagentpoolversions_autorest.go
- method_getupgradeprofile_autorest.go
- method_list_autorest.go
- method_upgradenodeimageversion_autorest.go
- model_agentpool.go
- model_agentpoolavailableversions.go
- model_agentpoolavailableversionsproperties.go
- model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go
- model_agentpoolupgradeprofile.go
- model_agentpoolupgradeprofileproperties.go
- model_agentpoolupgradeprofilepropertiesupgradesinlined.go
- model_agentpoolupgradesettings.go
- model_creationdata.go
- model_kubeletconfig.go
- model_linuxosconfig.go
- model_managedclusteragentpoolprofileproperties.go
- model_powerstate.go
- model_sysctlconfig.go
- predicates.go
- version.go