Documentation ¶
Index ¶
- Constants
- type AgentPoolSecurityProfile
- func (m *AgentPoolSecurityProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AgentPoolSecurityProfile) MarshalBinary() ([]byte, error)
- func (m *AgentPoolSecurityProfile) UnmarshalBinary(b []byte) error
- func (m *AgentPoolSecurityProfile) Validate(formats strfmt.Registry) error
- type AgentPoolWindowsProfile
- func (m *AgentPoolWindowsProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AgentPoolWindowsProfile) MarshalBinary() ([]byte, error)
- func (m *AgentPoolWindowsProfile) UnmarshalBinary(b []byte) error
- func (m *AgentPoolWindowsProfile) Validate(formats strfmt.Registry) error
- type ArtifactStreamingProfile
- func (m *ArtifactStreamingProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ArtifactStreamingProfile) MarshalBinary() ([]byte, error)
- func (m *ArtifactStreamingProfile) UnmarshalBinary(b []byte) error
- func (m *ArtifactStreamingProfile) Validate(formats strfmt.Registry) error
- type AzureOSImageConfig
- type CustomKubeletConfig
- type CustomLinuxOSConfig
- type GPUProfile
- type NodeBootstrapping
- type ProvisionHelperValues
- type ProvisionProfile
- type ProvisionValues
- type SigImageConfig
- type SigImageConfigTemplate
- func (m *SigImageConfigTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SigImageConfigTemplate) MarshalBinary() ([]byte, error)
- func (m *SigImageConfigTemplate) UnmarshalBinary(b []byte) error
- func (m *SigImageConfigTemplate) Validate(formats strfmt.Registry) error
- type SysctlConfig
- type UlimitConfig
Constants ¶
const ( OSTypeUnspecified int32 = 0 OSTypeWindows int32 = 1 OSTypeLinux int32 = 2 )
const ( OSSKUUnspecified int32 = 0 OSSKUUbuntu int32 = 1 OSSKUAzureLinux int32 = 7 OSSKUWindows2019 int32 = 3 OSSKUWindows2022 int32 = 4 OSSKUWindowsAnnual int32 = 8 )
const ( KubeletDiskTypeUnspecified int32 = 0 KubeletDiskTypeOS int32 = 1 KubeletDiskTypeTemporary int32 = 2 )
const ( AgentPoolModeUnspecified int32 = 0 AgentPoolModeSystem int32 = 1 AgentPoolModeUser int32 = 2 )
const ( SSHAccessLocalUser int32 = 0 SSHAccessDisabled int32 = 1 )
const ( DriverTypeUnspecified int32 = 0 DriverTypeGRID int32 = 2 DriverTypeCUDA int32 = 3 )
const (
GPUInstanceProfileUnspecified int32 = 0
)
const (
WorkloadRuntimeUnspecified int32 = 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentPoolSecurityProfile ¶
type AgentPoolSecurityProfile struct { // enable secure boot EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"` // enable v t p m EnableVTPM *bool `json:"enableVTPM,omitempty"` // ssh access SSHAccess *int32 `json:"sshAccess,omitempty"` }
AgentPoolSecurityProfile agent pool security profile
swagger:model AgentPoolSecurityProfile
func (*AgentPoolSecurityProfile) ContextValidate ¶
func (m *AgentPoolSecurityProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this agent pool security profile based on context it is used
func (*AgentPoolSecurityProfile) MarshalBinary ¶
func (m *AgentPoolSecurityProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentPoolSecurityProfile) UnmarshalBinary ¶
func (m *AgentPoolSecurityProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentPoolWindowsProfile ¶
type AgentPoolWindowsProfile struct { // containerd package ContainerdPackage *string `json:"containerdPackage,omitempty"` // disable outbound nat DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"` // enable next gen networking EnableNextGenNetworking *bool `json:"enableNextGenNetworking,omitempty"` }
AgentPoolWindowsProfile agent pool windows profile
swagger:model AgentPoolWindowsProfile
func (*AgentPoolWindowsProfile) ContextValidate ¶
func (m *AgentPoolWindowsProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this agent pool windows profile based on context it is used
func (*AgentPoolWindowsProfile) MarshalBinary ¶
func (m *AgentPoolWindowsProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentPoolWindowsProfile) UnmarshalBinary ¶
func (m *AgentPoolWindowsProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ArtifactStreamingProfile ¶
type ArtifactStreamingProfile struct { // enabled Enabled *bool `json:"enabled,omitempty"` }
ArtifactStreamingProfile artifact streaming profile
swagger:model ArtifactStreamingProfile
func (*ArtifactStreamingProfile) ContextValidate ¶
func (m *ArtifactStreamingProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this artifact streaming profile based on context it is used
func (*ArtifactStreamingProfile) MarshalBinary ¶
func (m *ArtifactStreamingProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ArtifactStreamingProfile) UnmarshalBinary ¶
func (m *ArtifactStreamingProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureOSImageConfig ¶
type AzureOSImageConfig struct { // image offer ImageOffer *string `json:"imageOffer,omitempty"` // image publisher ImagePublisher *string `json:"imagePublisher,omitempty"` // image sku ImageSku *string `json:"imageSku,omitempty"` // image version ImageVersion *string `json:"imageVersion,omitempty"` }
AzureOSImageConfig azure o s image config
swagger:model AzureOSImageConfig
func (*AzureOSImageConfig) ContextValidate ¶
ContextValidate validates this azure o s image config based on context it is used
func (*AzureOSImageConfig) MarshalBinary ¶
func (m *AzureOSImageConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureOSImageConfig) UnmarshalBinary ¶
func (m *AzureOSImageConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomKubeletConfig ¶
type CustomKubeletConfig struct { // allowed unsafe sysctls AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls"` // container log max files ContainerLogMaxFiles *int32 `json:"containerLogMaxFiles,omitempty"` // container log max size m b ContainerLogMaxSizeMB *int32 `json:"containerLogMaxSizeMB,omitempty"` // cpu cfs quota CPUCfsQuota *bool `json:"cpuCfsQuota,omitempty"` // cpu cfs quota period CPUCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"` // cpu manager policy CPUManagerPolicy *string `json:"cpuManagerPolicy,omitempty"` // cpu reserved CPUReserved *int32 `json:"cpuReserved,omitempty"` // fail swap on FailSwapOn *bool `json:"failSwapOn,omitempty"` // image gc high threshold ImageGcHighThreshold *int32 `json:"imageGcHighThreshold,omitempty"` // image gc low threshold ImageGcLowThreshold *int32 `json:"imageGcLowThreshold,omitempty"` // memory reserved MemoryReserved *int32 `json:"memoryReserved,omitempty"` // pod max pids PodMaxPids *int32 `json:"podMaxPids,omitempty"` // seccomp default SeccompDefault *string `json:"seccompDefault,omitempty"` // topology manager policy TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"` }
CustomKubeletConfig custom kubelet config
swagger:model CustomKubeletConfig
func (*CustomKubeletConfig) ContextValidate ¶
ContextValidate validates this custom kubelet config based on context it is used
func (*CustomKubeletConfig) MarshalBinary ¶
func (m *CustomKubeletConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomKubeletConfig) UnmarshalBinary ¶
func (m *CustomKubeletConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CustomLinuxOSConfig ¶
type CustomLinuxOSConfig struct { // swap file size m b SwapFileSizeMB *int32 `json:"swapFileSizeMB,omitempty"` // sysctls Sysctls *SysctlConfig `json:"sysctls,omitempty"` // transparent huge page defrag TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"` // transparent huge page enabled TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"` // ulimits Ulimits *UlimitConfig `json:"ulimits,omitempty"` }
CustomLinuxOSConfig custom linux o s config
swagger:model CustomLinuxOSConfig
func (*CustomLinuxOSConfig) ContextValidate ¶
ContextValidate validate this custom linux o s config based on the context it is used
func (*CustomLinuxOSConfig) MarshalBinary ¶
func (m *CustomLinuxOSConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomLinuxOSConfig) UnmarshalBinary ¶
func (m *CustomLinuxOSConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GPUProfile ¶
type GPUProfile struct { // driver type DriverType *int32 `json:"driverType,omitempty"` // install g p u driver InstallGPUDriver *bool `json:"installGPUDriver,omitempty"` }
GPUProfile g p u profile
swagger:model GPUProfile
func (*GPUProfile) ContextValidate ¶
ContextValidate validates this g p u profile based on context it is used
func (*GPUProfile) MarshalBinary ¶
func (m *GPUProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GPUProfile) UnmarshalBinary ¶
func (m *GPUProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeBootstrapping ¶
type NodeBootstrapping struct { // cse // Required: true Cse *string `json:"cse"` // custom data // Required: true CustomData *string `json:"customData"` // os image config // Required: true OsImageConfig *AzureOSImageConfig `json:"osImageConfig"` // sig image config // Required: true SigImageConfig *SigImageConfig `json:"sigImageConfig"` }
NodeBootstrapping node bootstrapping
swagger:model NodeBootstrapping
func (*NodeBootstrapping) ContextValidate ¶
ContextValidate validate this node bootstrapping based on the context it is used
func (*NodeBootstrapping) MarshalBinary ¶
func (m *NodeBootstrapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeBootstrapping) UnmarshalBinary ¶
func (m *NodeBootstrapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionHelperValues ¶
type ProvisionHelperValues struct { // sku CPU // Required: true SkuCPU *float64 `json:"skuCPU"` // sku memory // Required: true SkuMemory *float64 `json:"skuMemory"` }
ProvisionHelperValues provision helper values
swagger:model ProvisionHelperValues
func (*ProvisionHelperValues) ContextValidate ¶
ContextValidate validates this provision helper values based on context it is used
func (*ProvisionHelperValues) MarshalBinary ¶
func (m *ProvisionHelperValues) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionHelperValues) UnmarshalBinary ¶
func (m *ProvisionHelperValues) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionProfile ¶
type ProvisionProfile struct { // agent pool windows profile AgentPoolWindowsProfile *AgentPoolWindowsProfile `json:"agentPoolWindowsProfile,omitempty"` // architecture // Required: true Architecture *string `json:"architecture"` // artifact streaming profile ArtifactStreamingProfile *ArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"` // custom kubelet config CustomKubeletConfig *CustomKubeletConfig `json:"customKubeletConfig,omitempty"` // custom linux o s config CustomLinuxOSConfig *CustomLinuxOSConfig `json:"customLinuxOSConfig,omitempty"` // custom node labels CustomNodeLabels map[string]string `json:"customNodeLabels,omitempty"` // distro // Required: true Distro *string `json:"distro"` // enable f IP s EnableFIPS *bool `json:"enableFIPS,omitempty"` // gpu instance profile GpuInstanceProfile *int32 `json:"gpuInstanceProfile,omitempty"` // gpu profile GpuProfile *GPUProfile `json:"gpuProfile,omitempty"` // kubelet disk type KubeletDiskType *int32 `json:"kubeletDiskType,omitempty"` // max pods // Required: true MaxPods *int32 `json:"maxPods"` // message of the day MessageOfTheDay *string `json:"messageOfTheDay,omitempty"` // mode // Required: true Mode *int32 `json:"mode"` // name // Required: true Name *string `json:"name"` // node initialization taints NodeInitializationTaints []string `json:"nodeInitializationTaints"` // node taints NodeTaints []string `json:"nodeTaints"` // orchestrator version // Required: true OrchestratorVersion *string `json:"orchestratorVersion"` // os sku // Required: true OsSku *int32 `json:"osSku"` // os type // Required: true OsType *int32 `json:"osType"` // security profile SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"` // storage profile // Required: true StorageProfile *string `json:"storageProfile"` // vm size // Required: true VMSize *string `json:"vmSize"` // vnet cidrs // Required: true VnetCidrs []string `json:"vnetCidrs"` // vnet subnet ID // Required: true VnetSubnetID *string `json:"vnetSubnetID"` // workload runtime WorkloadRuntime *int32 `json:"workloadRuntime,omitempty"` }
ProvisionProfile provision profile
swagger:model ProvisionProfile
func (*ProvisionProfile) ContextValidate ¶
ContextValidate validate this provision profile based on the context it is used
func (*ProvisionProfile) MarshalBinary ¶
func (m *ProvisionProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionProfile) UnmarshalBinary ¶
func (m *ProvisionProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionValues ¶
type ProvisionValues struct { // provision helper values // Required: true ProvisionHelperValues *ProvisionHelperValues `json:"provisionHelperValues"` // provision profile // Required: true ProvisionProfile *ProvisionProfile `json:"provisionProfile"` }
ProvisionValues provision values
swagger:model ProvisionValues
func (*ProvisionValues) ContextValidate ¶
ContextValidate validate this provision values based on the context it is used
func (*ProvisionValues) MarshalBinary ¶
func (m *ProvisionValues) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionValues) UnmarshalBinary ¶
func (m *ProvisionValues) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigImageConfig ¶
type SigImageConfig struct { // sig image config template SigImageConfigTemplate *SigImageConfigTemplate `json:"sigImageConfigTemplate,omitempty"` // subscription ID SubscriptionID *string `json:"subscriptionID,omitempty"` }
SigImageConfig sig image config
swagger:model SigImageConfig
func (*SigImageConfig) ContextValidate ¶
ContextValidate validate this sig image config based on the context it is used
func (*SigImageConfig) MarshalBinary ¶
func (m *SigImageConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigImageConfig) UnmarshalBinary ¶
func (m *SigImageConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigImageConfigTemplate ¶
type SigImageConfigTemplate struct { // definition Definition *string `json:"definition,omitempty"` // gallery Gallery *string `json:"gallery,omitempty"` // resource group ResourceGroup *string `json:"resourceGroup,omitempty"` // version Version *string `json:"version,omitempty"` }
SigImageConfigTemplate sig image config template
swagger:model SigImageConfigTemplate
func (*SigImageConfigTemplate) ContextValidate ¶
func (m *SigImageConfigTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sig image config template based on context it is used
func (*SigImageConfigTemplate) MarshalBinary ¶
func (m *SigImageConfigTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigImageConfigTemplate) UnmarshalBinary ¶
func (m *SigImageConfigTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SysctlConfig ¶
type SysctlConfig struct { // fs aio max nr FsAioMaxNr *int32 `json:"fsAioMaxNr,omitempty"` // fs file max FsFileMax *int32 `json:"fsFileMax,omitempty"` // fs inotify max user watches FsInotifyMaxUserWatches *int32 `json:"fsInotifyMaxUserWatches,omitempty"` // fs nr open FsNrOpen *int32 `json:"fsNrOpen,omitempty"` // kernel threads max KernelThreadsMax *int32 `json:"kernelThreadsMax,omitempty"` // net core netdev max backlog NetCoreNetdevMaxBacklog *int32 `json:"netCoreNetdevMaxBacklog,omitempty"` // net core optmem max NetCoreOptmemMax *int32 `json:"netCoreOptmemMax,omitempty"` // net core rmem default NetCoreRmemDefault *int32 `json:"netCoreRmemDefault,omitempty"` // net core rmem max NetCoreRmemMax *int32 `json:"netCoreRmemMax,omitempty"` // net core somaxconn NetCoreSomaxconn *int32 `json:"netCoreSomaxconn,omitempty"` // net core wmem default NetCoreWmemDefault *int32 `json:"netCoreWmemDefault,omitempty"` // net core wmem max NetCoreWmemMax *int32 `json:"netCoreWmemMax,omitempty"` // net Ipv4 Ip local port range NetIPV4IPLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"` // net Ipv4 neigh default gc thresh1 NetIPV4NeighDefaultGcThresh1 *int32 `json:"netIpv4NeighDefaultGcThresh1,omitempty"` // net Ipv4 neigh default gc thresh2 NetIPV4NeighDefaultGcThresh2 *int32 `json:"netIpv4NeighDefaultGcThresh2,omitempty"` // net Ipv4 neigh default gc thresh3 NetIPV4NeighDefaultGcThresh3 *int32 `json:"netIpv4NeighDefaultGcThresh3,omitempty"` // net Ipv4 Tcp fin timeout NetIPV4TCPFinTimeout *int32 `json:"netIpv4TcpFinTimeout,omitempty"` // net Ipv4 Tcp keepalive probes NetIPV4TCPKeepaliveProbes *int32 `json:"netIpv4TcpKeepaliveProbes,omitempty"` // net Ipv4 Tcp keepalive time NetIPV4TCPKeepaliveTime *int32 `json:"netIpv4TcpKeepaliveTime,omitempty"` // net Ipv4 Tcp max syn backlog NetIPV4TCPMaxSynBacklog *int32 `json:"netIpv4TcpMaxSynBacklog,omitempty"` // net Ipv4 Tcp max tw buckets NetIPV4TCPMaxTwBuckets *int32 `json:"netIpv4TcpMaxTwBuckets,omitempty"` // net Ipv4 Tcp tw reuse NetIPV4TCPTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"` // net Ipv4 tcpkeepalive intvl NetIPV4TcpkeepaliveIntvl *int32 `json:"netIpv4TcpkeepaliveIntvl,omitempty"` // net netfilter nf conntrack buckets NetNetfilterNfConntrackBuckets *int32 `json:"netNetfilterNfConntrackBuckets,omitempty"` // net netfilter nf conntrack max NetNetfilterNfConntrackMax *int32 `json:"netNetfilterNfConntrackMax,omitempty"` // vm max map count VMMaxMapCount *int32 `json:"vmMaxMapCount,omitempty"` // vm swappiness VMSwappiness *int32 `json:"vmSwappiness,omitempty"` // vm vfs cache pressure VMVfsCachePressure *int32 `json:"vmVfsCachePressure,omitempty"` }
SysctlConfig sysctl config
swagger:model SysctlConfig
func (*SysctlConfig) ContextValidate ¶
ContextValidate validates this sysctl config based on context it is used
func (*SysctlConfig) MarshalBinary ¶
func (m *SysctlConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SysctlConfig) UnmarshalBinary ¶
func (m *SysctlConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UlimitConfig ¶
type UlimitConfig struct { // max locked memory MaxLockedMemory *string `json:"maxLockedMemory,omitempty"` // no file NoFile *string `json:"noFile,omitempty"` }
UlimitConfig ulimit config
swagger:model UlimitConfig
func (*UlimitConfig) ContextValidate ¶
ContextValidate validates this ulimit config based on context it is used
func (*UlimitConfig) MarshalBinary ¶
func (m *UlimitConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UlimitConfig) UnmarshalBinary ¶
func (m *UlimitConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- agent_pool_security_profile.go
- agent_pool_windows_profile.go
- artifact_streaming_profile.go
- azure_o_s_image_config.go
- custom_kubelet_config.go
- custom_linux_o_s_config.go
- enums.go
- g_p_u_profile.go
- node_bootstrapping.go
- provision_helper_values.go
- provision_profile.go
- provision_values.go
- sig_image_config.go
- sig_image_config_template.go
- sysctl_config.go
- ulimit_config.go