Documentation ¶
Overview ¶
Package v1alpha3 contains API Schema definitions for the infrastructure v1alpha3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- func DecodeRawExtension(in *runtime.RawExtension, out runtime.Object) error
- type AvailabilityZone
- type AzureStackHCICluster
- func (in *AzureStackHCICluster) DeepCopy() *AzureStackHCICluster
- func (in *AzureStackHCICluster) DeepCopyInto(out *AzureStackHCICluster)
- func (in *AzureStackHCICluster) DeepCopyObject() runtime.Object
- func (*AzureStackHCICluster) Hub()
- func (r *AzureStackHCICluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- type AzureStackHCIClusterList
- type AzureStackHCIClusterSpec
- type AzureStackHCIClusterStatus
- type AzureStackHCIMachine
- func (in *AzureStackHCIMachine) DeepCopy() *AzureStackHCIMachine
- func (in *AzureStackHCIMachine) DeepCopyInto(out *AzureStackHCIMachine)
- func (in *AzureStackHCIMachine) DeepCopyObject() runtime.Object
- func (*AzureStackHCIMachine) Hub()
- func (m *AzureStackHCIMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (m *AzureStackHCIMachine) ValidateCreate() error
- func (m *AzureStackHCIMachine) ValidateDelete() error
- func (m *AzureStackHCIMachine) ValidateUpdate(old runtime.Object) error
- type AzureStackHCIMachineList
- type AzureStackHCIMachineProviderCondition
- type AzureStackHCIMachineProviderConditionType
- type AzureStackHCIMachineSpec
- type AzureStackHCIMachineStatus
- type AzureStackHCIMachineTemplate
- func (in *AzureStackHCIMachineTemplate) DeepCopy() *AzureStackHCIMachineTemplate
- func (in *AzureStackHCIMachineTemplate) DeepCopyInto(out *AzureStackHCIMachineTemplate)
- func (in *AzureStackHCIMachineTemplate) DeepCopyObject() runtime.Object
- func (*AzureStackHCIMachineTemplate) Hub()
- func (r *AzureStackHCIMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- type AzureStackHCIMachineTemplateList
- func (in *AzureStackHCIMachineTemplateList) DeepCopy() *AzureStackHCIMachineTemplateList
- func (in *AzureStackHCIMachineTemplateList) DeepCopyInto(out *AzureStackHCIMachineTemplateList)
- func (in *AzureStackHCIMachineTemplateList) DeepCopyObject() runtime.Object
- func (*AzureStackHCIMachineTemplateList) Hub()
- type AzureStackHCIMachineTemplateResource
- type AzureStackHCIMachineTemplateSpec
- type AzureStackHCIResourceReference
- type AzureStackHCIVirtualMachine
- type AzureStackHCIVirtualMachineList
- func (in *AzureStackHCIVirtualMachineList) DeepCopy() *AzureStackHCIVirtualMachineList
- func (in *AzureStackHCIVirtualMachineList) DeepCopyInto(out *AzureStackHCIVirtualMachineList)
- func (in *AzureStackHCIVirtualMachineList) DeepCopyObject() runtime.Object
- func (*AzureStackHCIVirtualMachineList) Hub()
- type AzureStackHCIVirtualMachineSpec
- type AzureStackHCIVirtualMachineStatus
- type Image
- type LoadBalancer
- type LoadBalancerList
- type LoadBalancerSpec
- type LoadBalancerStatus
- type ManagedDisk
- type NetworkSpec
- type OSDisk
- type OSType
- type SubnetSpec
- type Subnets
- type VM
- type VMIdentity
- type VMState
- type VnetSpec
Constants ¶
const ( // ControlPlane machine label ControlPlane string = "control-plane" // Node machine label Node string = "node" )
const ( // OSTypeLinux OSTypeLinux = OSType("Linux") // OSTypeWindows OSTypeWindows = OSType("Windows") )
const ( AnnotationClusterInfrastructureReady = "azurestackhci.cluster.sigs.k8s.io/infrastructure-ready" ValueReady = "true" AnnotationControlPlaneReady = "azurestackhci.cluster.sigs.k8s.io/control-plane-ready" )
const ( // ClusterFinalizer allows ReconcileAzureStackHCICluster to clean up Azure resources associated with AzureStackHCICluster before // removing it from the apiserver. ClusterFinalizer = "azurestackhcicluster.infrastructure.cluster.x-k8s.io" )
const (
// LoadBalancerFinalizer allows ReconcileLoadBalancer to clean up the load balancer resources before removing it from the apiserver.
LoadBalancerFinalizer = "loadbalancer.infrastructure.cluster.x-k8s.io"
)
const ( // MachineFinalizer allows ReconcileAzureStackHCIMachine to clean up Azure resources associated with AzureStackHCIMachine before // removing it from the apiserver. MachineFinalizer = "azurestackhcimachine.infrastructure.cluster.x-k8s.io" )
const ( // VirtualMachineFinalizer allows ReconcileVirtualAzureStackHCIMachine to clean up AzureStackHCI resources associated with VirtualAzureStackHCIMachine before // removing it from the apiserver. VirtualMachineFinalizer = "azurestackhcivirtualmachine.infrastructure.cluster.x-k8s.io" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha3"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( // VMStateCreating ... VMStateCreating = VMState("Creating") // VMStateDeleting ... VMStateDeleting = VMState("Deleting") // VMStateFailed ... VMStateFailed = VMState("Failed") // VMStateMigrating ... VMStateMigrating = VMState("Migrating") // VMStateSucceeded ... VMStateSucceeded = VMState("Succeeded") // VMStateUpdating ... VMStateUpdating = VMState("Updating") )
Functions ¶
func DecodeRawExtension ¶
func DecodeRawExtension(in *runtime.RawExtension, out runtime.Object) error
DecodeRawExtension will decode a runtime.RawExtension into a specific runtime object based on the schema
Types ¶
type AvailabilityZone ¶
type AvailabilityZone struct { ID *string `json:"id,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
func (*AvailabilityZone) DeepCopy ¶
func (in *AvailabilityZone) DeepCopy() *AvailabilityZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailabilityZone.
func (*AvailabilityZone) DeepCopyInto ¶
func (in *AvailabilityZone) DeepCopyInto(out *AvailabilityZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCICluster ¶
type AzureStackHCICluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureStackHCIClusterSpec `json:"spec,omitempty"` Status AzureStackHCIClusterStatus `json:"status,omitempty"` }
AzureStackHCICluster is the Schema for the azurestackhciclusters API
func (*AzureStackHCICluster) DeepCopy ¶
func (in *AzureStackHCICluster) DeepCopy() *AzureStackHCICluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCICluster.
func (*AzureStackHCICluster) DeepCopyInto ¶
func (in *AzureStackHCICluster) DeepCopyInto(out *AzureStackHCICluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCICluster) DeepCopyObject ¶
func (in *AzureStackHCICluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCICluster) Hub ¶
func (*AzureStackHCICluster) Hub()
Hub marks AzureStackHCICluster as a conversion hub.
func (*AzureStackHCICluster) SetupWebhookWithManager ¶
func (r *AzureStackHCICluster) SetupWebhookWithManager(mgr ctrl.Manager) error
type AzureStackHCIClusterList ¶
type AzureStackHCIClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureStackHCICluster `json:"items"` }
AzureStackHCIClusterList contains a list of AzureStackHCICluster
func (*AzureStackHCIClusterList) DeepCopy ¶
func (in *AzureStackHCIClusterList) DeepCopy() *AzureStackHCIClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIClusterList.
func (*AzureStackHCIClusterList) DeepCopyInto ¶
func (in *AzureStackHCIClusterList) DeepCopyInto(out *AzureStackHCIClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIClusterList) DeepCopyObject ¶
func (in *AzureStackHCIClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIClusterList) Hub ¶
func (*AzureStackHCIClusterList) Hub()
Hub marks AzureStackHCIClusterList as a conversion hub.
type AzureStackHCIClusterSpec ¶
type AzureStackHCIClusterSpec struct { // NetworkSpec encapsulates all things related to Azure network. NetworkSpec NetworkSpec `json:"networkSpec,omitempty"` ResourceGroup string `json:"resourceGroup"` Location string `json:"location"` // LoadBalancer is used to declare the LoadBalancerSpec if a LoadBalancer is desired for the AzureStackHCICluster. LoadBalancer *LoadBalancerSpec `json:"loadBalancer,omitempty"` // ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. // +optional ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"` // Version indicates the desired Kubernetes version of the cluster. Version *string `json:"version"` // Management is true when the cluster is a Management Cluster. Management bool `json:"management,omitempty"` }
AzureStackHCIClusterSpec defines the desired state of AzureStackHCICluster
func (*AzureStackHCIClusterSpec) DeepCopy ¶
func (in *AzureStackHCIClusterSpec) DeepCopy() *AzureStackHCIClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIClusterSpec.
func (*AzureStackHCIClusterSpec) DeepCopyInto ¶
func (in *AzureStackHCIClusterSpec) DeepCopyInto(out *AzureStackHCIClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIClusterStatus ¶
type AzureStackHCIClusterStatus struct { Bastion VM `json:"bastion,omitempty"` // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` }
AzureStackHCIClusterStatus defines the observed state of AzureStackHCICluster
func (*AzureStackHCIClusterStatus) DeepCopy ¶
func (in *AzureStackHCIClusterStatus) DeepCopy() *AzureStackHCIClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIClusterStatus.
func (*AzureStackHCIClusterStatus) DeepCopyInto ¶
func (in *AzureStackHCIClusterStatus) DeepCopyInto(out *AzureStackHCIClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIMachine ¶
type AzureStackHCIMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureStackHCIMachineSpec `json:"spec,omitempty"` Status AzureStackHCIMachineStatus `json:"status,omitempty"` }
AzureStackHCIMachine is the Schema for the azurestackhcimachines API
func (*AzureStackHCIMachine) DeepCopy ¶
func (in *AzureStackHCIMachine) DeepCopy() *AzureStackHCIMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachine.
func (*AzureStackHCIMachine) DeepCopyInto ¶
func (in *AzureStackHCIMachine) DeepCopyInto(out *AzureStackHCIMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIMachine) DeepCopyObject ¶
func (in *AzureStackHCIMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIMachine) Hub ¶
func (*AzureStackHCIMachine) Hub()
Hub marks AzureStackHCIMachine as a conversion hub.
func (*AzureStackHCIMachine) SetupWebhookWithManager ¶
func (m *AzureStackHCIMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup and register the webhook with the controller mnager
func (*AzureStackHCIMachine) ValidateCreate ¶
func (m *AzureStackHCIMachine) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AzureStackHCIMachine) ValidateDelete ¶
func (m *AzureStackHCIMachine) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AzureStackHCIMachine) ValidateUpdate ¶
func (m *AzureStackHCIMachine) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type AzureStackHCIMachineList ¶
type AzureStackHCIMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureStackHCIMachine `json:"items"` }
AzureStackHCIMachineList contains a list of AzureStackHCIMachine
func (*AzureStackHCIMachineList) DeepCopy ¶
func (in *AzureStackHCIMachineList) DeepCopy() *AzureStackHCIMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineList.
func (*AzureStackHCIMachineList) DeepCopyInto ¶
func (in *AzureStackHCIMachineList) DeepCopyInto(out *AzureStackHCIMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIMachineList) DeepCopyObject ¶
func (in *AzureStackHCIMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIMachineList) Hub ¶
func (*AzureStackHCIMachineList) Hub()
Hub marks AzureStackHCIMachineList as a conversion hub.
type AzureStackHCIMachineProviderCondition ¶
type AzureStackHCIMachineProviderCondition struct { // Type is the type of the condition. Type AzureStackHCIMachineProviderConditionType `json:"type"` // Status is the status of the condition. Status corev1.ConditionStatus `json:"status"` // LastProbeTime is the last time we probed the condition. // +optional LastProbeTime metav1.Time `json:"lastProbeTime"` // LastTransitionTime is the last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason"` // Message is a human-readable message indicating details about last transition. // +optional Message string `json:"message"` }
AzureStackHCIMachineProviderCondition is a condition in a AzureStackHCIMachineProviderStatus
func (*AzureStackHCIMachineProviderCondition) DeepCopy ¶
func (in *AzureStackHCIMachineProviderCondition) DeepCopy() *AzureStackHCIMachineProviderCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineProviderCondition.
func (*AzureStackHCIMachineProviderCondition) DeepCopyInto ¶
func (in *AzureStackHCIMachineProviderCondition) DeepCopyInto(out *AzureStackHCIMachineProviderCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIMachineProviderConditionType ¶
type AzureStackHCIMachineProviderConditionType string
AzureStackHCIMachineProviderConditionType is a valid value for AzureStackHCIMachineProviderCondition.Type
const ( // MachineCreated indicates whether the machine has been created or not. If not, // it should include a reason and message for the failure. MachineCreated AzureStackHCIMachineProviderConditionType = "MachineCreated" )
Valid conditions for an Azure machine instance
type AzureStackHCIMachineSpec ¶
type AzureStackHCIMachineSpec struct { // ProviderID is the unique identifier as specified by the cloud provider. // +optional ProviderID *string `json:"providerID,omitempty"` VMSize string `json:"vmSize"` AvailabilityZone AvailabilityZone `json:"availabilityZone,omitempty"` Image Image `json:"image,omitempty"` OSDisk OSDisk `json:"osDisk,omitempty"` Location string `json:"location"` SSHPublicKey string `json:"sshPublicKey"` // AllocatePublicIP allows the ability to create dynamic public ips for machines where this value is true. // +optional AllocatePublicIP bool `json:"allocatePublicIP,omitempty"` }
AzureStackHCIMachineSpec defines the desired state of AzureStackHCIMachine
func (*AzureStackHCIMachineSpec) DeepCopy ¶
func (in *AzureStackHCIMachineSpec) DeepCopy() *AzureStackHCIMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineSpec.
func (*AzureStackHCIMachineSpec) DeepCopyInto ¶
func (in *AzureStackHCIMachineSpec) DeepCopyInto(out *AzureStackHCIMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIMachineStatus ¶
type AzureStackHCIMachineStatus struct { // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // Addresses contains the Azure instance associated addresses. Addresses []v1.NodeAddress `json:"addresses,omitempty"` // VMState is the provisioning state of the Azure virtual machine. // +optional VMState *VMState `json:"vmState,omitempty"` // FailureReason will be set in the event that there is a terminal problem // reconciling the Machine and will contain a succinct value suitable // for machine interpretation. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` // FailureMessage will be set in the event that there is a terminal problem // reconciling the Machine and will contain a more verbose string suitable // for logging and human consumption. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional FailureMessage *string `json:"failureMessage,omitempty"` }
AzureStackHCIMachineStatus defines the observed state of AzureStackHCIMachine
func (*AzureStackHCIMachineStatus) DeepCopy ¶
func (in *AzureStackHCIMachineStatus) DeepCopy() *AzureStackHCIMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineStatus.
func (*AzureStackHCIMachineStatus) DeepCopyInto ¶
func (in *AzureStackHCIMachineStatus) DeepCopyInto(out *AzureStackHCIMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIMachineTemplate ¶
type AzureStackHCIMachineTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureStackHCIMachineTemplateSpec `json:"spec,omitempty"` }
AzureStackHCIMachineTemplate is the Schema for the azurestackhcimachinetemplates API
func (*AzureStackHCIMachineTemplate) DeepCopy ¶
func (in *AzureStackHCIMachineTemplate) DeepCopy() *AzureStackHCIMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineTemplate.
func (*AzureStackHCIMachineTemplate) DeepCopyInto ¶
func (in *AzureStackHCIMachineTemplate) DeepCopyInto(out *AzureStackHCIMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIMachineTemplate) DeepCopyObject ¶
func (in *AzureStackHCIMachineTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIMachineTemplate) Hub ¶
func (*AzureStackHCIMachineTemplate) Hub()
Hub marks AzureStackHCIMachineTemplate as a conversion hub.
func (*AzureStackHCIMachineTemplate) SetupWebhookWithManager ¶
func (r *AzureStackHCIMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
type AzureStackHCIMachineTemplateList ¶
type AzureStackHCIMachineTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureStackHCIMachineTemplate `json:"items"` }
AzureStackHCIMachineTemplateList contains a list of AzureStackHCIMachineTemplate
func (*AzureStackHCIMachineTemplateList) DeepCopy ¶
func (in *AzureStackHCIMachineTemplateList) DeepCopy() *AzureStackHCIMachineTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineTemplateList.
func (*AzureStackHCIMachineTemplateList) DeepCopyInto ¶
func (in *AzureStackHCIMachineTemplateList) DeepCopyInto(out *AzureStackHCIMachineTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIMachineTemplateList) DeepCopyObject ¶
func (in *AzureStackHCIMachineTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIMachineTemplateList) Hub ¶
func (*AzureStackHCIMachineTemplateList) Hub()
Hub marks AzureStackHCIMachineTemplateList as a conversion hub.
type AzureStackHCIMachineTemplateResource ¶
type AzureStackHCIMachineTemplateResource struct { // Spec is the specification of the desired behavior of the machine. Spec AzureStackHCIMachineSpec `json:"spec"` }
AzureStackHCIMachineTemplateResource describes the data needed to create an AzureStackHCIMachine from a template
func (*AzureStackHCIMachineTemplateResource) DeepCopy ¶
func (in *AzureStackHCIMachineTemplateResource) DeepCopy() *AzureStackHCIMachineTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineTemplateResource.
func (*AzureStackHCIMachineTemplateResource) DeepCopyInto ¶
func (in *AzureStackHCIMachineTemplateResource) DeepCopyInto(out *AzureStackHCIMachineTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIMachineTemplateSpec ¶
type AzureStackHCIMachineTemplateSpec struct {
Template AzureStackHCIMachineTemplateResource `json:"template"`
}
AzureStackHCIMachineTemplateSpec defines the desired state of AzureStackHCIMachineTemplate
func (*AzureStackHCIMachineTemplateSpec) DeepCopy ¶
func (in *AzureStackHCIMachineTemplateSpec) DeepCopy() *AzureStackHCIMachineTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIMachineTemplateSpec.
func (*AzureStackHCIMachineTemplateSpec) DeepCopyInto ¶
func (in *AzureStackHCIMachineTemplateSpec) DeepCopyInto(out *AzureStackHCIMachineTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIResourceReference ¶
type AzureStackHCIResourceReference struct { // ID of resource // +optional ID *string `json:"id,omitempty"` }
AzureStackHCIResourceReference is a reference to a specific Azure resource by ID
func (*AzureStackHCIResourceReference) DeepCopy ¶
func (in *AzureStackHCIResourceReference) DeepCopy() *AzureStackHCIResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIResourceReference.
func (*AzureStackHCIResourceReference) DeepCopyInto ¶
func (in *AzureStackHCIResourceReference) DeepCopyInto(out *AzureStackHCIResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIVirtualMachine ¶
type AzureStackHCIVirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureStackHCIVirtualMachineSpec `json:"spec,omitempty"` Status AzureStackHCIVirtualMachineStatus `json:"status,omitempty"` }
AzureStackHCIVirtualMachine is the Schema for the azurestackhcivirtualmachines API
func (*AzureStackHCIVirtualMachine) DeepCopy ¶
func (in *AzureStackHCIVirtualMachine) DeepCopy() *AzureStackHCIVirtualMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIVirtualMachine.
func (*AzureStackHCIVirtualMachine) DeepCopyInto ¶
func (in *AzureStackHCIVirtualMachine) DeepCopyInto(out *AzureStackHCIVirtualMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIVirtualMachine) DeepCopyObject ¶
func (in *AzureStackHCIVirtualMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIVirtualMachine) Hub ¶
func (*AzureStackHCIVirtualMachine) Hub()
Hub marks AzureStackHCIVirtualMachine as a conversion hub.
type AzureStackHCIVirtualMachineList ¶
type AzureStackHCIVirtualMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureStackHCIVirtualMachine `json:"items"` }
AzureStackHCIVirtualMachineList contains a list of AzureStackHCIVirtualMachine
func (*AzureStackHCIVirtualMachineList) DeepCopy ¶
func (in *AzureStackHCIVirtualMachineList) DeepCopy() *AzureStackHCIVirtualMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIVirtualMachineList.
func (*AzureStackHCIVirtualMachineList) DeepCopyInto ¶
func (in *AzureStackHCIVirtualMachineList) DeepCopyInto(out *AzureStackHCIVirtualMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureStackHCIVirtualMachineList) DeepCopyObject ¶
func (in *AzureStackHCIVirtualMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureStackHCIVirtualMachineList) Hub ¶
func (*AzureStackHCIVirtualMachineList) Hub()
Hub marks AzureStackHCIVirtualMachineList as a conversion hub.
type AzureStackHCIVirtualMachineSpec ¶
type AzureStackHCIVirtualMachineSpec struct { VMSize string `json:"vmSize"` AvailabilityZone AvailabilityZone `json:"availabilityZone,omitempty"` Image Image `json:"image"` OSDisk OSDisk `json:"osDisk,omitempty"` BootstrapData *string `json:"bootstrapData,omitempty"` Identity VMIdentity `json:"identity,omitempty"` Location string `json:"location"` // does location belong here? SSHPublicKey string `json:"sshPublicKey"` // come from the cluster scope for machine and lb controller creation path ResourceGroup string `json:"resourceGroup"` VnetName string `json:"vnetName"` ClusterName string `json:"clusterName"` SubnetName string `json:"subnetName"` BackendPoolName string `json:"backendPoolName,omitempty"` }
AzureStackHCIVirtualMachineSpec defines the desired state of AzureStackHCIVirtualMachine
func (*AzureStackHCIVirtualMachineSpec) DeepCopy ¶
func (in *AzureStackHCIVirtualMachineSpec) DeepCopy() *AzureStackHCIVirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIVirtualMachineSpec.
func (*AzureStackHCIVirtualMachineSpec) DeepCopyInto ¶
func (in *AzureStackHCIVirtualMachineSpec) DeepCopyInto(out *AzureStackHCIVirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureStackHCIVirtualMachineStatus ¶
type AzureStackHCIVirtualMachineStatus struct { // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // Addresses contains the AzureStackHCI instance associated addresses. Addresses []v1core.NodeAddress `json:"addresses,omitempty"` // VMState is the provisioning state of the AzureStackHCI virtual machine. // +optional VMState *VMState `json:"vmState,omitempty"` // +optional FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` // +optional FailureMessage *string `json:"failureMessage,omitempty"` }
AzureStackHCIVirtualMachineStatus defines the observed state of AzureStackHCIVirtualMachine
func (*AzureStackHCIVirtualMachineStatus) DeepCopy ¶
func (in *AzureStackHCIVirtualMachineStatus) DeepCopy() *AzureStackHCIVirtualMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStackHCIVirtualMachineStatus.
func (*AzureStackHCIVirtualMachineStatus) DeepCopyInto ¶
func (in *AzureStackHCIVirtualMachineStatus) DeepCopyInto(out *AzureStackHCIVirtualMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { Publisher *string `json:"publisher,omitempty"` Offer *string `json:"offer,omitempty"` SKU *string `json:"sku,omitempty"` ID *string `json:"id,omitempty"` SubscriptionID *string `json:"subscriptionID,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` Gallery *string `json:"gallery,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` OSType OSType `json:"osType"` }
Image defines information about the image to use for VM creation. There are three ways to specify an image: by ID, by publisher, or by Shared Image Gallery. If specifying an image by ID, only the ID field needs to be set. If specifying an image by publisher, the Publisher, Offer, SKU, and Version fields must be set. If specifying an image from a Shared Image Gallery, the SubscriptionID, ResourceGroup, Gallery, Name, and Version fields must be set.
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancer ¶
type LoadBalancer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LoadBalancerSpec `json:"spec,omitempty"` Status LoadBalancerStatus `json:"status,omitempty"` }
LoadBalancer is the Schema for the loadbalancers API
func (*LoadBalancer) DeepCopy ¶
func (in *LoadBalancer) DeepCopy() *LoadBalancer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer.
func (*LoadBalancer) DeepCopyInto ¶
func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancer) DeepCopyObject ¶
func (in *LoadBalancer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadBalancerList ¶
type LoadBalancerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LoadBalancer `json:"items"` }
LoadBalancerList contains a list of LoadBalancers
func (*LoadBalancerList) DeepCopy ¶
func (in *LoadBalancerList) DeepCopy() *LoadBalancerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerList.
func (*LoadBalancerList) DeepCopyInto ¶
func (in *LoadBalancerList) DeepCopyInto(out *LoadBalancerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoadBalancerList) DeepCopyObject ¶
func (in *LoadBalancerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LoadBalancerList) Hub ¶
func (*LoadBalancerList) Hub()
Hub marks LoadBalancerList as a conversion hub.
type LoadBalancerSpec ¶
type LoadBalancerSpec struct { SSHPublicKey string `json:"sshPublicKey"` Image Image `json:"image"` VMSize string `json:"vmSize"` }
func (*LoadBalancerSpec) DeepCopy ¶
func (in *LoadBalancerSpec) DeepCopy() *LoadBalancerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerSpec.
func (*LoadBalancerSpec) DeepCopyInto ¶
func (in *LoadBalancerSpec) DeepCopyInto(out *LoadBalancerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoadBalancerStatus ¶
type LoadBalancerStatus struct { // +optional Ready bool `json:"ready,omitempty"` // VMState is the provisioning state of the AzureStackHCI virtual machine. // +optional VMState *VMState `json:"vmState,omitempty"` // Address is the IP address of the load balancer. // +optional Address string `json:"address,omitempty"` // Port is the port of the loadbalancer frontend. Port int32 `json:"port,omitempty"` // ErrorReason will be set in the event that there is a terminal problem // reconciling the Machine and will contain a succinct value suitable // for machine interpretation. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional ErrorReason *errors.MachineStatusError `json:"errorReason,omitempty"` // ErrorMessage will be set in the event that there is a terminal problem // reconciling the Machine and will contain a more verbose string suitable // for logging and human consumption. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the Machine's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of Machines // can be added as events to the Machine object and/or logged in the // controller's output. // +optional ErrorMessage *string `json:"errorMessage,omitempty"` }
func (*LoadBalancerStatus) DeepCopy ¶
func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus.
func (*LoadBalancerStatus) DeepCopyInto ¶
func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedDisk ¶
type ManagedDisk struct {
StorageAccountType string `json:"storageAccountType"`
}
func (*ManagedDisk) DeepCopy ¶
func (in *ManagedDisk) DeepCopy() *ManagedDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedDisk.
func (*ManagedDisk) DeepCopyInto ¶
func (in *ManagedDisk) DeepCopyInto(out *ManagedDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { // Vnet is the configuration for the Azure virtual network. // +optional Vnet VnetSpec `json:"vnet,omitempty"` // Subnets is the configuration for the control-plane subnet and the node subnet. // +optional Subnets Subnets `json:"subnets,omitempty"` }
NetworkSpec encapsulates all things related to Azure network.
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OSDisk ¶
type OSDisk struct { Name string `json:"name"` Source string `json:"source"` OSType OSType `json:"osType"` DiskSizeGB int32 `json:"diskSizeGB"` ManagedDisk ManagedDisk `json:"managedDisk"` }
func (*OSDisk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSDisk.
func (*OSDisk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetSpec ¶
type SubnetSpec struct { // ID defines a unique identifier to reference this resource. ID string `json:"id,omitempty"` // Name defines a name for the subnet resource. Name string `json:"name"` // VnetID defines the ID of the virtual network this subnet should be built in. VnetID string `json:"vnetId"` // CidrBlock is the CIDR block to be used when the provider creates a managed Vnet. CidrBlock string `json:"cidrBlock,omitempty"` }
SubnetSpec configures an Azure subnet.
func (*SubnetSpec) DeepCopy ¶
func (in *SubnetSpec) DeepCopy() *SubnetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
func (*SubnetSpec) DeepCopyInto ¶
func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subnets ¶
type Subnets []*SubnetSpec
Subnets is a slice of Subnet.
func (Subnets) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets.
func (Subnets) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Subnets) ToMap ¶
func (s Subnets) ToMap() map[string]*SubnetSpec
ToMap returns a map from id to subnet.
type VM ¶
type VM struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` AvailabilityZone string `json:"availabilityZone,omitempty"` // Hardware profile VMSize string `json:"vmSize,omitempty"` // Storage profile Image Image `json:"image,omitempty"` OSDisk OSDisk `json:"osDisk,omitempty"` BootstrapData string `json:"bootstrapData,omitempty"` // State - The provisioning state, which only appears in the response. State VMState `json:"vmState,omitempty"` Identity VMIdentity `json:"identity,omitempty"` }
VM describes an Azure virtual machine.
func (*VM) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VM.
func (*VM) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMIdentity ¶
type VMIdentity string
VMIdentity defines the identity of the virtual machine, if configured.
type VnetSpec ¶
type VnetSpec struct { // ID is the identifier of the virtual network this provider should use to create resources. ID string `json:"id,omitempty"` // Name defines a name for the virtual network resource. Name string `json:"name"` // CidrBlock is the CIDR block to be used when the provider creates a managed virtual network. CidrBlock string `json:"cidrBlock,omitempty"` }
VnetSpec configures an Azure virtual network.
func (*VnetSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VnetSpec.
func (*VnetSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- azurestackhcicluster_conversion.go
- azurestackhcicluster_types.go
- azurestackhcicluster_webhook.go
- azurestackhcimachine_conversion.go
- azurestackhcimachine_types.go
- azurestackhcimachine_webhook.go
- azurestackhcimachinetemplate_conversion.go
- azurestackhcimachinetemplate_types.go
- azurestackhcimachinetemplate_webhook.go
- azurestackhcivirtualmachine_conversion.go
- azurestackhcivirtualmachine_types.go
- decode.go
- groupversion_info.go
- loadbalancer_conversion.go
- loadbalancer_types.go
- types.go
- zz_generated.deepcopy.go