aksmachine

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AzureCredential_Credential_not_set_case case_AzureCredential_Credential = 0
View Source
const AzureCredential_ManagedIdentity_case case_AzureCredential_Credential = 2
View Source
const AzureCredential_ServicePrincipal_case case_AzureCredential_Credential = 1

Variables

View Source
var File_components_aksmachine_action_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AzureCredential

type AzureCredential struct {
	// contains filtered or unexported fields
}

AzureCredential carries the ARM authentication credential for the action. If neither field is set the action falls back to Azure CLI credential.

func (*AzureCredential) ClearCredential

func (x *AzureCredential) ClearCredential()

func (*AzureCredential) ClearManagedIdentity

func (x *AzureCredential) ClearManagedIdentity()

func (*AzureCredential) ClearServicePrincipal

func (x *AzureCredential) ClearServicePrincipal()

func (*AzureCredential) GetManagedIdentity

func (x *AzureCredential) GetManagedIdentity() *AzureMSICredential

func (*AzureCredential) GetServicePrincipal

func (x *AzureCredential) GetServicePrincipal() *AzureServicePrincipalCredential

func (*AzureCredential) HasCredential

func (x *AzureCredential) HasCredential() bool

func (*AzureCredential) HasManagedIdentity

func (x *AzureCredential) HasManagedIdentity() bool

func (*AzureCredential) HasServicePrincipal

func (x *AzureCredential) HasServicePrincipal() bool

func (*AzureCredential) ProtoMessage

func (*AzureCredential) ProtoMessage()

func (*AzureCredential) ProtoReflect

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

func (*AzureCredential) Reset

func (x *AzureCredential) Reset()

func (*AzureCredential) SetManagedIdentity

func (x *AzureCredential) SetManagedIdentity(v *AzureMSICredential)

func (*AzureCredential) SetServicePrincipal

func (x *AzureCredential) SetServicePrincipal(v *AzureServicePrincipalCredential)

func (*AzureCredential) String

func (x *AzureCredential) String() string

func (*AzureCredential) WhichCredential

func (x *AzureCredential) WhichCredential() case_AzureCredential_Credential

type AzureCredential_builder

type AzureCredential_builder struct {

	// Fields of oneof xxx_hidden_Credential:
	ServicePrincipal *AzureServicePrincipalCredential
	ManagedIdentity  *AzureMSICredential
	// contains filtered or unexported fields
}

func (AzureCredential_builder) Build

type AzureMSICredential

type AzureMSICredential struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*AzureMSICredential) ClearClientId

func (x *AzureMSICredential) ClearClientId()

func (*AzureMSICredential) GetClientId

func (x *AzureMSICredential) GetClientId() string

func (*AzureMSICredential) HasClientId

func (x *AzureMSICredential) HasClientId() bool

func (*AzureMSICredential) ProtoMessage

func (*AzureMSICredential) ProtoMessage()

func (*AzureMSICredential) ProtoReflect

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

func (*AzureMSICredential) Reset

func (x *AzureMSICredential) Reset()

func (*AzureMSICredential) SetClientId

func (x *AzureMSICredential) SetClientId(v string)

func (*AzureMSICredential) String

func (x *AzureMSICredential) String() string

type AzureMSICredential_builder

type AzureMSICredential_builder struct {

	// Client ID of the managed identity; empty means system-assigned MI.
	ClientId *string
	// contains filtered or unexported fields
}

func (AzureMSICredential_builder) Build

type AzureServicePrincipalCredential

type AzureServicePrincipalCredential struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*AzureServicePrincipalCredential) ClearClientId

func (x *AzureServicePrincipalCredential) ClearClientId()

func (*AzureServicePrincipalCredential) ClearClientSecret

func (x *AzureServicePrincipalCredential) ClearClientSecret()

func (*AzureServicePrincipalCredential) ClearTenantId

func (x *AzureServicePrincipalCredential) ClearTenantId()

func (*AzureServicePrincipalCredential) GetClientId

func (x *AzureServicePrincipalCredential) GetClientId() string

func (*AzureServicePrincipalCredential) GetClientSecret

func (x *AzureServicePrincipalCredential) GetClientSecret() string

func (*AzureServicePrincipalCredential) GetTenantId

func (x *AzureServicePrincipalCredential) GetTenantId() string

func (*AzureServicePrincipalCredential) HasClientId

func (x *AzureServicePrincipalCredential) HasClientId() bool

