Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- 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 ( // SchemeBuilder used to register the resources in this package. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 // Attempts is the number of times the operation was attempted so far. Attempts int // ErrorMessage is a the error message from the last operation failure. ErrorMessage string // Timestamp is the timestamp of the last operation failure. Timestamp metav1.Time }
FailedOperation describes a failed Azure operation that has been attempted a certain number of times.
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.
const ( OperationTypeGetPublicIPAddress OperationType = "GetPublicIPAddress" OperationTypeCleanPublicIPAddress OperationType = "CleanPublicIPAddress" OperationTypeGetVirtualMachine OperationType = "GetVirtualMachine" OperationTypeReapplyVirtualMachine OperationType = "ReapplyVirtualMachine" )
Operation types
type PublicIPAddress ¶
type PublicIPAddress struct { metav1.TypeMeta metav1.ObjectMeta Spec PublicIPAddressSpec Status PublicIPAddressStatus }
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 metav1.ListMeta Items []PublicIPAddress }
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 }
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 // ID is the id of the public IP address resource in Azure. ID *string // Name is the name of the public IP address resource in Azure. Name *string // ProvisioningState is the provisioning state of the public IP address resource in Azure. ProvisioningState *string // FailedOperations is a list of all failed operations on the virtual machine resource in Azure. FailedOperations []FailedOperation }
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 metav1.ObjectMeta Spec VirtualMachineSpec Status VirtualMachineStatus }
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 metav1.ListMeta Items []VirtualMachine }
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 // ProviderID is the provider ID of the Kubernetes node for this virtual machine. ProviderID string // NotReadyOrUnreachable is whether the Kubernetes node for this virtual machine is either not ready or unreachable. NotReadyOrUnreachable bool }
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 // ID is the id of the virtual machine resource in Azure. ID *string // Name is the name of the virtual machine resource in Azure. Name *string // ProvisioningState is the provisioning state of the virtual machine resource in Azure. ProvisioningState *string // FailedOperations is a list of all failed operations on the virtual machine resource in Azure. FailedOperations []FailedOperation }
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.