Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_packet_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *packet.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
- func Convert_packet_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *packet.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
- func Convert_packet_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *packet.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
- func Convert_packet_MachineImage_To_v1alpha1_MachineImage(in *packet.MachineImage, out *MachineImage, s conversion.Scope) error
- func Convert_packet_WorkerStatus_To_v1alpha1_WorkerStatus(in *packet.WorkerStatus, out *WorkerStatus, s conversion.Scope) error
- func Convert_v1alpha1_ControlPlaneConfig_To_packet_ControlPlaneConfig(in *ControlPlaneConfig, out *packet.ControlPlaneConfig, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureConfig_To_packet_InfrastructureConfig(in *InfrastructureConfig, out *packet.InfrastructureConfig, s conversion.Scope) error
- func Convert_v1alpha1_InfrastructureStatus_To_packet_InfrastructureStatus(in *InfrastructureStatus, out *packet.InfrastructureStatus, s conversion.Scope) error
- func Convert_v1alpha1_MachineImage_To_packet_MachineImage(in *MachineImage, out *packet.MachineImage, s conversion.Scope) error
- func Convert_v1alpha1_WorkerStatus_To_packet_WorkerStatus(in *WorkerStatus, out *packet.WorkerStatus, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ControlPlaneConfig
- type InfrastructureConfig
- type InfrastructureStatus
- type MachineImage
- type WorkerStatus
Constants ¶
const GroupName = "packet.provider.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // 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_packet_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig ¶
func Convert_packet_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *packet.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error
Convert_packet_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.
func Convert_packet_InfrastructureConfig_To_v1alpha1_InfrastructureConfig ¶
func Convert_packet_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *packet.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error
Convert_packet_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.
func Convert_packet_InfrastructureStatus_To_v1alpha1_InfrastructureStatus ¶
func Convert_packet_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *packet.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error
Convert_packet_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.
func Convert_packet_MachineImage_To_v1alpha1_MachineImage ¶
func Convert_packet_MachineImage_To_v1alpha1_MachineImage(in *packet.MachineImage, out *MachineImage, s conversion.Scope) error
Convert_packet_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.
func Convert_packet_WorkerStatus_To_v1alpha1_WorkerStatus ¶
func Convert_packet_WorkerStatus_To_v1alpha1_WorkerStatus(in *packet.WorkerStatus, out *WorkerStatus, s conversion.Scope) error
Convert_packet_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.
func Convert_v1alpha1_ControlPlaneConfig_To_packet_ControlPlaneConfig ¶
func Convert_v1alpha1_ControlPlaneConfig_To_packet_ControlPlaneConfig(in *ControlPlaneConfig, out *packet.ControlPlaneConfig, s conversion.Scope) error
Convert_v1alpha1_ControlPlaneConfig_To_packet_ControlPlaneConfig is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureConfig_To_packet_InfrastructureConfig ¶
func Convert_v1alpha1_InfrastructureConfig_To_packet_InfrastructureConfig(in *InfrastructureConfig, out *packet.InfrastructureConfig, s conversion.Scope) error
Convert_v1alpha1_InfrastructureConfig_To_packet_InfrastructureConfig is an autogenerated conversion function.
func Convert_v1alpha1_InfrastructureStatus_To_packet_InfrastructureStatus ¶
func Convert_v1alpha1_InfrastructureStatus_To_packet_InfrastructureStatus(in *InfrastructureStatus, out *packet.InfrastructureStatus, s conversion.Scope) error
Convert_v1alpha1_InfrastructureStatus_To_packet_InfrastructureStatus is an autogenerated conversion function.
func Convert_v1alpha1_MachineImage_To_packet_MachineImage ¶
func Convert_v1alpha1_MachineImage_To_packet_MachineImage(in *MachineImage, out *packet.MachineImage, s conversion.Scope) error
Convert_v1alpha1_MachineImage_To_packet_MachineImage is an autogenerated conversion function.
func Convert_v1alpha1_WorkerStatus_To_packet_WorkerStatus ¶
func Convert_v1alpha1_WorkerStatus_To_packet_WorkerStatus(in *WorkerStatus, out *packet.WorkerStatus, s conversion.Scope) error
Convert_v1alpha1_WorkerStatus_To_packet_WorkerStatus is an autogenerated conversion function.
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 ControlPlaneConfig ¶
ControlPlaneConfig contains configuration settings for the control plane.
func (*ControlPlaneConfig) DeepCopy ¶
func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.
func (*ControlPlaneConfig) DeepCopyInto ¶
func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneConfig) DeepCopyObject ¶
func (in *ControlPlaneConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureConfig ¶
InfrastructureConfig infrastructure configuration resource
func (*InfrastructureConfig) DeepCopy ¶
func (in *InfrastructureConfig) DeepCopy() *InfrastructureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureConfig.
func (*InfrastructureConfig) DeepCopyInto ¶
func (in *InfrastructureConfig) DeepCopyInto(out *InfrastructureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureConfig) DeepCopyObject ¶
func (in *InfrastructureConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureStatus ¶
type InfrastructureStatus struct { metav1.TypeMeta `json:",inline"` SSHKeyID string `json:"sshKeyID"` }
InfrastructureStatus contains information about created infrastructure resources.
func (*InfrastructureStatus) DeepCopy ¶
func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStatus.
func (*InfrastructureStatus) DeepCopyInto ¶
func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureStatus) DeepCopyObject ¶
func (in *InfrastructureStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineImage ¶
type MachineImage struct { // Name is the logical name of the machine image. Name string `json:"name"` // Version is the logical version of the machine image. Version string `json:"version"` // ID is the id of the image. ID string `json:"id"` }
MachineImage is a mapping from logical names and versions to provider-specific machine image data.
func (*MachineImage) DeepCopy ¶
func (in *MachineImage) DeepCopy() *MachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.
func (*MachineImage) DeepCopyInto ¶
func (in *MachineImage) DeepCopyInto(out *MachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerStatus ¶
type WorkerStatus struct { metav1.TypeMeta `json:",inline"` // MachineImages is a list of machine images that have been used in this worker. Usually, the extension controller // gets the mapping from name/version to the provider-specific machine image data in its componentconfig. However, if // a version that is still in use gets removed from this componentconfig it cannot reconcile anymore existing `Worker` // resources that are still using this version. Hence, it stores the used versions in the provider status to ensure // reconciliation is possible. // +optional MachineImages []MachineImage `json:"machineImages,omitempty"` }
WorkerStatus contains information about created worker resources.
func (*WorkerStatus) DeepCopy ¶
func (in *WorkerStatus) DeepCopy() *WorkerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerStatus.
func (*WorkerStatus) DeepCopyInto ¶
func (in *WorkerStatus) DeepCopyInto(out *WorkerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerStatus) DeepCopyObject ¶
func (in *WorkerStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.