func (*AzureServicePrincipalCredential) HasClientSecret

func (x *AzureServicePrincipalCredential) HasClientSecret() bool

func (*AzureServicePrincipalCredential) HasTenantId

func (x *AzureServicePrincipalCredential) HasTenantId() bool

func (*AzureServicePrincipalCredential) ProtoMessage

func (*AzureServicePrincipalCredential) ProtoMessage()

func (*AzureServicePrincipalCredential) ProtoReflect

func (*AzureServicePrincipalCredential) Reset

func (*AzureServicePrincipalCredential) SetClientId

func (x *AzureServicePrincipalCredential) SetClientId(v string)

func (*AzureServicePrincipalCredential) SetClientSecret

func (x *AzureServicePrincipalCredential) SetClientSecret(v string)

func (*AzureServicePrincipalCredential) SetTenantId

func (x *AzureServicePrincipalCredential) SetTenantId(v string)

func (*AzureServicePrincipalCredential) String

type AzureServicePrincipalCredential_builder

type AzureServicePrincipalCredential_builder struct {
	TenantId     *string
	ClientId     *string
	ClientSecret *string
	// contains filtered or unexported fields
}

func (AzureServicePrincipalCredential_builder) Build

type EnsureMachine

type EnsureMachine struct {
	// contains filtered or unexported fields
}

func (*EnsureMachine) ClearMetadata

func (x *EnsureMachine) ClearMetadata()

func (*EnsureMachine) ClearSpec

func (x *EnsureMachine) ClearSpec()

func (*EnsureMachine) ClearStatus

func (x *EnsureMachine) ClearStatus()

func (*EnsureMachine) GetMetadata

func (x *EnsureMachine) GetMetadata() *api.Metadata

func (*EnsureMachine) GetSpec

func (x *EnsureMachine) GetSpec() *EnsureMachineSpec

func (*EnsureMachine) GetStatus

func (x *EnsureMachine) GetStatus() *EnsureMachineStatus

func (*EnsureMachine) HasMetadata

func (x *EnsureMachine) HasMetadata() bool

func (*EnsureMachine) HasSpec

func (x *EnsureMachine) HasSpec() bool

func (*EnsureMachine) HasStatus

func (x *EnsureMachine) HasStatus() bool

func (*EnsureMachine) ProtoMessage

func (*EnsureMachine) ProtoMessage()

func (*EnsureMachine) ProtoReflect

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

func (*EnsureMachine) Redact

func (x *EnsureMachine) Redact()

Redact removes sensitive fields from the action.

func (*EnsureMachine) Reset

func (x *EnsureMachine) Reset()

func (*EnsureMachine) SetMetadata

func (x *EnsureMachine) SetMetadata(v *api.Metadata)

func (*EnsureMachine) SetSpec

func (x *EnsureMachine) SetSpec(v *EnsureMachineSpec)

func (*EnsureMachine) SetStatus

func (x *EnsureMachine) SetStatus(v *EnsureMachineStatus)

func (*EnsureMachine) String

func (x *EnsureMachine) String() string

type EnsureMachineSpec

type EnsureMachineSpec struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

func (*EnsureMachineSpec) ClearAzureCredential

func (x *EnsureMachineSpec) ClearAzureCredential()

func (*EnsureMachineSpec) ClearClusterName

func (x *EnsureMachineSpec) ClearClusterName()

func (*EnsureMachineSpec) ClearEnabled

func (x *EnsureMachineSpec) ClearEnabled()

func (*EnsureMachineSpec) ClearKubeletConfig

func (x *EnsureMachineSpec) ClearKubeletConfig()

func (*EnsureMachineSpec) ClearKubernetesVersion

func (x *EnsureMachineSpec) ClearKubernetesVersion()

func (*EnsureMachineSpec) ClearMachineName

func (x *EnsureMachineSpec) ClearMachineName()

func (*EnsureMachineSpec) ClearMaxPods

func (x *EnsureMachineSpec) ClearMaxPods()

func (*EnsureMachineSpec) ClearResourceGroup

func (x *EnsureMachineSpec) ClearResourceGroup()

func (*EnsureMachineSpec) ClearSubscriptionId

func (x *EnsureMachineSpec) ClearSubscriptionId()

func (*EnsureMachineSpec) GetAzureCredential

func (x *EnsureMachineSpec) GetAzureCredential() *AzureCredential

