Documentation ¶
Overview ¶
Package v1alpha1 contains the remedy controller Azure API resources. +groupName="azure.remedy.gardener.cloud"
Index ¶
- Constants
- Variables
- func Convert_azure_FailedOperation_To_v1alpha1_FailedOperation(in *azure.FailedOperation, out *FailedOperation, s conversion.Scope) error
- func Convert_azure_PublicIPAddressList_To_v1alpha1_PublicIPAddressList(in *azure.PublicIPAddressList, out *PublicIPAddressList, s conversion.Scope) error
- func Convert_azure_PublicIPAddressSpec_To_v1alpha1_PublicIPAddressSpec(in *azure.PublicIPAddressSpec, out *PublicIPAddressSpec, s conversion.Scope) error
- func Convert_azure_PublicIPAddressStatus_To_v1alpha1_PublicIPAddressStatus(in *azure.PublicIPAddressStatus, out *PublicIPAddressStatus, ...) error
- func Convert_azure_PublicIPAddress_To_v1alpha1_PublicIPAddress(in *azure.PublicIPAddress, out *PublicIPAddress, s conversion.Scope) error
- func Convert_azure_VirtualMachineList_To_v1alpha1_VirtualMachineList(in *azure.VirtualMachineList, out *VirtualMachineList, s conversion.Scope) error
- func Convert_azure_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec(in *azure.VirtualMachineSpec, out *VirtualMachineSpec, s conversion.Scope) error
- func Convert_azure_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus(in *azure.VirtualMachineStatus, out *VirtualMachineStatus, s conversion.Scope) error
- func Convert_azure_VirtualMachine_To_v1alpha1_VirtualMachine(in *azure.VirtualMachine, out *VirtualMachine, s conversion.Scope) error
- func Convert_v1alpha1_FailedOperation_To_azure_FailedOperation(in *FailedOperation, out *azure.FailedOperation, s conversion.Scope) error
- func Convert_v1alpha1_PublicIPAddressList_To_azure_PublicIPAddressList(in *PublicIPAddressList, out *azure.PublicIPAddressList, s conversion.Scope) error
- func Convert_v1alpha1_PublicIPAddressSpec_To_azure_PublicIPAddressSpec(in *PublicIPAddressSpec, out *azure.PublicIPAddressSpec, s conversion.Scope) error
- func Convert_v1alpha1_PublicIPAddressStatus_To_azure_PublicIPAddressStatus(in *PublicIPAddressStatus, out *azure.PublicIPAddressStatus, ...) error
- func Convert_v1alpha1_PublicIPAddress_To_azure_PublicIPAddress(in *PublicIPAddress, out *azure.PublicIPAddress, s conversion.Scope) error
- func Convert_v1alpha1_VirtualMachineList_To_azure_VirtualMachineList(in *VirtualMachineList, out *azure.VirtualMachineList, s conversion.Scope) error
- func Convert_v1alpha1_VirtualMachineSpec_To_azure_VirtualMachineSpec(in *VirtualMachineSpec, out *azure.VirtualMachineSpec, s conversion.Scope) error
- func Convert_v1alpha1_VirtualMachineStatus_To_azure_VirtualMachineStatus(in *VirtualMachineStatus, out *azure.VirtualMachineStatus, s conversion.Scope) error
- func Convert_v1alpha1_VirtualMachine_To_azure_VirtualMachine(in *VirtualMachine, out *azure.VirtualMachine, s conversion.Scope) error
- func DeleteFailedOperation(failedOperations *[]FailedOperation, opType OperationType)
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type FailedOperation
- type OperationType
- type PublicIPAddress
- type PublicIPAddressList
- type PublicIPAddressSpec
- type PublicIPAddressStatus
- type VirtualMachine
- type VirtualMachineList
- type VirtualMachineSpec
- type VirtualMachineStatus
Constants ¶
const GroupName = "azure.remedy.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_azure_FailedOperation_To_v1alpha1_FailedOperation ¶
func Convert_azure_FailedOperation_To_v1alpha1_FailedOperation(in *azure.FailedOperation, out *FailedOperation, s conversion.Scope) error
Convert_azure_FailedOperation_To_v1alpha1_FailedOperation is an autogenerated conversion function.
func Convert_azure_PublicIPAddressList_To_v1alpha1_PublicIPAddressList ¶
func Convert_azure_PublicIPAddressList_To_v1alpha1_PublicIPAddressList(in *azure.PublicIPAddressList, out *PublicIPAddressList, s conversion.Scope) error
Convert_azure_PublicIPAddressList_To_v1alpha1_PublicIPAddressList is an autogenerated conversion function.
func Convert_azure_PublicIPAddressSpec_To_v1alpha1_PublicIPAddressSpec ¶
func Convert_azure_PublicIPAddressSpec_To_v1alpha1_PublicIPAddressSpec(in *azure.PublicIPAddressSpec, out *PublicIPAddressSpec, s conversion.Scope) error
Convert_azure_PublicIPAddressSpec_To_v1alpha1_PublicIPAddressSpec is an autogenerated conversion function.
func Convert_azure_PublicIPAddressStatus_To_v1alpha1_PublicIPAddressStatus ¶
func Convert_azure_PublicIPAddressStatus_To_v1alpha1_PublicIPAddressStatus(in *azure.PublicIPAddressStatus, out *PublicIPAddressStatus, s conversion.Scope) error
Convert_azure_PublicIPAddressStatus_To_v1alpha1_PublicIPAddressStatus is an autogenerated conversion function.
func Convert_azure_PublicIPAddress_To_v1alpha1_PublicIPAddress ¶
func Convert_azure_PublicIPAddress_To_v1alpha1_PublicIPAddress(in *azure.PublicIPAddress, out *PublicIPAddress, s conversion.Scope) error
Convert_azure_PublicIPAddress_To_v1alpha1_PublicIPAddress is an autogenerated conversion function.
func Convert_azure_VirtualMachineList_To_v1alpha1_VirtualMachineList ¶
func Convert_azure_VirtualMachineList_To_v1alpha1_VirtualMachineList(in *azure.VirtualMachineList, out *VirtualMachineList, s conversion.Scope) error
Convert_azure_VirtualMachineList_To_v1alpha1_VirtualMachineList is an autogenerated conversion function.
func Convert_azure_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec ¶
func Convert_azure_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec(in *azure.VirtualMachineSpec, out *VirtualMachineSpec, s conversion.Scope) error
Convert_azure_VirtualMachineSpec_To_v1alpha1_VirtualMachineSpec is an autogenerated conversion function.
func Convert_azure_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus ¶
func Convert_azure_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus(in *azure.VirtualMachineStatus, out *VirtualMachineStatus, s conversion.Scope) error
Convert_azure_VirtualMachineStatus_To_v1alpha1_VirtualMachineStatus is an autogenerated conversion function.
func Convert_azure_VirtualMachine_To_v1alpha1_VirtualMachine ¶
func Convert_azure_VirtualMachine_To_v1alpha1_VirtualMachine(in *azure.VirtualMachine, out *VirtualMachine, s conversion.Scope) error
Convert_azure_VirtualMachine_To_v1alpha1_VirtualMachine is an autogenerated conversion function.
func Convert_v1alpha1_FailedOperation_To_azure_FailedOperation ¶
func Convert_v1alpha1_FailedOperation_To_azure_FailedOperation(in *FailedOperation, out *azure.FailedOperation, s conversion.Scope) error
Convert_v1alpha1_FailedOperation_To_azure_FailedOperation is an autogenerated conversion function.
func Convert_v1alpha1_PublicIPAddressList_To_azure_PublicIPAddressList ¶
func Convert_v1alpha1_PublicIPAddressList_To_azure_PublicIPAddressList(in *PublicIPAddressList, out *azure.PublicIPAddressList, s conversion.Scope) error
Convert_v1alpha1_PublicIPAddressList_To_azure_PublicIPAddressList is an autogenerated conversion function.
func Convert_v1alpha1_PublicIPAddressSpec_To_azure_PublicIPAddressSpec ¶
func Convert_v1alpha1_PublicIPAddressSpec_To_azure_PublicIPAddressSpec(in *PublicIPAddressSpec, out *azure.PublicIPAddressSpec, s conversion.Scope) error
Convert_v1alpha1_PublicIPAddressSpec_To_azure_PublicIPAddressSpec is an autogenerated conversion function.
func Convert_v1alpha1_PublicIPAddressStatus_To_azure_PublicIPAddressStatus ¶
func Convert_v1alpha1_PublicIPAddressStatus_To_azure_PublicIPAddressStatus(in *PublicIPAddressStatus, out *azure.PublicIPAddressStatus, s conversion.Scope) error
Convert_v1alpha1_PublicIPAddressStatus_To_azure_PublicIPAddressStatus is an autogenerated conversion function.
func Convert_v1alpha1_PublicIPAddress_To_azure_PublicIPAddress ¶
func Convert_v1alpha1_PublicIPAddress_To_azure_PublicIPAddress(in *PublicIPAddress, out *azure.PublicIPAddress, s conversion.Scope) error
Convert_v1alpha1_PublicIPAddress_To_azure_PublicIPAddress is an autogenerated conversion function.
func Convert_v1alpha1_VirtualMachineList_To_azure_VirtualMachineList ¶
func Convert_v1alpha1_VirtualMachineList_To_azure_VirtualMachineList(in *VirtualMachineList, out *azure.VirtualMachineList, s conversion.Scope) error
Convert_v1alpha1_VirtualMachineList_To_azure_VirtualMachineList is an autogenerated conversion function.
func Convert_v1alpha1_VirtualMachineSpec_To_azure_VirtualMachineSpec ¶
func Convert_v1alpha1_VirtualMachineSpec_To_azure_VirtualMachineSpec(in *VirtualMachineSpec, out *azure.VirtualMachineSpec, s conversion.Scope) error
Convert_v1alpha1_VirtualMachineSpec_To_azure_VirtualMachineSpec is an autogenerated conversion function.
func Convert_v1alpha1_VirtualMachineStatus_To_azure_VirtualMachineStatus ¶
func Convert_v1alpha1_VirtualMachineStatus_To_azure_VirtualMachineStatus(in *VirtualMachineStatus, out *azure.VirtualMachineStatus, s conversion.Scope) error
Convert_v1alpha1_VirtualMachineStatus_To_azure_VirtualMachineStatus is an autogenerated conversion function.
func Convert_v1alpha1_VirtualMachine_To_azure_VirtualMachine ¶
func Convert_v1alpha1_VirtualMachine_To_azure_VirtualMachine(in *VirtualMachine, out *azure.VirtualMachine, s conversion.Scope) error
Convert_v1alpha1_VirtualMachine_To_azure_VirtualMachine is an autogenerated conversion function.
func DeleteFailedOperation ¶
func DeleteFailedOperation(failedOperations *[]FailedOperation, opType OperationType)
DeleteFailedOperation deletes the FailedOperation of the given type from the given slice, if found.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type FailedOperation ¶
type FailedOperation struct { // Type is the operation type. Type OperationType `json:"type"` // Attempts is the number of times the operation was attempted so far. Attempts int `json:"attempts"` // ErrorMessage is a the error message from the last operation failure. ErrorMessage string `json:"errorMessage"` // Timestamp is the timestamp of the last operation failure. Timestamp metav1.Time `json:"timestamp"` }
FailedOperation describes a failed Azure operation that has been attempted a certain number of times.
func AddOrUpdateFailedOperation ¶
func AddOrUpdateFailedOperation(failedOperations *[]FailedOperation, opType OperationType, errorMessage string, timestamp metav1.Time) *FailedOperation
AddOrUpdateFailedOperation adds a new or updates an existing FailedOperation of the given type in the given slice.
func (*FailedOperation) DeepCopy ¶
func (in *FailedOperation) DeepCopy() *FailedOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailedOperation.
func (*FailedOperation) DeepCopyInto ¶
func (in *FailedOperation) DeepCopyInto(out *FailedOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationType ¶
type OperationType string
OperationType is a string alias. +kubebuilder:validation:Enum=GetPublicIPAddress;CleanPublicIPAddress;GetVirtualMachine;ReapplyVirtualMachine
const ( OperationTypeGetPublicIPAddress OperationType = "GetPublicIPAddress" OperationTypeCleanPublicIPAddress OperationType = "CleanPublicIPAddress" OperationTypeGetVirtualMachine OperationType = "GetVirtualMachine" OperationTypeReapplyVirtualMachine OperationType = "ReapplyVirtualMachine" )
Operation types
type PublicIPAddress ¶
type PublicIPAddress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PublicIPAddressSpec `json:"spec,omitempty"` Status PublicIPAddressStatus `json:"status,omitempty"` }
PublicIPAddress represents an Azure public IP address.
func (*PublicIPAddress) DeepCopy ¶
func (in *PublicIPAddress) DeepCopy() *PublicIPAddress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddress.
func (*PublicIPAddress) DeepCopyInto ¶
func (in *PublicIPAddress) DeepCopyInto(out *PublicIPAddress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicIPAddress) DeepCopyObject ¶
func (in *PublicIPAddress) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicIPAddressList ¶
type PublicIPAddressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PublicIPAddress `json:"items"` }
PublicIPAddressList contains a list of PublicIPAddress.
func (*PublicIPAddressList) DeepCopy ¶
func (in *PublicIPAddressList) DeepCopy() *PublicIPAddressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressList.
func (*PublicIPAddressList) DeepCopyInto ¶
func (in *PublicIPAddressList) DeepCopyInto(out *PublicIPAddressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicIPAddressList) DeepCopyObject ¶
func (in *PublicIPAddressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicIPAddressSpec ¶
type PublicIPAddressSpec struct { // IPAddres is the actual IP address of the public IP address resource in Azure. IPAddress string `json:"ipAddress"` }
PublicIPAddressSpec represents the spec of an Azure public IP address.
func (*PublicIPAddressSpec) DeepCopy ¶
func (in *PublicIPAddressSpec) DeepCopy() *PublicIPAddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressSpec.
func (*PublicIPAddressSpec) DeepCopyInto ¶
func (in *PublicIPAddressSpec) DeepCopyInto(out *PublicIPAddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicIPAddressStatus ¶
type PublicIPAddressStatus struct { // Exists specifies whether the public IP address resource exists or not. Exists bool `json:"exists"` // ID is the id of the public IP address resource in Azure. ID *string `json:"id,omitempty"` // Name is the name of the public IP address resource in Azure. Name *string `json:"name,omitempty"` // ProvisioningState is the provisioning state of the public IP address resource in Azure. ProvisioningState *string `json:"provisioningState,omitempty"` // FailedOperations is a list of all failed operations on the virtual machine resource in Azure. FailedOperations []FailedOperation `json:"failedOperations,omitempty"` }
PublicIPAddressStatus represents the status of an Azure public IP address.
func (*PublicIPAddressStatus) DeepCopy ¶
func (in *PublicIPAddressStatus) DeepCopy() *PublicIPAddressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicIPAddressStatus.
func (*PublicIPAddressStatus) DeepCopyInto ¶
func (in *PublicIPAddressStatus) DeepCopyInto(out *PublicIPAddressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachine ¶
type VirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VirtualMachineSpec `json:"spec,omitempty"` Status VirtualMachineStatus `json:"status,omitempty"` }
VirtualMachine represents an Azure virtual machine.
func (*VirtualMachine) DeepCopy ¶
func (in *VirtualMachine) DeepCopy() *VirtualMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachine.
func (*VirtualMachine) DeepCopyInto ¶
func (in *VirtualMachine) DeepCopyInto(out *VirtualMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachine) DeepCopyObject ¶
func (in *VirtualMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineList ¶
type VirtualMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VirtualMachine `json:"items"` }
VirtualMachineList contains a list of VirtualMachine.
func (*VirtualMachineList) DeepCopy ¶
func (in *VirtualMachineList) DeepCopy() *VirtualMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineList.
func (*VirtualMachineList) DeepCopyInto ¶
func (in *VirtualMachineList) DeepCopyInto(out *VirtualMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VirtualMachineList) DeepCopyObject ¶
func (in *VirtualMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VirtualMachineSpec ¶
type VirtualMachineSpec struct { // Hostname is the hostname of the Kubernetes node for this virtual machine. Hostname string `json:"hostname"` // ProviderID is the provider ID of the Kubernetes node for this virtual machine. ProviderID string `json:"providerID"` // NotReadyOrUnreachable is whether the Kubernetes node for this virtual machine is either not ready or unreachable. NotReadyOrUnreachable bool `json:"notReadyOrUnreachable"` }
VirtualMachineSpec represents the spec of an Azure virtual machine.
func (*VirtualMachineSpec) DeepCopy ¶
func (in *VirtualMachineSpec) DeepCopy() *VirtualMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineSpec.
func (*VirtualMachineSpec) DeepCopyInto ¶
func (in *VirtualMachineSpec) DeepCopyInto(out *VirtualMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualMachineStatus ¶
type VirtualMachineStatus struct { // Exists specifies whether the virtual machine resource exists or not. Exists bool `json:"exists"` // ID is the id of the virtual machine resource in Azure. ID *string `json:"id,omitempty"` // Name is the name of the virtual machine resource in Azure. Name *string `json:"name,omitempty"` // ProvisioningState is the provisioning state of the virtual machine resource in Azure. ProvisioningState *string `json:"provisioningState,omitempty"` // FailedOperations is a list of all failed operations on the virtual machine resource in Azure. FailedOperations []FailedOperation `json:"failedOperations,omitempty"` }
VirtualMachineStatus represents the status of an Azure virtual machine.
func (*VirtualMachineStatus) DeepCopy ¶
func (in *VirtualMachineStatus) DeepCopy() *VirtualMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineStatus.
func (*VirtualMachineStatus) DeepCopyInto ¶
func (in *VirtualMachineStatus) DeepCopyInto(out *VirtualMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.