nbcontractv1

package
v0.20240402.0-lilypan Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VmType_name = map[int32]string{
		0: "VM_TYPE_UNSPECIFIED",
		1: "VM_TYPE_STANDARD",
		2: "VM_TYPE_VMSS",
	}
	VmType_value = map[string]int32{
		"VM_TYPE_UNSPECIFIED": 0,
		"VM_TYPE_STANDARD":    1,
		"VM_TYPE_VMSS":        2,
	}
)

Enum value maps for VmType.

View Source
var (
	LoadBalancerSku_name = map[int32]string{
		0: "LOAD_BALANCER_SKU_UNSPECIFIED",
		1: "LOAD_BALANCER_SKU_BASIC",
		2: "LOAD_BALANCER_SKU_STANDARD",
	}
	LoadBalancerSku_value = map[string]int32{
		"LOAD_BALANCER_SKU_UNSPECIFIED": 0,
		"LOAD_BALANCER_SKU_BASIC":       1,
		"LOAD_BALANCER_SKU_STANDARD":    2,
	}
)

Enum value maps for LoadBalancerSku.

View Source
var (
	WorkloadRuntime_name = map[int32]string{
		0: "WR_UNSPECIFIED",
		1: "OCI_CONTAINER",
		2: "WASM_WASI",
	}
	WorkloadRuntime_value = map[string]int32{
		"WR_UNSPECIFIED": 0,
		"OCI_CONTAINER":  1,
		"WASM_WASI":      2,
	}
)

Enum value maps for WorkloadRuntime.

View Source
var (
	FeatureState_name = map[int32]string{
		0: "FEATURE_STATE_UNSPECIFIED",
		1: "FEATURE_STATE_ENABLED",
		2: "FEATURE_STATE_DISABLED",
	}
	FeatureState_value = map[string]int32{
		"FEATURE_STATE_UNSPECIFIED": 0,
		"FEATURE_STATE_ENABLED":     1,
		"FEATURE_STATE_DISABLED":    2,
	}
)

Enum value maps for FeatureState.

View Source
var (
	KubeletDiskType_name = map[int32]string{
		0: "KUBELET_DISK_TYPE_UNSPECIFIED",
		1: "KUBELET_DISK_TYPE_OS_DISK",
		2: "KUBELET_DISK_TYPE_TEMP_DISK",
	}
	KubeletDiskType_value = map[string]int32{
		"KUBELET_DISK_TYPE_UNSPECIFIED": 0,
		"KUBELET_DISK_TYPE_OS_DISK":     1,
		"KUBELET_DISK_TYPE_TEMP_DISK":   2,
	}
)

Enum value maps for KubeletDiskType.

View Source
var (
	NetworkModeType_name = map[int32]string{
		0: "NETWORK_MODE_UNSPECIFIED",
		1: "NETWORK_MODE_L2BRIDGE",
		2: "NETWORK_MODE_TRANSPARENT",
	}
	NetworkModeType_value = map[string]int32{
		"NETWORK_MODE_UNSPECIFIED": 0,
		"NETWORK_MODE_L2BRIDGE":    1,
		"NETWORK_MODE_TRANSPARENT": 2,
	}
)

Enum value maps for NetworkModeType.

View Source
var (
	NetworkPluginType_name = map[int32]string{
		0: "NETWORK_PLUGIN_TYPE_UNSPECIFIED",
		1: "NETWORK_PLUGIN_TYPE_NONE",
		2: "NETWORK_PLUGIN_TYPE_AZURE",
		3: "NETWORK_PLUGIN_TYPE_KUBENET",
	}
	NetworkPluginType_value = map[string]int32{
		"NETWORK_PLUGIN_TYPE_UNSPECIFIED": 0,
		"NETWORK_PLUGIN_TYPE_NONE":        1,
		"NETWORK_PLUGIN_TYPE_AZURE":       2,
		"NETWORK_PLUGIN_TYPE_KUBENET":     3,
	}
)

Enum value maps for NetworkPluginType.

View Source
var (
	NetworkPolicyType_name = map[int32]string{
		0: "NETWORK_POLICY_TYPE_UNSPECIFIED",
		1: "NETWORK_POLICY_TYPE_NONE",
		2: "NETWORK_POLICY_TYPE_AZURE",
		3: "NETWORK_POLICY_TYPE_CALICO",
	}
	NetworkPolicyType_value = map[string]int32{
		"NETWORK_POLICY_TYPE_UNSPECIFIED": 0,
		"NETWORK_POLICY_TYPE_NONE":        1,
		"NETWORK_POLICY_TYPE_AZURE":       2,
		"NETWORK_POLICY_TYPE_CALICO":      3,
	}
)

Enum value maps for NetworkPolicyType.

View Source
var File_pkg_proto_nbcontract_v1_apiserverconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_authconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_clusterconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_config_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_containerdconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_customcloudconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_customlinuxosconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_customsearchdomainconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_featurestate_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_gpuconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_httpproxyconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_kubebinaryconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_kubeletconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_networkconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_runcconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_teleportconfig_proto protoreflect.FileDescriptor
View Source
var File_pkg_proto_nbcontract_v1_tlsbootstrappingconfig_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApiServerConfig

type ApiServerConfig struct {
	ApiserverPublicKey string `protobuf:"bytes,1,opt,name=apiserver_public_key,json=apiserverPublicKey,proto3" json:"apiserver_public_key,omitempty"`
	ApiserverName      string `protobuf:"bytes,2,opt,name=apiserver_name,json=apiserverName,proto3" json:"apiserver_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiServerConfig) Descriptor deprecated

func (*ApiServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ApiServerConfig.ProtoReflect.Descriptor instead.

func (*ApiServerConfig) GetApiserverName added in v0.20231107.0

func (x *ApiServerConfig) GetApiserverName() string

func (*ApiServerConfig) GetApiserverPublicKey added in v0.20231107.0

func (x *ApiServerConfig) GetApiserverPublicKey() string

func (*ApiServerConfig) ProtoMessage

func (*ApiServerConfig) ProtoMessage()

func (*ApiServerConfig) ProtoReflect

func (x *ApiServerConfig) ProtoReflect() protoreflect.Message

func (*ApiServerConfig) Reset

func (x *ApiServerConfig) Reset()

func (*ApiServerConfig) String

func (x *ApiServerConfig) String() string

type AuthConfig

type AuthConfig struct {
	TargetCloud            string `protobuf:"bytes,1,opt,name=target_cloud,json=targetCloud,proto3" json:"target_cloud,omitempty"` // set to cloud, default to AzurePublicCloud
	TenantId               string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	SubscriptionId         string `protobuf:"bytes,3,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	ServicePrincipalId     string `protobuf:"bytes,4,opt,name=service_principal_id,json=servicePrincipalId,proto3" json:"service_principal_id,omitempty"` // set to aadClientId
	ServicePrincipalSecret string ``                                                                                                                      // set to aadClientSecret
	/* 129-byte string literal not displayed */
	AssignedIdentityId          string `protobuf:"bytes,6,opt,name=assigned_identity_id,json=assignedIdentityId,proto3" json:"assigned_identity_id,omitempty"` //could be user or system assigned, depending on the type
	UseManagedIdentityExtension bool   ``                                                                                                                      // default to false
	/* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Auth Config fields stored in azure.json used by cloud-provider-azure

func (*AuthConfig) Descriptor deprecated

func (*AuthConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthConfig.ProtoReflect.Descriptor instead.

func (*AuthConfig) GetAssignedIdentityId

func (x *AuthConfig) GetAssignedIdentityId() string

func (*AuthConfig) GetServicePrincipalId

func (x *AuthConfig) GetServicePrincipalId() string

func (*AuthConfig) GetServicePrincipalSecret

func (x *AuthConfig) GetServicePrincipalSecret() string

func (*AuthConfig) GetSubscriptionId

func (x *AuthConfig) GetSubscriptionId() string

func (*AuthConfig) GetTargetCloud added in v0.20240401.0

func (x *AuthConfig) GetTargetCloud() string

func (*AuthConfig) GetTenantId

func (x *AuthConfig) GetTenantId() string

func (*AuthConfig) GetUseManagedIdentityExtension

func (x *AuthConfig) GetUseManagedIdentityExtension() bool

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) ProtoReflect

func (x *AuthConfig) ProtoReflect() protoreflect.Message

func (*AuthConfig) Reset

func (x *AuthConfig) Reset()

func (*AuthConfig) String

func (x *AuthConfig) String() string

type ClusterConfig

type ClusterConfig struct {
	ResourceGroup          string                `protobuf:"bytes,1,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
	Location               string                `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	VmType                 VmType                `protobuf:"varint,3,opt,name=vm_type,json=vmType,proto3,enum=nbcontract.v1.VmType" json:"vm_type,omitempty"` // default to standard for v1.27 and below versions and vmss for v1.28+ versions
	PrimaryAvailabilitySet string                ``                                                                                                           /* 129-byte string literal not displayed */
	PrimaryScaleSet        string                `protobuf:"bytes,5,opt,name=primary_scale_set,json=primaryScaleSet,proto3" json:"primary_scale_set,omitempty"`
	VirtualNetworkConfig   *ClusterNetworkConfig `protobuf:"bytes,6,opt,name=virtual_network_config,json=virtualNetworkConfig,proto3" json:"virtual_network_config,omitempty"`
	UseInstanceMetadata    bool                  `protobuf:"varint,7,opt,name=use_instance_metadata,json=useInstanceMetadata,proto3" json:"use_instance_metadata,omitempty"` // default to false
	LoadBalancerConfig     *LoadBalancerConfig   `protobuf:"bytes,8,opt,name=load_balancer_config,json=loadBalancerConfig,proto3" json:"load_balancer_config,omitempty"`
	// contains filtered or unexported fields
}