func (*EnsureMachineSpec) GetClusterName

func (x *EnsureMachineSpec) GetClusterName() string

func (*EnsureMachineSpec) GetEnabled

func (x *EnsureMachineSpec) GetEnabled() bool

func (*EnsureMachineSpec) GetKubeletConfig

func (x *EnsureMachineSpec) GetKubeletConfig() *MachineKubeletConfig

func (*EnsureMachineSpec) GetKubernetesVersion

func (x *EnsureMachineSpec) GetKubernetesVersion() string

func (*EnsureMachineSpec) GetMachineName

func (x *EnsureMachineSpec) GetMachineName() string

func (*EnsureMachineSpec) GetMaxPods

func (x *EnsureMachineSpec) GetMaxPods() int32

func (*EnsureMachineSpec) GetNodeInitializationTaints

func (x *EnsureMachineSpec) GetNodeInitializationTaints() []string

func (*EnsureMachineSpec) GetNodeLabels

func (x *EnsureMachineSpec) GetNodeLabels() map[string]string

func (*EnsureMachineSpec) GetNodeTaints

func (x *EnsureMachineSpec) GetNodeTaints() []string

func (*EnsureMachineSpec) GetResourceGroup

func (x *EnsureMachineSpec) GetResourceGroup() string

func (*EnsureMachineSpec) GetSubscriptionId

func (x *EnsureMachineSpec) GetSubscriptionId() string

func (*EnsureMachineSpec) HasAzureCredential

func (x *EnsureMachineSpec) HasAzureCredential() bool

func (*EnsureMachineSpec) HasClusterName

func (x *EnsureMachineSpec) HasClusterName() bool

func (*EnsureMachineSpec) HasEnabled

func (x *EnsureMachineSpec) HasEnabled() bool

func (*EnsureMachineSpec) HasKubeletConfig

func (x *EnsureMachineSpec) HasKubeletConfig() bool

func (*EnsureMachineSpec) HasKubernetesVersion

func (x *EnsureMachineSpec) HasKubernetesVersion() bool

func (*EnsureMachineSpec) HasMachineName

func (x *EnsureMachineSpec) HasMachineName() bool

func (*EnsureMachineSpec) HasMaxPods

func (x *EnsureMachineSpec) HasMaxPods() bool

func (*EnsureMachineSpec) HasResourceGroup

func (x *EnsureMachineSpec) HasResourceGroup() bool

func (*EnsureMachineSpec) HasSubscriptionId

func (x *EnsureMachineSpec) HasSubscriptionId() bool

func (*EnsureMachineSpec) ProtoMessage

func (*EnsureMachineSpec) ProtoMessage()

func (*EnsureMachineSpec) ProtoReflect

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

func (*EnsureMachineSpec) Reset

func (x *EnsureMachineSpec) Reset()

func (*EnsureMachineSpec) SetAzureCredential

func (x *EnsureMachineSpec) SetAzureCredential(v *AzureCredential)

func (*EnsureMachineSpec) SetClusterName

func (x *EnsureMachineSpec) SetClusterName(v string)

func (*EnsureMachineSpec) SetEnabled

func (x *EnsureMachineSpec) SetEnabled(v bool)

func (*EnsureMachineSpec) SetKubeletConfig

func (x *EnsureMachineSpec) SetKubeletConfig(v *MachineKubeletConfig)

func (*EnsureMachineSpec) SetKubernetesVersion

func (x *EnsureMachineSpec) SetKubernetesVersion(v string)

func (*EnsureMachineSpec) SetMachineName

func (x *EnsureMachineSpec) SetMachineName(v string)

func (*EnsureMachineSpec) SetMaxPods

func (x *EnsureMachineSpec) SetMaxPods(v int32)

func (*EnsureMachineSpec) SetNodeInitializationTaints

func (x *EnsureMachineSpec) SetNodeInitializationTaints(v []string)

func (*EnsureMachineSpec) SetNodeLabels

func (x *EnsureMachineSpec) SetNodeLabels(v map[string]string)

func (*EnsureMachineSpec) SetNodeTaints

func (x *EnsureMachineSpec) SetNodeTaints(v []string)

func (*EnsureMachineSpec) SetResourceGroup

func (x *EnsureMachineSpec) SetResourceGroup(v string)

func (*EnsureMachineSpec) SetSubscriptionId

func (x *EnsureMachineSpec) SetSubscriptionId(v string)

func (*EnsureMachineSpec) String

func (x *EnsureMachineSpec) String() string

type EnsureMachineSpec_builder

type EnsureMachineSpec_builder struct {

	// Azure subscription ID of the target AKS cluster
	SubscriptionId *string
	// Azure resource group of the target AKS cluster
	ResourceGroup *string
	// Name of the target AKS cluster
	ClusterName *string
	// Name of the machine (hostname of the local machine)
	MachineName *string
	// Kubernetes version to join (e.g. "1.30" or "1.30.6")
	KubernetesVersion *string
	// Maximum number of pods that can run on the node
	MaxPods *int32
	// Node labels
	NodeLabels map[string]string
	// Node taints (reconciled by AKS)
	NodeTaints []string
	// Node initialization taints (not reconciled by AKS, removable via kubectl)
	NodeInitializationTaints []string
	// Kubelet configuration
	KubeletConfig *MachineKubeletConfig
	// enabled controls whether the action performs Azure operations.
	// Set to false when drift detection and remediation is disabled.
	Enabled *bool
	// azure_credential is used to authenticate against the Azure ARM API.
	// If unset the action falls back to Azure CLI credential.
	AzureCredential *AzureCredential
	// contains filtered or unexported fields
}

func (EnsureMachineSpec_builder) Build

type EnsureMachineStatus

type EnsureMachineStatus struct {
	// contains filtered or unexported fields
}

func (*EnsureMachineStatus) ProtoMessage

func (*EnsureMachineStatus) ProtoMessage()

func (*EnsureMachineStatus) ProtoReflect

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

func (*EnsureMachineStatus) Reset

func (x *EnsureMachineStatus) Reset()

func (*EnsureMachineStatus) String

func (x *EnsureMachineStatus) String() string

type EnsureMachineStatus_builder

type EnsureMachineStatus_builder struct {
	// contains filtered or unexported fields
}

func (EnsureMachineStatus_builder) Build

type EnsureMachine_builder

type EnsureMachine_builder struct {
	Metadata *api.Metadata
	Spec     *EnsureMachineSpec
	Status   *EnsureMachineStatus
	// contains filtered or unexported fields
}

func (EnsureMachine_builder) Build

type MachineKubeletConfig

type MachineKubeletConfig struct {
	XXX_raceDetectHookData protoimpl.RaceDetectHookData
	XXX_presence           [1]uint32
	// contains filtered or unexported fields
}

MachineKubeletConfig holds the subset of kubelet settings sent to AKS on the PUT machine request.

func (*MachineKubeletConfig) ClearImageGcHighThreshold

func (x *MachineKubeletConfig) ClearImageGcHighThreshold()

func (*MachineKubeletConfig) ClearImageGcLowThreshold

func (x *MachineKubeletConfig) ClearImageGcLowThreshold()

func (*MachineKubeletConfig) GetImageGcHighThreshold

func (x *MachineKubeletConfig) GetImageGcHighThreshold() int32

func (*MachineKubeletConfig) GetImageGcLowThreshold

func (x *MachineKubeletConfig) GetImageGcLowThreshold() int32

func (*MachineKubeletConfig) HasImageGcHighThreshold

func (x *MachineKubeletConfig) HasImageGcHighThreshold() bool

func (*MachineKubeletConfig) HasImageGcLowThreshold

func (x *MachineKubeletConfig) HasImageGcLowThreshold() bool

func (*MachineKubeletConfig) ProtoMessage

func (*MachineKubeletConfig) ProtoMessage()

func (*MachineKubeletConfig) ProtoReflect

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

func (*MachineKubeletConfig) Reset

func (x *MachineKubeletConfig) Reset()

func (*MachineKubeletConfig) SetImageGcHighThreshold

func (x *MachineKubeletConfig) SetImageGcHighThreshold(v int32)

func (*MachineKubeletConfig) SetImageGcLowThreshold

func (x *MachineKubeletConfig) SetImageGcLowThreshold(v int32)

func (*MachineKubeletConfig) String

func (x *MachineKubeletConfig) String() string

type MachineKubeletConfig_builder

type MachineKubeletConfig_builder struct {

	// Percent of disk usage above which image GC always runs (default 85)
	ImageGcHighThreshold *int32
	// Percent of disk usage below which image GC never runs (default 80)
	ImageGcLowThreshold *int32
	// contains filtered or unexported fields
}

func (MachineKubeletConfig_builder) Build

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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