Cluster Config fields stored in azure.json used by cloud-provider-azure

func (*ClusterConfig) Descriptor deprecated

func (*ClusterConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetLoadBalancerConfig

func (x *ClusterConfig) GetLoadBalancerConfig() *LoadBalancerConfig

func (*ClusterConfig) GetLocation

func (x *ClusterConfig) GetLocation() string

func (*ClusterConfig) GetPrimaryAvailabilitySet

func (x *ClusterConfig) GetPrimaryAvailabilitySet() string

func (*ClusterConfig) GetPrimaryScaleSet

func (x *ClusterConfig) GetPrimaryScaleSet() string

func (*ClusterConfig) GetResourceGroup

func (x *ClusterConfig) GetResourceGroup() string

func (*ClusterConfig) GetUseInstanceMetadata

func (x *ClusterConfig) GetUseInstanceMetadata() bool

func (*ClusterConfig) GetVirtualNetworkConfig added in v0.20240401.0

func (x *ClusterConfig) GetVirtualNetworkConfig() *ClusterNetworkConfig

func (*ClusterConfig) GetVmType

func (x *ClusterConfig) GetVmType() VmType

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

func (x *ClusterConfig) ProtoReflect() protoreflect.Message

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	VnetName          string `protobuf:"bytes,1,opt,name=vnet_name,json=vnetName,proto3" json:"vnet_name,omitempty"`
	VnetResourceGroup string `protobuf:"bytes,2,opt,name=vnet_resource_group,json=vnetResourceGroup,proto3" json:"vnet_resource_group,omitempty"`
	Subnet            string `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
	SecurityGroupName string `protobuf:"bytes,4,opt,name=security_group_name,json=securityGroupName,proto3" json:"security_group_name,omitempty"`
	RouteTable        string `protobuf:"bytes,5,opt,name=route_table,json=routeTable,proto3" json:"route_table,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterNetworkConfig) Descriptor deprecated

func (*ClusterNetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClusterNetworkConfig.ProtoReflect.Descriptor instead.

func (*ClusterNetworkConfig) GetRouteTable

func (x *ClusterNetworkConfig) GetRouteTable() string

func (*ClusterNetworkConfig) GetSecurityGroupName

func (x *ClusterNetworkConfig) GetSecurityGroupName() string

func (*ClusterNetworkConfig) GetSubnet

func (x *ClusterNetworkConfig) GetSubnet() string

func (*ClusterNetworkConfig) GetVnetName

func (x *ClusterNetworkConfig) GetVnetName() string

func (*ClusterNetworkConfig) GetVnetResourceGroup

func (x *ClusterNetworkConfig) GetVnetResourceGroup() string

func (*ClusterNetworkConfig) ProtoMessage

func (*ClusterNetworkConfig) ProtoMessage()

func (*ClusterNetworkConfig) ProtoReflect

func (x *ClusterNetworkConfig) ProtoReflect() protoreflect.Message

func (*ClusterNetworkConfig) Reset

func (x *ClusterNetworkConfig) Reset()

func (*ClusterNetworkConfig) String

func (x *ClusterNetworkConfig) String() string

type Configuration

type Configuration struct {

	// System Configuration
	ClusterCertificateAuthority string                  `` /* 144-byte string literal not displayed */
	TlsBootstrappingConfig      *TLSBootstrappingConfig `` /* 129-byte string literal not displayed */
	// cluster/user config
	KubernetesVersion string             `protobuf:"bytes,3,opt,name=kubernetes_version,json=kubernetesVersion,proto3" json:"kubernetes_version,omitempty"` // Q: can this be auto-detected? Or is this part of specifying the desired node version?
	KubeBinaryConfig  *KubeBinaryConfig  `protobuf:"bytes,4,opt,name=kube_binary_config,json=kubeBinaryConfig,proto3" json:"kube_binary_config,omitempty"`
	CustomCloudConfig *CustomCloudConfig `protobuf:"bytes,5,opt,name=custom_cloud_config,json=customCloudConfig,proto3,oneof" json:"custom_cloud_config,omitempty"`
	KubeproxyUrl      string             `protobuf:"bytes,6,opt,name=kubeproxy_url,json=kubeproxyUrl,proto3" json:"kubeproxy_url,omitempty"`
	ApiserverConfig   *ApiServerConfig   `protobuf:"bytes,7,opt,name=apiserver_config,json=apiserverConfig,proto3" json:"apiserver_config,omitempty"`
	ClusterConfig     *ClusterConfig     `protobuf:"bytes,14,opt,name=cluster_config,json=clusterConfig,proto3" json:"cluster_config,omitempty"`
	AuthConfig        *AuthConfig        `protobuf:"bytes,15,opt,name=auth_config,json=authConfig,proto3" json:"auth_config,omitempty"`
	RuncConfig        *RuncConfig        `protobuf:"bytes,16,opt,name=runc_config,json=runcConfig,proto3" json:"runc_config,omitempty"`
	VmSize            string             `protobuf:"bytes,17,opt,name=vm_size,json=vmSize,proto3" json:"vm_size,omitempty"`
	// ... and a bunch of user-specified config
	LinuxAdminUsername string            `protobuf:"bytes,18,opt,name=linux_admin_username,json=linuxAdminUsername,proto3" json:"linux_admin_username,omitempty"`
	ContainerdConfig   *ContainerdConfig `protobuf:"bytes,22,opt,name=containerd_config,json=containerdConfig,proto3" json:"containerd_config,omitempty"`
	IsVhd              bool              `protobuf:"varint,23,opt,name=is_vhd,json=isVhd,proto3" json:"is_vhd,omitempty"`
	NetworkConfig      *NetworkConfig    `protobuf:"bytes,24,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
	TeleportConfig     *TeleportConfig   `protobuf:"bytes,26,opt,name=teleport_config,json=teleportConfig,proto3" json:"teleport_config,omitempty"`
	// enable_ssh specifies whether SSH is enabled or disabled on the VM node
	EnableSsh bool `protobuf:"varint,27,opt,name=enable_ssh,json=enableSsh,proto3" json:"enable_ssh,omitempty"`
	// enable_unattended_upgrade specifies whether unattended upgrade is enabled or disabled on the VM node
	EnableUnattendedUpgrade bool `` /* 134-byte string literal not displayed */
	// message_of_the_day specifies the message of the day that is displayed on the VM node when a user logs in
	MessageOfTheDay string `protobuf:"bytes,29,opt,name=message_of_the_day,json=messageOfTheDay,proto3" json:"message_of_the_day,omitempty"`
	// kubelet_config specifies the kubelet configuration
	KubeletConfig *KubeletConfig `protobuf:"bytes,31,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
	// enable_hosts_config_agent specifies whether the hosts config agent is enabled or disabled on the VM node
	EnableHostsConfigAgent bool `` /* 133-byte string literal not displayed */
	// custom_ca_certs specifies the custom CA certificates
	CustomCaCerts []string `protobuf:"bytes,33,rep,name=custom_ca_certs,json=customCaCerts,proto3" json:"custom_ca_certs,omitempty"`
	// provision_output specifies where cluster provision cse output should be stored at
	ProvisionOutput string `protobuf:"bytes,34,opt,name=provision_output,json=provisionOutput,proto3" json:"provision_output,omitempty"`
	// workload_runtime describes the workload runtime, e.g., either "OCIContainer" or "WasmWasi", currently.
	WorkloadRuntime WorkloadRuntime `` /* 143-byte string literal not displayed */
	// ipv6_dual_stack_enabled specifies whether IPv6 dual stack is enabled or disabled on the VM node
	Ipv6DualStackEnabled bool `` /* 127-byte string literal not displayed */
	// outbound_command specifies the command to use for outbound traffic
	OutboundCommand string `protobuf:"bytes,43,opt,name=outbound_command,json=outboundCommand,proto3" json:"outbound_command,omitempty"`
	// ensure_no_dupe_promiscuous_bridge specifies whether to ensure no duplicate promiscuous bridge
	EnsureNoDupePromiscuousBridge bool `` /* 156-byte string literal not displayed */
	// custom_search_domain specifies the custom search domain configurations
	CustomSearchDomain *CustomSearchDomain `protobuf:"bytes,46,opt,name=custom_search_domain,json=customSearchDomain,proto3" json:"custom_search_domain,omitempty"`
	// custom_linux_os_config specifies the custom Linux OS configurations including SwapFile, SysCtl configs, etc.
	CustomLinuxOsConfig *CustomLinuxOSConfig `protobuf:"bytes,47,opt,name=custom_linux_os_config,json=customLinuxOsConfig,proto3" json:"custom_linux_os_config,omitempty"`
	// azure_private_registry_server specifies the Azure private registry server
	AzurePrivateRegistryServer string `` /* 144-byte string literal not displayed */
	// private_egress_proxy_address specifies the private egress proxy address
	PrivateEgressProxyAddress string `` /* 141-byte string literal not displayed */
	// enable_artifact_streaming specifies whether artifact streaming is enabled or disabled on the VM node
	EnableArtifactStreaming bool `` /* 134-byte string literal not displayed */
	// is_kata specifies whether the node is a Kata node
	IsKata bool `protobuf:"varint,59,opt,name=is_kata,json=isKata,proto3" json:"is_kata,omitempty"`
	// needs_cgroupv2 specifies whether the node needs cgroupv2
	// when we actually work on the go binary, we should be able to query from the system. By then we can remove this.
	NeedsCgroupv2 bool `protobuf:"varint,60,opt,name=needs_cgroupv2,json=needsCgroupv2,proto3" json:"needs_cgroupv2,omitempty"`
	// Here begins the final contract
	HttpProxyConfig *HTTPProxyConfig `protobuf:"bytes,61,opt,name=http_proxy_config,json=httpProxyConfig,proto3,oneof" json:"http_proxy_config,omitempty"`
	GpuConfig       *GPUConfig       `protobuf:"bytes,62,opt,name=gpu_config,json=gpuConfig,proto3,oneof" json:"gpu_config,omitempty"`
	// contains filtered or unexported fields
}

illustrative division only

func (*Configuration) Descriptor deprecated

func (*Configuration) Descriptor() ([]byte, []int)

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetApiserverConfig added in v0.20231107.0

func (x *Configuration) GetApiserverConfig() *ApiServerConfig

func (*Configuration) GetAuthConfig

func (x *Configuration) GetAuthConfig() *AuthConfig

func (*Configuration) GetAzurePrivateRegistryServer

func (x *Configuration) GetAzurePrivateRegistryServer() string

func (*Configuration) GetClusterCertificateAuthority added in v0.20231107.0

func (x *Configuration) GetClusterCertificateAuthority() string

func (*Configuration) GetClusterConfig

func (x *Configuration) GetClusterConfig() *ClusterConfig

func (*Configuration) GetContainerdConfig

func (x *Configuration) GetContainerdConfig() *ContainerdConfig

func (*Configuration) GetCustomCaCerts

func (x *Configuration) GetCustomCaCerts() []string

func (*Configuration) GetCustomCloudConfig

func (x *Configuration) GetCustomCloudConfig() *CustomCloudConfig

func (*Configuration) GetCustomLinuxOsConfig

func (x *Configuration) GetCustomLinuxOsConfig() *CustomLinuxOSConfig

func (*Configuration) GetCustomSearchDomain added in v0.20231113.1

func (x *Configuration) GetCustomSearchDomain() *CustomSearchDomain

func (*Configuration) GetEnableArtifactStreaming

func (x *Configuration) GetEnableArtifactStreaming() bool

func (*Configuration) GetEnableHostsConfigAgent

func (x *Configuration) GetEnableHostsConfigAgent() bool

func (*Configuration) GetEnableSsh

func (x *Configuration) GetEnableSsh() bool

func (*Configuration) GetEnableUnattendedUpgrade

func (x *Configuration) GetEnableUnattendedUpgrade() bool

func (*Configuration) GetEnsureNoDupePromiscuousBridge

func (x *Configuration) GetEnsureNoDupePromiscuousBridge() bool

func (*Configuration) GetGpuConfig

func (x *Configuration) GetGpuConfig() *GPUConfig

func (*Configuration) GetHttpProxyConfig

func (x *Configuration) GetHttpProxyConfig() *HTTPProxyConfig

func (*Configuration) GetIpv6DualStackEnabled

func (x *Configuration) GetIpv6DualStackEnabled() bool

func (*Configuration) GetIsKata

func (x *Configuration) GetIsKata() bool

func (*Configuration) GetIsVhd

func (x *Configuration) GetIsVhd() bool

func (*Configuration) GetKubeBinaryConfig

func (x *Configuration) GetKubeBinaryConfig() *KubeBinaryConfig

func (*Configuration) GetKubeletConfig

func (x *Configuration) GetKubeletConfig() *KubeletConfig

func (*Configuration) GetKubeproxyUrl added in v0.20231107.0

func (x *Configuration) GetKubeproxyUrl() string

func (*Configuration) GetKubernetesVersion

func (x *Configuration) GetKubernetesVersion() string

func (*Configuration) GetLinuxAdminUsername

func (x *Configuration) GetLinuxAdminUsername() string

func (*Configuration) GetMessageOfTheDay

func (x *Configuration) GetMessageOfTheDay() string

func (*Configuration) GetNeedsCgroupv2

func (x *Configuration) GetNeedsCgroupv2() bool

func (*Configuration) GetNetworkConfig

func (x *Configuration) GetNetworkConfig() *NetworkConfig

func (*Configuration) GetOutboundCommand

func (x *Configuration) GetOutboundCommand() string

func (*Configuration) GetPrivateEgressProxyAddress

func (x *Configuration) GetPrivateEgressProxyAddress() string

func (*Configuration) GetProvisionOutput

func (x *Configuration) GetProvisionOutput() string

func (*Configuration) GetRuncConfig

func (x *Configuration) GetRuncConfig() *RuncConfig

func (*Configuration) GetTeleportConfig

func (x *Configuration) GetTeleportConfig() *TeleportConfig

func (*Configuration) GetTlsBootstrappingConfig

func (x *Configuration) GetTlsBootstrappingConfig() *TLSBootstrappingConfig

func (*Configuration) GetVmSize

func (x *Configuration) GetVmSize() string

func (*Configuration) GetWorkloadRuntime

func (x *Configuration) GetWorkloadRuntime() WorkloadRuntime

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect

func (x *Configuration) ProtoReflect() protoreflect.Message

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

type ContainerdConfig

type ContainerdConfig struct {
	ContainerdDownloadUrlBase string `` /* 140-byte string literal not displayed */
	ContainerdVersion         string `protobuf:"bytes,2,opt,name=containerd_version,json=containerdVersion,proto3" json:"containerd_version,omitempty"`
	ContainerdPackageUrl      string `protobuf:"bytes,3,opt,name=containerd_package_url,json=containerdPackageUrl,proto3" json:"containerd_package_url,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerdConfig) Descriptor deprecated

func (*ContainerdConfig) Descriptor() ([]byte, []int)

Deprecated: Use ContainerdConfig.ProtoReflect.Descriptor instead.

func (*ContainerdConfig) GetContainerdDownloadUrlBase

func (x *ContainerdConfig) GetContainerdDownloadUrlBase() string

func (*ContainerdConfig) GetContainerdPackageUrl

func (x *ContainerdConfig) GetContainerdPackageUrl() string

func (*ContainerdConfig) GetContainerdVersion

func (x *ContainerdConfig) GetContainerdVersion() string

func (*ContainerdConfig) ProtoMessage

func (*ContainerdConfig) ProtoMessage()

func (*ContainerdConfig) ProtoReflect

func (x *ContainerdConfig) ProtoReflect() protoreflect.Message

func (*ContainerdConfig) Reset

func (x *ContainerdConfig) Reset()

func (*ContainerdConfig) String

func (x *ContainerdConfig) String() string

type CustomCloudConfig

type CustomCloudConfig struct {

	// Status shows whether CustomCloudConfig is enabled or not
	Status *FeatureState `protobuf:"varint,1,opt,name=status,proto3,enum=nbcontract.v1.FeatureState,oneof" json:"status,omitempty"`
	// InitFilePath is the path to the file that contains the init script
	InitFilePath *string `protobuf:"bytes,2,opt,name=init_file_path,json=initFilePath,proto3,oneof" json:"init_file_path,omitempty"`
	// RepoDepotEndpoint is the endpoint of the repo depot
	RepoDepotEndpoint    *string `protobuf:"bytes,3,opt,name=repo_depot_endpoint,json=repoDepotEndpoint,proto3,oneof" json:"repo_depot_endpoint,omitempty"`
	TargetEnvironment    string  `protobuf:"bytes,4,opt,name=target_environment,json=targetEnvironment,proto3" json:"target_environment,omitempty"`
	CustomEnvJsonContent string  `protobuf:"bytes,5,opt,name=custom_env_json_content,json=customEnvJsonContent,proto3" json:"custom_env_json_content,omitempty"` // can be generated on the VHD, also rename
	// contains filtered or unexported fields
}

func (*CustomCloudConfig) Descriptor deprecated

func (*CustomCloudConfig) Descriptor() ([]byte, []int)

Deprecated: Use CustomCloudConfig.ProtoReflect.Descriptor instead.

func (*CustomCloudConfig) GetCustomEnvJsonContent

func (x *CustomCloudConfig) GetCustomEnvJsonContent() string

func (*CustomCloudConfig) GetInitFilePath added in v0.20240313.0

func (x *CustomCloudConfig) GetInitFilePath() string

func (*CustomCloudConfig) GetRepoDepotEndpoint

func (x *CustomCloudConfig) GetRepoDepotEndpoint() string

func (*CustomCloudConfig) GetStatus added in v0.20240313.0

func (x *CustomCloudConfig) GetStatus() FeatureState

func (*CustomCloudConfig) GetTargetEnvironment added in v0.20231113.1

func (x *CustomCloudConfig) GetTargetEnvironment() string

func (*CustomCloudConfig) ProtoMessage

func (*CustomCloudConfig) ProtoMessage()

func (*CustomCloudConfig) ProtoReflect

func (x *CustomCloudConfig) ProtoReflect() protoreflect.Message

func (*CustomCloudConfig) Reset

func (x *CustomCloudConfig) Reset()

func (*CustomCloudConfig) String

func (x *CustomCloudConfig) String() string

type CustomLinuxOSConfig

type CustomLinuxOSConfig struct {

	// Enable or disable swap configuration
	EnableSwapConfig bool `protobuf:"varint,1,opt,name=enable_swap_config,json=enableSwapConfig,proto3" json:"enable_swap_config,omitempty"`
	// The size in MB of a swap file that will be created on each node
	SwapFileSize int32 `protobuf:"varint,2,opt,name=swap_file_size,json=swapFileSize,proto3" json:"swap_file_size,omitempty"`
	// Valid values are "always", "defer", "defer+madvise", "madvise" and "never"
	// If it's unset or set to empty string, it will use the default value in the VHD "always"
	TransparentHugepageSupport string `` /* 141-byte string literal not displayed */
	// Valid values are "always", "madvise" and "never"
	// If it's unset or set to empty string, it will use the default value in the VHD "madvise"
	TransparentDefrag string `protobuf:"bytes,4,opt,name=transparent_defrag,json=transparentDefrag,proto3" json:"transparent_defrag,omitempty"`
	// Sysctl settings for Linux agent nodes
	SysctlConfig *SysctlConfig `protobuf:"bytes,5,opt,name=sysctl_config,json=sysctlConfig,proto3" json:"sysctl_config,omitempty"`
	// Ulimit settings for Linux agent nodes
	UlimitConfig *UlimitConfig `protobuf:"bytes,6,opt,name=ulimit_config,json=ulimitConfig,proto3" json:"ulimit_config,omitempty"`
	// contains filtered or unexported fields
}

Custom Linux Node OS Config

func (*CustomLinuxOSConfig) Descriptor deprecated

func (*CustomLinuxOSConfig) Descriptor() ([]byte, []int)

Deprecated: Use CustomLinuxOSConfig.ProtoReflect.Descriptor instead.

func (*CustomLinuxOSConfig) GetEnableSwapConfig

func (x *CustomLinuxOSConfig) GetEnableSwapConfig() bool

func (*CustomLinuxOSConfig) GetSwapFileSize

func (x *CustomLinuxOSConfig) GetSwapFileSize() int32

func (*CustomLinuxOSConfig) GetSysctlConfig

func (x *CustomLinuxOSConfig) GetSysctlConfig() *SysctlConfig

func (*CustomLinuxOSConfig) GetTransparentDefrag

func (x *CustomLinuxOSConfig) GetTransparentDefrag() string

func (*CustomLinuxOSConfig) GetTransparentHugepageSupport

func (x *CustomLinuxOSConfig) GetTransparentHugepageSupport() string

func (*CustomLinuxOSConfig) GetUlimitConfig

func (x *CustomLinuxOSConfig) GetUlimitConfig() *UlimitConfig

func (*CustomLinuxOSConfig) ProtoMessage

func (*CustomLinuxOSConfig) ProtoMessage()

func (*CustomLinuxOSConfig) ProtoReflect

func (x *CustomLinuxOSConfig) ProtoReflect() protoreflect.Message

func (*CustomLinuxOSConfig) Reset

func (x *CustomLinuxOSConfig) Reset()

func (*CustomLinuxOSConfig) String

func (x *CustomLinuxOSConfig) String() string

type CustomSearchDomain added in v0.20231113.1

type CustomSearchDomain struct {

	// The name of the custom search domain.
	CustomSearchDomainName string `` /* 131-byte string literal not displayed */
	// The user name for the custom search domain.
	CustomSearchDomainRealmUser string `` /* 148-byte string literal not displayed */
	// The password for the custom search domain.
	CustomSearchDomainRealmPassword string `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CustomSearchDomain) Descriptor deprecated added in v0.20231113.1

func (*CustomSearchDomain) Descriptor() ([]byte, []int)

Deprecated: Use CustomSearchDomain.ProtoReflect.Descriptor instead.

func (*CustomSearchDomain) GetCustomSearchDomainName added in v0.20231113.1

func (x *CustomSearchDomain) GetCustomSearchDomainName() string

func (*CustomSearchDomain) GetCustomSearchDomainRealmPassword added in v0.20231113.1

func (x *CustomSearchDomain) GetCustomSearchDomainRealmPassword() string

func (*CustomSearchDomain) GetCustomSearchDomainRealmUser added in v0.20231113.1

func (x *CustomSearchDomain) GetCustomSearchDomainRealmUser() string

func (*CustomSearchDomain) ProtoMessage added in v0.20231113.1

func (*CustomSearchDomain) ProtoMessage()

func (*CustomSearchDomain) ProtoReflect added in v0.20231113.1

func (x *CustomSearchDomain) ProtoReflect() protoreflect.Message

func (*CustomSearchDomain) Reset added in v0.20231113.1

func (x *CustomSearchDomain) Reset()

func (*CustomSearchDomain) String added in v0.20231113.1

func (x *CustomSearchDomain) String() string

type FeatureState added in v0.20231107.0

type FeatureState int32
const (
	FeatureState_FEATURE_STATE_UNSPECIFIED FeatureState = 0
	FeatureState_FEATURE_STATE_ENABLED     FeatureState = 1
	FeatureState_FEATURE_STATE_DISABLED    FeatureState = 2
)

func (FeatureState) Descriptor added in v0.20231107.0

func (FeatureState) Enum added in v0.20231107.0

func (x FeatureState) Enum() *FeatureState

func (FeatureState) EnumDescriptor deprecated added in v0.20231107.0

func (FeatureState) EnumDescriptor() ([]byte, []int)

Deprecated: Use FeatureState.Descriptor instead.

func (FeatureState) Number added in v0.20231107.0

func (FeatureState) String added in v0.20231107.0

func (x FeatureState) String() string

func (FeatureState) Type added in v0.20231107.0

type GPUConfig

type GPUConfig struct {

	// NvidiaState represents the Nvidia GPU state
	NvidiaState *FeatureState `` /* 133-byte string literal not displayed */
	// ConfigGpuDriver specifies whether bootstrap process should install and configure the GPU driver when necessary. Configuration includes appropriate set up of components like the fabric manager where applicable.
	ConfigGpuDriver *FeatureState `` /* 147-byte string literal not displayed */
	// GpuDevicePlugin specifies whether special config is needed for MIG GPUs that use GPU dedicated VHDs and enable the device plugin (for all GPU dedicated VHDs)
	GpuDevicePlugin *FeatureState `` /* 147-byte string literal not displayed */
	// GpuInstanceProfile represents the GPU instance profile.
	GpuInstanceProfile *string `protobuf:"bytes,4,opt,name=gpu_instance_profile,json=gpuInstanceProfile,proto3,oneof" json:"gpu_instance_profile,omitempty"`
	// GpuImageSha represents AKS-GPU image's SHA
	GpuImageSha *string `protobuf:"bytes,5,opt,name=gpu_image_sha,json=gpuImageSha,proto3,oneof" json:"gpu_image_sha,omitempty"`
	// contains filtered or unexported fields
}

func (*GPUConfig) Descriptor deprecated

func (*GPUConfig) Descriptor() ([]byte, []int)

Deprecated: Use GPUConfig.ProtoReflect.Descriptor instead.

func (*GPUConfig) GetConfigGpuDriver

func (x *GPUConfig) GetConfigGpuDriver() FeatureState

func (*GPUConfig) GetGpuDevicePlugin

func (x *GPUConfig) GetGpuDevicePlugin() FeatureState

func (*GPUConfig) GetGpuImageSha added in v0.20240219.0

func (x *GPUConfig) GetGpuImageSha() string

func (*GPUConfig) GetGpuInstanceProfile

func (x *GPUConfig) GetGpuInstanceProfile() string

func (*GPUConfig) GetNvidiaState added in v0.20240103.0

func (x *GPUConfig) GetNvidiaState() FeatureState

func (*GPUConfig) ProtoMessage

func (*GPUConfig) ProtoMessage()

func (*GPUConfig) ProtoReflect

func (x *GPUConfig) ProtoReflect() protoreflect.Message

func (*GPUConfig) Reset

func (x *GPUConfig) Reset()

func (*GPUConfig) String

func (x *GPUConfig) String() string

type HTTPProxyConfig

type HTTPProxyConfig struct {

	// HTTPProxy represents the proxy endpoint/URL using HTTP, that the traffic should go through for making HTTP connections outside the cluster
	HttpProxy string `protobuf:"bytes,1,opt,name=http_proxy,json=httpProxy,proto3" json:"http_proxy,omitempty"`
	// HTTPSProxy represents the proxy endpoint/URL using HTTPS, that the traffic should go through for making HTTPS connections outside the cluster
	HttpsProxy string `protobuf:"bytes,2,opt,name=https_proxy,json=httpsProxy,proto3" json:"https_proxy,omitempty"`
	// NoProxy represents a list of entries including IPs, domains, or other network CIDRs that should not be accessed through the proxy
	NoProxyEntries []string `protobuf:"bytes,3,rep,name=no_proxy_entries,json=noProxyEntries,proto3" json:"no_proxy_entries,omitempty"`
	// TrustedCA repesents alternative CA certificate content
	ProxyTrustedCa *string `protobuf:"bytes,4,opt,name=proxy_trusted_ca,json=proxyTrustedCa,proto3,oneof" json:"proxy_trusted_ca,omitempty"`
	// Status shows whether HTTP/HTTPS Proxy is enabled or disabled
	// we can remove this variable because it's computed from the other variables
	Status *FeatureState `protobuf:"varint,5,opt,name=status,proto3,enum=nbcontract.v1.FeatureState,oneof" json:"status,omitempty"`
	// CaStatus shows whether HTTP/HTTPS Proxy certificate authority (CA) is enabled or disabled
	// we can remove this variable because it's computed from the other variables
	CaStatus *FeatureState `protobuf:"varint,6,opt,name=ca_status,json=caStatus,proto3,enum=nbcontract.v1.FeatureState,oneof" json:"ca_status,omitempty"`
	// contains filtered or unexported fields
}

func (*HTTPProxyConfig) Descriptor deprecated

func (*HTTPProxyConfig) Descriptor() ([]byte, []int)

Deprecated: Use HTTPProxyConfig.ProtoReflect.Descriptor instead.

func (*HTTPProxyConfig) GetCaStatus added in v0.20240219.0

func (x *HTTPProxyConfig) GetCaStatus() FeatureState

func (*HTTPProxyConfig) GetHttpProxy

func (x *HTTPProxyConfig) GetHttpProxy() string

func (*HTTPProxyConfig) GetHttpsProxy

func (x *HTTPProxyConfig) GetHttpsProxy() string

func (*HTTPProxyConfig) GetNoProxyEntries

func (x *HTTPProxyConfig) GetNoProxyEntries() []string

func (*HTTPProxyConfig) GetProxyTrustedCa

func (x *HTTPProxyConfig) GetProxyTrustedCa() string

func (*HTTPProxyConfig) GetStatus added in v0.20240219.0

func (x *HTTPProxyConfig) GetStatus() FeatureState

func (*HTTPProxyConfig) ProtoMessage

func (*HTTPProxyConfig) ProtoMessage()

func (*HTTPProxyConfig) ProtoReflect

func (x *HTTPProxyConfig) ProtoReflect() protoreflect.Message

func (*HTTPProxyConfig) Reset

func (x *HTTPProxyConfig) Reset()

func (*HTTPProxyConfig) String

func (x *HTTPProxyConfig) String() string

type KubeBinaryConfig

type KubeBinaryConfig struct {
	KubeBinaryUrl        string `protobuf:"bytes,1,opt,name=kube_binary_url,json=kubeBinaryUrl,proto3" json:"kube_binary_url,omitempty"`                        //default kube binary url
	CustomKubeBinaryUrl  string `protobuf:"bytes,2,opt,name=custom_kube_binary_url,json=customKubeBinaryUrl,proto3" json:"custom_kube_binary_url,omitempty"`    //user's custom kube binary url
	PrivateKubeBinaryUrl string `protobuf:"bytes,3,opt,name=private_kube_binary_url,json=privateKubeBinaryUrl,proto3" json:"private_kube_binary_url,omitempty"` //privately cached kube binary url
	// contains filtered or unexported fields
}

Kube Binary Config

func (*KubeBinaryConfig) Descriptor deprecated

func (*KubeBinaryConfig) Descriptor() ([]byte, []int)

Deprecated: Use KubeBinaryConfig.ProtoReflect.Descriptor instead.

func (*KubeBinaryConfig) GetCustomKubeBinaryUrl

func (x *KubeBinaryConfig) GetCustomKubeBinaryUrl() string

func (*KubeBinaryConfig) GetKubeBinaryUrl

func (x *KubeBinaryConfig) GetKubeBinaryUrl() string

func (*KubeBinaryConfig) GetPrivateKubeBinaryUrl

func (x *KubeBinaryConfig) GetPrivateKubeBinaryUrl() string

func (*KubeBinaryConfig) ProtoMessage

func (*KubeBinaryConfig) ProtoMessage()

func (*KubeBinaryConfig) ProtoReflect

func (x *KubeBinaryConfig) ProtoReflect() protoreflect.Message

func (*KubeBinaryConfig) Reset

func (x *KubeBinaryConfig) Reset()

func (*KubeBinaryConfig) String

func (x *KubeBinaryConfig) String() string

type KubeletConfig

type KubeletConfig struct {

	// TODO(ace): remove these/make api defensible
	KubeletFlags      map[string]string `` /* 185-byte string literal not displayed */
	KubeletNodeLabels map[string]string `` /* 202-byte string literal not displayed */
	Taints            []*Taint          `protobuf:"bytes,3,rep,name=taints,proto3" json:"taints,omitempty"`
	StartupTaints     []*Taint          `protobuf:"bytes,4,rep,name=startup_taints,json=startupTaints,proto3" json:"startup_taints,omitempty"`
	KubeletDiskType   KubeletDiskType   `` /* 144-byte string literal not displayed */
	// kubelet_config_file_content is the content of the kubelet config file.
	KubeletConfigFileContent string `` /* 137-byte string literal not displayed */
	KubeletClientKey         string `protobuf:"bytes,7,opt,name=kubelet_client_key,json=kubeletClientKey,proto3" json:"kubelet_client_key,omitempty"`
	KubeletClientCertContent string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KubeletConfig) Descriptor deprecated

func (*KubeletConfig) Descriptor() ([]byte, []int)

Deprecated: Use KubeletConfig.ProtoReflect.Descriptor instead.

func (*KubeletConfig) GetKubeletClientCertContent

func (x *KubeletConfig) GetKubeletClientCertContent() string

func (*KubeletConfig) GetKubeletClientKey

func (x *KubeletConfig) GetKubeletClientKey() string

func (*KubeletConfig) GetKubeletConfigFileContent

func (x *KubeletConfig) GetKubeletConfigFileContent() string

func (*KubeletConfig) GetKubeletDiskType

func (x *KubeletConfig) GetKubeletDiskType() KubeletDiskType

func (*KubeletConfig) GetKubeletFlags

func (x *KubeletConfig) GetKubeletFlags() map[string]string

func (*KubeletConfig) GetKubeletNodeLabels

func (x *KubeletConfig) GetKubeletNodeLabels() map[string]string

func (*KubeletConfig) GetStartupTaints

func (x *KubeletConfig) GetStartupTaints() []*Taint

func (*KubeletConfig) GetTaints

func (x *KubeletConfig) GetTaints() []*Taint

func (*KubeletConfig) ProtoMessage

func (*KubeletConfig) ProtoMessage()

func (*KubeletConfig) ProtoReflect

func (x *KubeletConfig) ProtoReflect() protoreflect.Message

func (*KubeletConfig) Reset

func (x *KubeletConfig) Reset()

func (*KubeletConfig) String

func (x *KubeletConfig) String() string

type KubeletDiskType added in v0.20231107.0

type KubeletDiskType int32
const (
	KubeletDiskType_KUBELET_DISK_TYPE_UNSPECIFIED KubeletDiskType = 0
	KubeletDiskType_KUBELET_DISK_TYPE_OS_DISK     KubeletDiskType = 1
	KubeletDiskType_KUBELET_DISK_TYPE_TEMP_DISK   KubeletDiskType = 2
)

func (KubeletDiskType) Descriptor added in v0.20231107.0

func (KubeletDiskType) Enum added in v0.20231107.0

func (x KubeletDiskType) Enum() *KubeletDiskType

func (KubeletDiskType) EnumDescriptor deprecated added in v0.20231107.0

func (KubeletDiskType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KubeletDiskType.Descriptor instead.

func (KubeletDiskType) Number added in v0.20231107.0

func (KubeletDiskType) String added in v0.20231107.0

func (x KubeletDiskType) String() string

func (KubeletDiskType) Type added in v0.20231107.0

type LoadBalancerConfig

type LoadBalancerConfig struct {
	LoadBalancerSku LoadBalancerSku `` // default to basic
	/* 144-byte string literal not displayed */
	ExcludeMasterFromStandardLoadBalancer *bool `` // default to true
	/* 187-byte string literal not displayed */
	MaxLoadBalancerRuleCount *int32 `` // default to 148
	/* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LoadBalancerConfig) Descriptor deprecated

func (*LoadBalancerConfig) Descriptor() ([]byte, []int)

Deprecated: Use LoadBalancerConfig.ProtoReflect.Descriptor instead.

func (*LoadBalancerConfig) GetExcludeMasterFromStandardLoadBalancer

func (x *LoadBalancerConfig) GetExcludeMasterFromStandardLoadBalancer() bool

func (*LoadBalancerConfig) GetLoadBalancerSku

func (x *LoadBalancerConfig) GetLoadBalancerSku() LoadBalancerSku

func (*LoadBalancerConfig) GetMaxLoadBalancerRuleCount

func (x *LoadBalancerConfig) GetMaxLoadBalancerRuleCount() int32

func (*LoadBalancerConfig) ProtoMessage

func (*LoadBalancerConfig) ProtoMessage()

func (*LoadBalancerConfig) ProtoReflect

func (x *LoadBalancerConfig) ProtoReflect() protoreflect.Message

func (*LoadBalancerConfig) Reset

func (x *LoadBalancerConfig) Reset()

func (*LoadBalancerConfig) String

func (x *LoadBalancerConfig) String() string

type LoadBalancerSku added in v0.20231107.0

type LoadBalancerSku int32
const (
	LoadBalancerSku_LOAD_BALANCER_SKU_UNSPECIFIED LoadBalancerSku = 0
	LoadBalancerSku_LOAD_BALANCER_SKU_BASIC       LoadBalancerSku = 1
	LoadBalancerSku_LOAD_BALANCER_SKU_STANDARD    LoadBalancerSku = 2
)

func (LoadBalancerSku) Descriptor added in v0.20231107.0

func (LoadBalancerSku) Enum added in v0.20231107.0

func (x LoadBalancerSku) Enum() *LoadBalancerSku

func (LoadBalancerSku) EnumDescriptor deprecated added in v0.20231107.0

func (LoadBalancerSku) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoadBalancerSku.Descriptor instead.

func (LoadBalancerSku) Number added in v0.20231107.0

func (LoadBalancerSku) String added in v0.20231107.0

func (x LoadBalancerSku) String() string

func (LoadBalancerSku) Type added in v0.20231107.0

type NetworkConfig

type NetworkConfig struct {
	NetworkPlugin     NetworkPluginType `` /* 138-byte string literal not displayed */
	NetworkPolicy     NetworkPolicyType `` /* 138-byte string literal not displayed */
	NetworkMode       NetworkModeType   `` /* 130-byte string literal not displayed */
	VnetCniPluginsUrl string            `protobuf:"bytes,4,opt,name=vnet_cni_plugins_url,json=vnetCniPluginsUrl,proto3" json:"vnet_cni_plugins_url,omitempty"`
	CniPluginsUrl     string            `protobuf:"bytes,5,opt,name=cni_plugins_url,json=cniPluginsUrl,proto3" json:"cni_plugins_url,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkConfig) Descriptor deprecated

func (*NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetCniPluginsUrl

func (x *NetworkConfig) GetCniPluginsUrl() string

func (*NetworkConfig) GetNetworkMode added in v0.20231107.0

func (x *NetworkConfig) GetNetworkMode() NetworkModeType

func (*NetworkConfig) GetNetworkPlugin

func (x *NetworkConfig) GetNetworkPlugin() NetworkPluginType

func (*NetworkConfig) GetNetworkPolicy

func (x *NetworkConfig) GetNetworkPolicy() NetworkPolicyType

func (*NetworkConfig) GetVnetCniPluginsUrl

func (x *NetworkConfig) GetVnetCniPluginsUrl() string

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect

func (x *NetworkConfig) ProtoReflect() protoreflect.Message

func (*NetworkConfig) Reset

func (x *NetworkConfig) Reset()

func (*NetworkConfig) String

func (x *NetworkConfig) String() string

type NetworkModeType added in v0.20240219.0

type NetworkModeType int32
const (
	NetworkModeType_NETWORK_MODE_UNSPECIFIED NetworkModeType = 0
	NetworkModeType_NETWORK_MODE_L2BRIDGE    NetworkModeType = 1
	NetworkModeType_NETWORK_MODE_TRANSPARENT NetworkModeType = 2 //could be more. Needs to check.
)

func (NetworkModeType) Descriptor added in v0.20240219.0

func (NetworkModeType) Enum added in v0.20240219.0

func (x NetworkModeType) Enum() *NetworkModeType

func (NetworkModeType) EnumDescriptor deprecated added in v0.20240219.0

func (NetworkModeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkModeType.Descriptor instead.

func (NetworkModeType) Number added in v0.20240219.0

func (NetworkModeType) String added in v0.20240219.0

func (x NetworkModeType) String() string

func (NetworkModeType) Type added in v0.20240219.0

type NetworkPluginType added in v0.20231107.0

type NetworkPluginType int32
const (
	NetworkPluginType_NETWORK_PLUGIN_TYPE_UNSPECIFIED NetworkPluginType = 0
	NetworkPluginType_NETWORK_PLUGIN_TYPE_NONE        NetworkPluginType = 1
	NetworkPluginType_NETWORK_PLUGIN_TYPE_AZURE       NetworkPluginType = 2
	NetworkPluginType_NETWORK_PLUGIN_TYPE_KUBENET     NetworkPluginType = 3
)

func (NetworkPluginType) Descriptor added in v0.20231107.0

func (NetworkPluginType) Enum added in v0.20231107.0

func (NetworkPluginType) EnumDescriptor deprecated added in v0.20231107.0

func (NetworkPluginType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkPluginType.Descriptor instead.

func (NetworkPluginType) Number added in v0.20231107.0

func (NetworkPluginType) String added in v0.20231107.0

func (x NetworkPluginType) String() string

func (NetworkPluginType) Type added in v0.20231107.0

type NetworkPolicyType added in v0.20231107.0

type NetworkPolicyType int32
const (
	NetworkPolicyType_NETWORK_POLICY_TYPE_UNSPECIFIED NetworkPolicyType = 0
	NetworkPolicyType_NETWORK_POLICY_TYPE_NONE        NetworkPolicyType = 1
	NetworkPolicyType_NETWORK_POLICY_TYPE_AZURE       NetworkPolicyType = 2
	NetworkPolicyType_NETWORK_POLICY_TYPE_CALICO      NetworkPolicyType = 3
)

func (NetworkPolicyType) Descriptor added in v0.20231107.0

func (NetworkPolicyType) Enum added in v0.20231107.0

func (NetworkPolicyType) EnumDescriptor deprecated added in v0.20231107.0

func (NetworkPolicyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkPolicyType.Descriptor instead.

func (NetworkPolicyType) Number added in v0.20231107.0

func (NetworkPolicyType) String added in v0.20231107.0

func (x NetworkPolicyType) String() string

func (NetworkPolicyType) Type added in v0.20231107.0

type RuncConfig

type RuncConfig struct {
	RuncVersion    string `protobuf:"bytes,1,opt,name=runc_version,json=runcVersion,proto3" json:"runc_version,omitempty"`
	RuncPackageUrl string `protobuf:"bytes,2,opt,name=runc_package_url,json=runcPackageUrl,proto3" json:"runc_package_url,omitempty"`
	// contains filtered or unexported fields
}

func (*RuncConfig) Descriptor deprecated

func (*RuncConfig) Descriptor() ([]byte, []int)

Deprecated: Use RuncConfig.ProtoReflect.Descriptor instead.

func (*RuncConfig) GetRuncPackageUrl

func (x *RuncConfig) GetRuncPackageUrl() string

func (*RuncConfig) GetRuncVersion

func (x *RuncConfig) GetRuncVersion() string

func (*RuncConfig) ProtoMessage

func (*RuncConfig) ProtoMessage()

func (*RuncConfig) ProtoReflect

func (x *RuncConfig) ProtoReflect() protoreflect.Message

func (*RuncConfig) Reset

func (x *RuncConfig) Reset()

func (*RuncConfig) String

func (x *RuncConfig) String() string

type SysctlConfig

type SysctlConfig struct {

	// using optional here to allow detecting if the field is set or not (explicit presence in proto3)
	NetCoreSomaxconn               *int32  `protobuf:"varint,1,opt,name=NetCoreSomaxconn,proto3,oneof" json:"NetCoreSomaxconn,omitempty"`
	NetCoreNetdevMaxBacklog        *int32  `protobuf:"varint,2,opt,name=NetCoreNetdevMaxBacklog,proto3,oneof" json:"NetCoreNetdevMaxBacklog,omitempty"`
	NetCoreRmemDefault             *int32  `protobuf:"varint,3,opt,name=NetCoreRmemDefault,proto3,oneof" json:"NetCoreRmemDefault,omitempty"`
	NetCoreRmemMax                 *int32  `protobuf:"varint,4,opt,name=NetCoreRmemMax,proto3,oneof" json:"NetCoreRmemMax,omitempty"`
	NetCoreWmemDefault             *int32  `protobuf:"varint,5,opt,name=NetCoreWmemDefault,proto3,oneof" json:"NetCoreWmemDefault,omitempty"`
	NetCoreWmemMax                 *int32  `protobuf:"varint,6,opt,name=NetCoreWmemMax,proto3,oneof" json:"NetCoreWmemMax,omitempty"`
	NetCoreOptmemMax               *int32  `protobuf:"varint,7,opt,name=NetCoreOptmemMax,proto3,oneof" json:"NetCoreOptmemMax,omitempty"`
	NetIpv4TcpMaxSynBacklog        *int32  `protobuf:"varint,8,opt,name=NetIpv4TcpMaxSynBacklog,proto3,oneof" json:"NetIpv4TcpMaxSynBacklog,omitempty"`
	NetIpv4TcpMaxTwBuckets         *int32  `protobuf:"varint,9,opt,name=NetIpv4TcpMaxTwBuckets,proto3,oneof" json:"NetIpv4TcpMaxTwBuckets,omitempty"`
	NetIpv4TcpFinTimeout           *int32  `protobuf:"varint,10,opt,name=NetIpv4TcpFinTimeout,proto3,oneof" json:"NetIpv4TcpFinTimeout,omitempty"`
	NetIpv4TcpKeepaliveTime        *int32  `protobuf:"varint,11,opt,name=NetIpv4TcpKeepaliveTime,proto3,oneof" json:"NetIpv4TcpKeepaliveTime,omitempty"`
	NetIpv4TcpKeepaliveProbes      *int32  `protobuf:"varint,12,opt,name=NetIpv4TcpKeepaliveProbes,proto3,oneof" json:"NetIpv4TcpKeepaliveProbes,omitempty"`
	NetIpv4TcpkeepaliveIntvl       *int32  `protobuf:"varint,13,opt,name=NetIpv4TcpkeepaliveIntvl,proto3,oneof" json:"NetIpv4TcpkeepaliveIntvl,omitempty"`
	NetIpv4TcpTwReuse              *bool   `protobuf:"varint,14,opt,name=NetIpv4TcpTwReuse,proto3,oneof" json:"NetIpv4TcpTwReuse,omitempty"`
	NetIpv4IpLocalPortRange        *string `protobuf:"bytes,15,opt,name=NetIpv4IpLocalPortRange,proto3,oneof" json:"NetIpv4IpLocalPortRange,omitempty"`
	NetIpv4NeighDefaultGcThresh1   *int32  `protobuf:"varint,16,opt,name=NetIpv4NeighDefaultGcThresh1,proto3,oneof" json:"NetIpv4NeighDefaultGcThresh1,omitempty"`
	NetIpv4NeighDefaultGcThresh2   *int32  `protobuf:"varint,17,opt,name=NetIpv4NeighDefaultGcThresh2,proto3,oneof" json:"NetIpv4NeighDefaultGcThresh2,omitempty"`
	NetIpv4NeighDefaultGcThresh3   *int32  `protobuf:"varint,18,opt,name=NetIpv4NeighDefaultGcThresh3,proto3,oneof" json:"NetIpv4NeighDefaultGcThresh3,omitempty"`
	NetNetfilterNfConntrackMax     *int32  `protobuf:"varint,19,opt,name=NetNetfilterNfConntrackMax,proto3,oneof" json:"NetNetfilterNfConntrackMax,omitempty"`
	NetNetfilterNfConntrackBuckets *int32  `protobuf:"varint,20,opt,name=NetNetfilterNfConntrackBuckets,proto3,oneof" json:"NetNetfilterNfConntrackBuckets,omitempty"`
	FsInotifyMaxUserWatches        *int32  `protobuf:"varint,21,opt,name=FsInotifyMaxUserWatches,proto3,oneof" json:"FsInotifyMaxUserWatches,omitempty"`
	FsFileMax                      *int32  `protobuf:"varint,22,opt,name=FsFileMax,proto3,oneof" json:"FsFileMax,omitempty"`
	FsAioMaxNr                     *int32  `protobuf:"varint,23,opt,name=FsAioMaxNr,proto3,oneof" json:"FsAioMaxNr,omitempty"`
	FsNrOpen                       *int32  `protobuf:"varint,24,opt,name=FsNrOpen,proto3,oneof" json:"FsNrOpen,omitempty"`
	KernelThreadsMax               *int32  `protobuf:"varint,25,opt,name=KernelThreadsMax,proto3,oneof" json:"KernelThreadsMax,omitempty"`
	VMMaxMapCount                  *int32  `protobuf:"varint,26,opt,name=VMMaxMapCount,proto3,oneof" json:"VMMaxMapCount,omitempty"`
	VMSwappiness                   *int32  `protobuf:"varint,27,opt,name=VMSwappiness,proto3,oneof" json:"VMSwappiness,omitempty"`
	VMVfsCachePressure             *int32  `protobuf:"varint,28,opt,name=VMVfsCachePressure,proto3,oneof" json:"VMVfsCachePressure,omitempty"`
	// contains filtered or unexported fields
}

func (*SysctlConfig) Descriptor deprecated

func (*SysctlConfig) Descriptor() ([]byte, []int)

Deprecated: Use SysctlConfig.ProtoReflect.Descriptor instead.

func (*SysctlConfig) GetFsAioMaxNr

func (x *SysctlConfig) GetFsAioMaxNr() int32

func (*SysctlConfig) GetFsFileMax

func (x *SysctlConfig) GetFsFileMax() int32

func (*SysctlConfig) GetFsInotifyMaxUserWatches

func (x *SysctlConfig) GetFsInotifyMaxUserWatches() int32

func (*SysctlConfig) GetFsNrOpen

func (x *SysctlConfig) GetFsNrOpen() int32

func (*SysctlConfig) GetKernelThreadsMax

func (x *SysctlConfig) GetKernelThreadsMax() int32

func (*SysctlConfig) GetNetCoreNetdevMaxBacklog

func (x *SysctlConfig) GetNetCoreNetdevMaxBacklog() int32

func (*SysctlConfig) GetNetCoreOptmemMax

func (x *SysctlConfig) GetNetCoreOptmemMax() int32

func (*SysctlConfig) GetNetCoreRmemDefault

func (x *SysctlConfig) GetNetCoreRmemDefault() int32

func (*SysctlConfig) GetNetCoreRmemMax

func (x *SysctlConfig) GetNetCoreRmemMax() int32

func (*SysctlConfig) GetNetCoreSomaxconn

func (x *SysctlConfig) GetNetCoreSomaxconn() int32

func (*SysctlConfig) GetNetCoreWmemDefault

func (x *SysctlConfig) GetNetCoreWmemDefault() int32

func (*SysctlConfig) GetNetCoreWmemMax

func (x *SysctlConfig) GetNetCoreWmemMax() int32

func (*SysctlConfig) GetNetIpv4IpLocalPortRange

func (x *SysctlConfig) GetNetIpv4IpLocalPortRange() string

func (*SysctlConfig) GetNetIpv4NeighDefaultGcThresh1

func (x *SysctlConfig) GetNetIpv4NeighDefaultGcThresh1() int32

func (*SysctlConfig) GetNetIpv4NeighDefaultGcThresh2

func (x *SysctlConfig) GetNetIpv4NeighDefaultGcThresh2() int32

func (*SysctlConfig) GetNetIpv4NeighDefaultGcThresh3

func (x *SysctlConfig) GetNetIpv4NeighDefaultGcThresh3() int32

func (*SysctlConfig) GetNetIpv4TcpFinTimeout

func (x *SysctlConfig) GetNetIpv4TcpFinTimeout() int32

func (*SysctlConfig) GetNetIpv4TcpKeepaliveProbes

func (x *SysctlConfig) GetNetIpv4TcpKeepaliveProbes() int32

func (*SysctlConfig) GetNetIpv4TcpKeepaliveTime

func (x *SysctlConfig) GetNetIpv4TcpKeepaliveTime() int32

func (*SysctlConfig) GetNetIpv4TcpMaxSynBacklog

func (x *SysctlConfig) GetNetIpv4TcpMaxSynBacklog() int32

func (*SysctlConfig) GetNetIpv4TcpMaxTwBuckets

func (x *SysctlConfig) GetNetIpv4TcpMaxTwBuckets() int32

func (*SysctlConfig) GetNetIpv4TcpTwReuse

func (x *SysctlConfig) GetNetIpv4TcpTwReuse() bool

func (*SysctlConfig) GetNetIpv4TcpkeepaliveIntvl

func (x *SysctlConfig) GetNetIpv4TcpkeepaliveIntvl() int32

func (*SysctlConfig) GetNetNetfilterNfConntrackBuckets

func (x *SysctlConfig) GetNetNetfilterNfConntrackBuckets() int32

func (*SysctlConfig) GetNetNetfilterNfConntrackMax

func (x *SysctlConfig) GetNetNetfilterNfConntrackMax() int32

func (*SysctlConfig) GetVMMaxMapCount

func (x *SysctlConfig) GetVMMaxMapCount() int32

func (*SysctlConfig) GetVMSwappiness

func (x *SysctlConfig) GetVMSwappiness() int32

func (*SysctlConfig) GetVMVfsCachePressure

func (x *SysctlConfig) GetVMVfsCachePressure() int32

func (*SysctlConfig) ProtoMessage

func (*SysctlConfig) ProtoMessage()

func (*SysctlConfig) ProtoReflect

func (x *SysctlConfig) ProtoReflect() protoreflect.Message

func (*SysctlConfig) Reset

func (x *SysctlConfig) Reset()

func (*SysctlConfig) String

func (x *SysctlConfig) String() string

type TLSBootstrappingConfig

type TLSBootstrappingConfig struct {
	EnableSecureTlsBootstrapping           *bool  ``                                                                                                                   /* 156-byte string literal not displayed */
	TlsBootstrapToken                      string `protobuf:"bytes,2,opt,name=tls_bootstrap_token,json=tlsBootstrapToken,proto3" json:"tls_bootstrap_token,omitempty"` // Only required until Secure TLS bootstrapping in place. Would use kubelet identity after that.
	CustomSecureTlsBootstrapAppserverAppid string ``                                                                                                                   // Only used when secure TLS bootstrapping is enabled
	/* 183-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TLSBootstrappingConfig) Descriptor deprecated

func (*TLSBootstrappingConfig) Descriptor() ([]byte, []int)

Deprecated: Use TLSBootstrappingConfig.ProtoReflect.Descriptor instead.

func (*TLSBootstrappingConfig) GetCustomSecureTlsBootstrapAppserverAppid added in v0.20240313.0

func (x *TLSBootstrappingConfig) GetCustomSecureTlsBootstrapAppserverAppid() string

func (*TLSBootstrappingConfig) GetEnableSecureTlsBootstrapping

func (x *TLSBootstrappingConfig) GetEnableSecureTlsBootstrapping() bool

func (*TLSBootstrappingConfig) GetTlsBootstrapToken added in v0.20240313.0

func (x *TLSBootstrappingConfig) GetTlsBootstrapToken() string

func (*TLSBootstrappingConfig) ProtoMessage

func (*TLSBootstrappingConfig) ProtoMessage()

func (*TLSBootstrappingConfig) ProtoReflect

func (x *TLSBootstrappingConfig) ProtoReflect() protoreflect.Message

func (*TLSBootstrappingConfig) Reset

func (x *TLSBootstrappingConfig) Reset()

func (*TLSBootstrappingConfig) String

func (x *TLSBootstrappingConfig) String() string

type Taint

type Taint struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Effect string `protobuf:"bytes,2,opt,name=effect,proto3" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*Taint) Descriptor deprecated

func (*Taint) Descriptor() ([]byte, []int)

Deprecated: Use Taint.ProtoReflect.Descriptor instead.

func (*Taint) GetEffect

func (x *Taint) GetEffect() string

func (*Taint) GetKey

func (x *Taint) GetKey() string

func (*Taint) ProtoMessage

func (*Taint) ProtoMessage()

func (*Taint) ProtoReflect

func (x *Taint) ProtoReflect() protoreflect.Message

func (*Taint) Reset

func (x *Taint) Reset()

func (*Taint) String

func (x *Taint) String() string

type TeleportConfig

type TeleportConfig struct {
	Status                     FeatureState `protobuf:"varint,1,opt,name=status,proto3,enum=nbcontract.v1.FeatureState" json:"status,omitempty"`
	TeleportdPluginDownloadUrl string       `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TeleportConfig) Descriptor deprecated

func (*TeleportConfig) Descriptor() ([]byte, []int)

Deprecated: Use TeleportConfig.ProtoReflect.Descriptor instead.

func (*TeleportConfig) GetStatus

func (x *TeleportConfig) GetStatus() FeatureState

func (*TeleportConfig) GetTeleportdPluginDownloadUrl

func (x *TeleportConfig) GetTeleportdPluginDownloadUrl() string

func (*TeleportConfig) ProtoMessage

func (*TeleportConfig) ProtoMessage()

func (*TeleportConfig) ProtoReflect

func (x *TeleportConfig) ProtoReflect() protoreflect.Message

func (*TeleportConfig) Reset

func (x *TeleportConfig) Reset()

func (*TeleportConfig) String

func (x *TeleportConfig) String() string

type UlimitConfig

type UlimitConfig struct {

	// using optional here to allow detecting if the field is set or not (explicit presence in proto3)
	NoFile          *string `protobuf:"bytes,1,opt,name=NoFile,proto3,oneof" json:"NoFile,omitempty"`
	MaxLockedMemory *string `protobuf:"bytes,2,opt,name=MaxLockedMemory,proto3,oneof" json:"MaxLockedMemory,omitempty"`
	// contains filtered or unexported fields
}

func (*UlimitConfig) Descriptor deprecated

func (*UlimitConfig) Descriptor() ([]byte, []int)

Deprecated: Use UlimitConfig.ProtoReflect.Descriptor instead.

func (*UlimitConfig) GetMaxLockedMemory

func (x *UlimitConfig) GetMaxLockedMemory() string

func (*UlimitConfig) GetNoFile

func (x *UlimitConfig) GetNoFile() string

func (*UlimitConfig) ProtoMessage

func (*UlimitConfig) ProtoMessage()

func (*UlimitConfig) ProtoReflect

func (x *UlimitConfig) ProtoReflect() protoreflect.Message

func (*UlimitConfig) Reset

func (x *UlimitConfig) Reset()

func (*UlimitConfig) String

func (x *UlimitConfig) String() string

type VmType added in v0.20240401.0

type VmType int32
const (
	VmType_VM_TYPE_UNSPECIFIED VmType = 0
	VmType_VM_TYPE_STANDARD    VmType = 1
	VmType_VM_TYPE_VMSS        VmType = 2
)

func (VmType) Descriptor added in v0.20240401.0

func (VmType) Descriptor() protoreflect.EnumDescriptor

func (VmType) Enum added in v0.20240401.0

func (x VmType) Enum() *VmType

func (VmType) EnumDescriptor deprecated added in v0.20240401.0

func (VmType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VmType.Descriptor instead.

func (VmType) Number added in v0.20240401.0

func (x VmType) Number() protoreflect.EnumNumber

func (VmType) String added in v0.20240401.0

func (x VmType) String() string

func (VmType) Type added in v0.20240401.0

func (VmType) Type() protoreflect.EnumType

type WorkloadRuntime

type WorkloadRuntime int32
const (
	WorkloadRuntime_WR_UNSPECIFIED WorkloadRuntime = 0
	WorkloadRuntime_OCI_CONTAINER  WorkloadRuntime = 1
	WorkloadRuntime_WASM_WASI      WorkloadRuntime = 2
)

func (WorkloadRuntime) Descriptor

func (WorkloadRuntime) Enum

func (x WorkloadRuntime) Enum() *WorkloadRuntime

func (WorkloadRuntime) EnumDescriptor deprecated

func (WorkloadRuntime) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkloadRuntime.Descriptor instead.

func (WorkloadRuntime) Number

func (WorkloadRuntime) String

func (x WorkloadRuntime) String() string

func (WorkloadRuntime) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL