v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=pi.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: pi.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Capture

type Capture struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CaptureSpec   `json:"spec,omitempty"`
	Status            CaptureStatus `json:"status,omitempty"`
}

func (*Capture) DeepCopy

func (in *Capture) DeepCopy() *Capture

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capture.

func (*Capture) DeepCopyInto

func (in *Capture) DeepCopyInto(out *Capture)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Capture) DeepCopyObject

func (in *Capture) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Capture) SetupWebhookWithManager

func (r *Capture) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Capture) ValidateCreate

func (r *Capture) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Capture) ValidateDelete

func (r *Capture) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Capture) ValidateUpdate

func (r *Capture) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CaptureList

type CaptureList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Capture CRD objects
	Items []Capture `json:"items,omitempty"`
}

CaptureList is a list of Captures

func (*CaptureList) DeepCopy

func (in *CaptureList) DeepCopy() *CaptureList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureList.

func (*CaptureList) DeepCopyInto

func (in *CaptureList) DeepCopyInto(out *CaptureList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CaptureList) DeepCopyObject

func (in *CaptureList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CaptureSpec

type CaptureSpec struct {
	State *CaptureSpecResource `json:"state,omitempty" tf:"-"`

	Resource CaptureSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CaptureSpec) DeepCopy

func (in *CaptureSpec) DeepCopy() *CaptureSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureSpec.

func (*CaptureSpec) DeepCopyInto

func (in *CaptureSpec) DeepCopyInto(out *CaptureSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CaptureSpecResource

type CaptureSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of Cloud Storage Access Key
	// +optional
	PiCaptureCloudStorageAccessKey *string `json:"piCaptureCloudStorageAccessKey,omitempty" tf:"pi_capture_cloud_storage_access_key"`
	// List of Regions to use
	// +optional
	PiCaptureCloudStorageRegion *string `json:"piCaptureCloudStorageRegion,omitempty" tf:"pi_capture_cloud_storage_region"`
	// Name of the Cloud Storage Secret Key
	// +optional
	PiCaptureCloudStorageSecretKey *string `json:"piCaptureCloudStorageSecretKey,omitempty" tf:"pi_capture_cloud_storage_secret_key"`
	// Name of destination to store the image capture to
	PiCaptureDestination *string `json:"piCaptureDestination" tf:"pi_capture_destination"`
	// Name of the capture to create. Note : this must be unique
	PiCaptureName *string `json:"piCaptureName" tf:"pi_capture_name"`
	// Name of the Image Path
	// +optional
	PiCaptureStorageImagePath *string `json:"piCaptureStorageImagePath,omitempty" tf:"pi_capture_storage_image_path"`
	// List of volume names that need to be passed in the input
	// +optional
	PiCaptureVolumeIDS *string `json:"piCaptureVolumeIDS,omitempty" tf:"pi_capture_volume_ids"`
	//  Cloud Instance ID - This is the service_instance_id.
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Instance Name of the Power VM
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
}

func (*CaptureSpecResource) DeepCopy

func (in *CaptureSpecResource) DeepCopy() *CaptureSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureSpecResource.

func (*CaptureSpecResource) DeepCopyInto

func (in *CaptureSpecResource) DeepCopyInto(out *CaptureSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CaptureStatus

type CaptureStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CaptureStatus) DeepCopy

func (in *CaptureStatus) DeepCopy() *CaptureStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CaptureStatus.

func (*CaptureStatus) DeepCopyInto

func (in *CaptureStatus) DeepCopyInto(out *CaptureStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ImageSpec   `json:"spec,omitempty"`
	Status            ImageStatus `json:"status,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Image) DeepCopyObject

func (in *Image) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Image) SetupWebhookWithManager

func (r *Image) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Image) ValidateCreate

func (r *Image) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Image) ValidateDelete

func (r *Image) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Image) ValidateUpdate

func (r *Image) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ImageList

type ImageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Image CRD objects
	Items []Image `json:"items,omitempty"`
}

ImageList is a list of Images

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageList) DeepCopyObject

func (in *ImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ImageSpec

type ImageSpec struct {
	State *ImageSpecResource `json:"state,omitempty" tf:"-"`

	Resource ImageSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageSpecResource

type ImageSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Image ID
	// +optional
	ImageID *string `json:"imageID,omitempty" tf:"image_id"`
	// PI cloud instance ID
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Instance image name
	PiImageID *string `json:"piImageID" tf:"pi_image_id"`
	// Image name
	PiImageName *string `json:"piImageName" tf:"pi_image_name"`
}

func (*ImageSpecResource) DeepCopy

func (in *ImageSpecResource) DeepCopy() *ImageSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpecResource.

func (*ImageSpecResource) DeepCopyInto

func (in *ImageSpecResource) DeepCopyInto(out *ImageSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageStatus

type ImageStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Instance

type Instance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InstanceSpec   `json:"spec,omitempty"`
	Status            InstanceStatus `json:"status,omitempty"`
}

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Instance) DeepCopyObject

func (in *Instance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Instance) SetupWebhookWithManager

func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Instance) ValidateCreate

func (r *Instance) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Instance) ValidateDelete

func (r *Instance) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Instance) ValidateUpdate

func (r *Instance) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type InstanceList

type InstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Instance CRD objects
	Items []Instance `json:"items,omitempty"`
}

InstanceList is a list of Instances

func (*InstanceList) DeepCopy

func (in *InstanceList) DeepCopy() *InstanceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.

func (*InstanceList) DeepCopyInto

func (in *InstanceList) DeepCopyInto(out *InstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InstanceList) DeepCopyObject

func (in *InstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InstanceSpec

type InstanceSpec struct {
	State *InstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource InstanceSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*InstanceSpec) DeepCopy

func (in *InstanceSpec) DeepCopy() *InstanceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.

func (*InstanceSpec) DeepCopyInto

func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceSpecAddresses

type InstanceSpecAddresses struct {
	// +optional
	ExternalIP *string `json:"externalIP,omitempty" tf:"external_ip"`
	// +optional
	Ip *string `json:"ip,omitempty" tf:"ip"`
	// +optional
	Macaddress *string `json:"macaddress,omitempty" tf:"macaddress"`
	// +optional
	NetworkID *string `json:"networkID,omitempty" tf:"network_id"`
	// +optional
	NetworkName *string `json:"networkName,omitempty" tf:"network_name"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*InstanceSpecAddresses) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecAddresses.

func (*InstanceSpecAddresses) DeepCopyInto

func (in *InstanceSpecAddresses) DeepCopyInto(out *InstanceSpecAddresses)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceSpecResource

type InstanceSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addresses []InstanceSpecAddresses `json:"addresses,omitempty" tf:"addresses"`
	// PI Instance health status
	// +optional
	HealthStatus *string `json:"healthStatus,omitempty" tf:"health_status"`
	// Instance ID
	// +optional
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	// Maximum memory size
	// +optional
	MaxMemory *float64 `json:"maxMemory,omitempty" tf:"max_memory"`
	// Maximum number of processors
	// +optional
	MaxProcessors *float64 `json:"maxProcessors,omitempty" tf:"max_processors"`
	// Maximum Virtual Cores Assigned to the PVMInstance
	// +optional
	MaxVirtualCores *int64 `json:"maxVirtualCores,omitempty" tf:"max_virtual_cores"`
	// set to true to enable migration of the PI instance
	// +optional
	// Deprecated
	Migratable *bool `json:"migratable,omitempty" tf:"migratable"`
	// Minimum memory
	// +optional
	MinMemory *float64 `json:"minMemory,omitempty" tf:"min_memory"`
	// Minimum number of the CPUs
	// +optional
	MinProcessors *float64 `json:"minProcessors,omitempty" tf:"min_processors"`
	// Minimum Virtual Cores Assigned to the PVMInstance
	// +optional
	MinVirtualCores *int64 `json:"minVirtualCores,omitempty" tf:"min_virtual_cores"`
	// Operating System
	// +optional
	OperatingSystem *string `json:"operatingSystem,omitempty" tf:"operating_system"`
	// OS Type
	// +optional
	OsType *string `json:"osType,omitempty" tf:"os_type"`
	// This is the Power Instance id that is assigned to the account
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Allow the user to set the status of the lpar so that they can connect to it faster
	// +optional
	PiHealthStatus *string `json:"piHealthStatus,omitempty" tf:"pi_health_status"`
	// PI instance image name
	PiImageID *string `json:"piImageID" tf:"pi_image_id"`
	// PI Instance name
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
	// SSH key name
	PiKeyPairName *string `json:"piKeyPairName" tf:"pi_key_pair_name"`
	// Memory size
	PiMemory *float64 `json:"piMemory" tf:"pi_memory"`
	// set to true to enable migration of the PI instance
	// +optional
	PiMigratable *bool `json:"piMigratable,omitempty" tf:"pi_migratable"`
	// List of Networks that have been configured for the account
	PiNetworkIDS []string `json:"piNetworkIDS" tf:"pi_network_ids"`
	// Pin Policy of the instance
	// +optional
	PiPinPolicy *string `json:"piPinPolicy,omitempty" tf:"pi_pin_policy"`
	// Instance processor type
	PiProcType *string `json:"piProcType" tf:"pi_proc_type"`
	// Processors count
	PiProcessors *float64 `json:"piProcessors" tf:"pi_processors"`
	// Progress of the operation
	// +optional
	PiProgress *float64 `json:"piProgress,omitempty" tf:"pi_progress"`
	// PI Instance replicas count
	// +optional
	PiReplicants *float64 `json:"piReplicants,omitempty" tf:"pi_replicants"`
	// Replication policy for the PI Instance
	// +optional
	PiReplicationPolicy *string `json:"piReplicationPolicy,omitempty" tf:"pi_replication_policy"`
	// Replication scheme
	// +optional
	PiReplicationScheme *string `json:"piReplicationScheme,omitempty" tf:"pi_replication_scheme"`
	// Storage type for server deployment
	// +optional
	PiStorageType *string `json:"piStorageType,omitempty" tf:"pi_storage_type"`
	// PI Instance system type
	PiSysType *string `json:"piSysType" tf:"pi_sys_type"`
	// Base64 encoded data to be passed in for invoking a cloud init script
	// +optional
	PiUserData *string `json:"piUserData,omitempty" tf:"pi_user_data"`
	// Virtual Cores Assigned to the PVMInstance
	// +optional
	PiVirtualCoresAssigned *int64 `json:"piVirtualCoresAssigned,omitempty" tf:"pi_virtual_cores_assigned"`
	// List of PI volumes
	// +optional
	PiVolumeIDS []string `json:"piVolumeIDS,omitempty" tf:"pi_volume_ids"`
	// PIN Policy of the Instance
	// +optional
	PinPolicy *string `json:"pinPolicy,omitempty" tf:"pin_policy"`
	// PI instance status
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*InstanceSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.

func (*InstanceSpecResource) DeepCopyInto

func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceStatus

type InstanceStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*InstanceStatus) DeepCopy

func (in *InstanceStatus) DeepCopy() *InstanceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.

func (*InstanceStatus) DeepCopyInto

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Key

type Key struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KeySpec   `json:"spec,omitempty"`
	Status            KeyStatus `json:"status,omitempty"`
}

func (*Key) DeepCopy

func (in *Key) DeepCopy() *Key

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.

func (*Key) DeepCopyInto

func (in *Key) DeepCopyInto(out *Key)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Key) DeepCopyObject

func (in *Key) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Key) SetupWebhookWithManager

func (r *Key) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Key) ValidateCreate

func (r *Key) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Key) ValidateDelete

func (r *Key) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Key) ValidateUpdate

func (r *Key) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KeyList

type KeyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Key CRD objects
	Items []Key `json:"items,omitempty"`
}

KeyList is a list of Keys

func (*KeyList) DeepCopy

func (in *KeyList) DeepCopy() *KeyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyList.

func (*KeyList) DeepCopyInto

func (in *KeyList) DeepCopyInto(out *KeyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KeyList) DeepCopyObject

func (in *KeyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KeySpec

type KeySpec struct {
	State *KeySpecResource `json:"state,omitempty" tf:"-"`

	Resource KeySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KeySpec) DeepCopy

func (in *KeySpec) DeepCopy() *KeySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpec.

func (*KeySpec) DeepCopyInto

func (in *KeySpec) DeepCopyInto(out *KeySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeySpecResource

type KeySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Key ID in the PI instance
	// +optional
	KeyID *string `json:"keyID,omitempty" tf:"key_id"`
	// PI cloud instance ID
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Date info
	// +optional
	PiCreationDate *string `json:"piCreationDate,omitempty" tf:"pi_creation_date"`
	// Key name in the PI instance
	PiKeyName *string `json:"piKeyName" tf:"pi_key_name"`
	// PI instance key info
	PiSSHKey *string `json:"piSSHKey" tf:"pi_ssh_key"`
}

func (*KeySpecResource) DeepCopy

func (in *KeySpecResource) DeepCopy() *KeySpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeySpecResource.

func (*KeySpecResource) DeepCopyInto

func (in *KeySpecResource) DeepCopyInto(out *KeySpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeyStatus

type KeyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KeyStatus) DeepCopy

func (in *KeyStatus) DeepCopy() *KeyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyStatus.

func (*KeyStatus) DeepCopyInto

func (in *KeyStatus) DeepCopyInto(out *KeyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Network

type Network struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkSpec   `json:"spec,omitempty"`
	Status            NetworkStatus `json:"status,omitempty"`
}

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Network) DeepCopyObject

func (in *Network) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Network) SetupWebhookWithManager

func (r *Network) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Network) ValidateCreate

func (r *Network) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Network) ValidateDelete

func (r *Network) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Network) ValidateUpdate

func (r *Network) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type NetworkList

type NetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Network CRD objects
	Items []Network `json:"items,omitempty"`
}

NetworkList is a list of Networks

func (*NetworkList) DeepCopy

func (in *NetworkList) DeepCopy() *NetworkList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.

func (*NetworkList) DeepCopyInto

func (in *NetworkList) DeepCopyInto(out *NetworkList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkList) DeepCopyObject

func (in *NetworkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkPort

type NetworkPort struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkPortSpec   `json:"spec,omitempty"`
	Status            NetworkPortStatus `json:"status,omitempty"`
}

func (*NetworkPort) DeepCopy

func (in *NetworkPort) DeepCopy() *NetworkPort

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPort.

func (*NetworkPort) DeepCopyInto

func (in *NetworkPort) DeepCopyInto(out *NetworkPort)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkPort) DeepCopyObject

func (in *NetworkPort) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NetworkPort) SetupWebhookWithManager

func (r *NetworkPort) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*NetworkPort) ValidateCreate

func (r *NetworkPort) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*NetworkPort) ValidateDelete

func (r *NetworkPort) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*NetworkPort) ValidateUpdate

func (r *NetworkPort) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type NetworkPortAttach

type NetworkPortAttach struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NetworkPortAttachSpec   `json:"spec,omitempty"`
	Status            NetworkPortAttachStatus `json:"status,omitempty"`
}

func (*NetworkPortAttach) DeepCopy

func (in *NetworkPortAttach) DeepCopy() *NetworkPortAttach

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortAttach.

func (*NetworkPortAttach) DeepCopyInto

func (in *NetworkPortAttach) DeepCopyInto(out *NetworkPortAttach)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkPortAttach) DeepCopyObject

func (in *NetworkPortAttach) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NetworkPortAttach) SetupWebhookWithManager

func (r *NetworkPortAttach) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*NetworkPortAttach) ValidateCreate

func (r *NetworkPortAttach) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*NetworkPortAttach) ValidateDelete

func (r *NetworkPortAttach) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*NetworkPortAttach) ValidateUpdate

func (r *NetworkPortAttach) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type NetworkPortAttachList

type NetworkPortAttachList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of NetworkPortAttach CRD objects
	Items []NetworkPortAttach `json:"items,omitempty"`
}

NetworkPortAttachList is a list of NetworkPortAttachs

func (*NetworkPortAttachList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortAttachList.

func (*NetworkPortAttachList) DeepCopyInto

func (in *NetworkPortAttachList) DeepCopyInto(out *NetworkPortAttachList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkPortAttachList) DeepCopyObject

func (in *NetworkPortAttachList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkPortAttachSpec

type NetworkPortAttachSpec struct {
	State *NetworkPortAttachSpecResource `json:"state,omitempty" tf:"-"`

	Resource NetworkPortAttachSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*NetworkPortAttachSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortAttachSpec.

func (*NetworkPortAttachSpec) DeepCopyInto

func (in *NetworkPortAttachSpec) DeepCopyInto(out *NetworkPortAttachSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPortAttachSpecResource

type NetworkPortAttachSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Instance name to attach the network port to
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
	// Network Name - This is the subnet name  in the Cloud instance
	PiNetworkName *string `json:"piNetworkName" tf:"pi_network_name"`
	// A human readable description for this network Port
	// +optional
	PiNetworkPortDescription *string `json:"piNetworkPortDescription,omitempty" tf:"pi_network_port_description"`
	PortID                   *string `json:"portID" tf:"port_id"`
	// +optional
	PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"`
}

func (*NetworkPortAttachSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortAttachSpecResource.

func (*NetworkPortAttachSpecResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPortAttachStatus

type NetworkPortAttachStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*NetworkPortAttachStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortAttachStatus.

func (*NetworkPortAttachStatus) DeepCopyInto

func (in *NetworkPortAttachStatus) DeepCopyInto(out *NetworkPortAttachStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPortList

type NetworkPortList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of NetworkPort CRD objects
	Items []NetworkPort `json:"items,omitempty"`
}

NetworkPortList is a list of NetworkPorts

func (*NetworkPortList) DeepCopy

func (in *NetworkPortList) DeepCopy() *NetworkPortList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortList.

func (*NetworkPortList) DeepCopyInto

func (in *NetworkPortList) DeepCopyInto(out *NetworkPortList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkPortList) DeepCopyObject

func (in *NetworkPortList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkPortSpec

type NetworkPortSpec struct {
	State *NetworkPortSpecResource `json:"state,omitempty" tf:"-"`

	Resource NetworkPortSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*NetworkPortSpec) DeepCopy

func (in *NetworkPortSpec) DeepCopy() *NetworkPortSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortSpec.

func (*NetworkPortSpec) DeepCopyInto

func (in *NetworkPortSpec) DeepCopyInto(out *NetworkPortSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPortSpecResource

type NetworkPortSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Macaddress        *string `json:"macaddress,omitempty" tf:"macaddress"`
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	PiNetworkName     *string `json:"piNetworkName" tf:"pi_network_name"`
	// +optional
	PiNetworkPortDescription *string `json:"piNetworkPortDescription,omitempty" tf:"pi_network_port_description"`
	// +optional
	PiNetworkPortIpaddress *string `json:"piNetworkPortIpaddress,omitempty" tf:"pi_network_port_ipaddress"`
	// +optional
	Portid *string `json:"portid,omitempty" tf:"portid"`
	// +optional
	PublicIP *string `json:"publicIP,omitempty" tf:"public_ip"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*NetworkPortSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortSpecResource.

func (*NetworkPortSpecResource) DeepCopyInto

func (in *NetworkPortSpecResource) DeepCopyInto(out *NetworkPortSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPortStatus

type NetworkPortStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*NetworkPortStatus) DeepCopy

func (in *NetworkPortStatus) DeepCopy() *NetworkPortStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPortStatus.

func (*NetworkPortStatus) DeepCopyInto

func (in *NetworkPortStatus) DeepCopyInto(out *NetworkPortStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkSpec

type NetworkSpec struct {
	State *NetworkSpecResource `json:"state,omitempty" tf:"-"`

	Resource NetworkSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 NetworkSpecResource

type NetworkSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// PI network ID
	// +optional
	NetworkID *string `json:"networkID,omitempty" tf:"network_id"`
	// PI network CIDR
	// +optional
	PiCIDR *string `json:"piCIDR,omitempty" tf:"pi_cidr"`
	// PI cloud instance ID
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// List of PI network DNS name
	// +optional
	PiDNS []string `json:"piDNS,omitempty" tf:"pi_dns"`
	// PI network gateway
	// +optional
	PiGateway *string `json:"piGateway,omitempty" tf:"pi_gateway"`
	// PI network name
	PiNetworkName *string `json:"piNetworkName" tf:"pi_network_name"`
	// PI network type
	PiNetworkType *string `json:"piNetworkType" tf:"pi_network_type"`
	// VLAN Id value
	// +optional
	VlanID *float64 `json:"vlanID,omitempty" tf:"vlan_id"`
}

func (*NetworkSpecResource) DeepCopy

func (in *NetworkSpecResource) DeepCopy() *NetworkSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpecResource.

func (*NetworkSpecResource) DeepCopyInto

func (in *NetworkSpecResource) DeepCopyInto(out *NetworkSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkStatus

type NetworkStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Operations

type Operations struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OperationsSpec   `json:"spec,omitempty"`
	Status            OperationsStatus `json:"status,omitempty"`
}

func (*Operations) DeepCopy

func (in *Operations) DeepCopy() *Operations

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operations.

func (*Operations) DeepCopyInto

func (in *Operations) DeepCopyInto(out *Operations)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Operations) DeepCopyObject

func (in *Operations) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Operations) SetupWebhookWithManager

func (r *Operations) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Operations) ValidateCreate

func (r *Operations) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Operations) ValidateDelete

func (r *Operations) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Operations) ValidateUpdate

func (r *Operations) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OperationsList

type OperationsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Operations CRD objects
	Items []Operations `json:"items,omitempty"`
}

OperationsList is a list of Operationss

func (*OperationsList) DeepCopy

func (in *OperationsList) DeepCopy() *OperationsList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationsList.

func (*OperationsList) DeepCopyInto

func (in *OperationsList) DeepCopyInto(out *OperationsList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperationsList) DeepCopyObject

func (in *OperationsList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OperationsSpec

type OperationsSpec struct {
	State *OperationsSpecResource `json:"state,omitempty" tf:"-"`

	Resource OperationsSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*OperationsSpec) DeepCopy

func (in *OperationsSpec) DeepCopy() *OperationsSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationsSpec.

func (*OperationsSpec) DeepCopyInto

func (in *OperationsSpec) DeepCopyInto(out *OperationsSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperationsSpecAddresses

type OperationsSpecAddresses struct {
	// +optional
	Ip *string `json:"ip,omitempty" tf:"ip"`
	// +optional
	Macaddress *string `json:"macaddress,omitempty" tf:"macaddress"`
	// +optional
	Networkid *string `json:"networkid,omitempty" tf:"networkid"`
	// +optional
	Networkname *string `json:"networkname,omitempty" tf:"networkname"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*OperationsSpecAddresses) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationsSpecAddresses.

func (*OperationsSpecAddresses) DeepCopyInto

func (in *OperationsSpecAddresses) DeepCopyInto(out *OperationsSpecAddresses)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperationsSpecResource

type OperationsSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addresses []OperationsSpecAddresses `json:"addresses,omitempty" tf:"addresses"`
	// PI Cloud instnce id
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// PI instance health status
	// +optional
	PiHealthStatus *string `json:"piHealthStatus,omitempty" tf:"pi_health_status"`
	// PI instance Operation server name
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
	// PI instance operation type
	PiOperation *string `json:"piOperation" tf:"pi_operation"`
	// Progress of the operation
	// +optional
	PiProgress *float64 `json:"piProgress,omitempty" tf:"pi_progress"`
	// PI instance operation status
	// +optional
	PiStatus *string `json:"piStatus,omitempty" tf:"pi_status"`
}

func (*OperationsSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationsSpecResource.

func (*OperationsSpecResource) DeepCopyInto

func (in *OperationsSpecResource) DeepCopyInto(out *OperationsSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperationsStatus

type OperationsStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*OperationsStatus) DeepCopy

func (in *OperationsStatus) DeepCopy() *OperationsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationsStatus.

func (*OperationsStatus) DeepCopyInto

func (in *OperationsStatus) DeepCopyInto(out *OperationsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Snapshot

type Snapshot struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SnapshotSpec   `json:"spec,omitempty"`
	Status            SnapshotStatus `json:"status,omitempty"`
}

func (*Snapshot) DeepCopy

func (in *Snapshot) DeepCopy() *Snapshot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.

func (*Snapshot) DeepCopyInto

func (in *Snapshot) DeepCopyInto(out *Snapshot)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Snapshot) DeepCopyObject

func (in *Snapshot) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Snapshot) SetupWebhookWithManager

func (r *Snapshot) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Snapshot) ValidateCreate

func (r *Snapshot) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Snapshot) ValidateDelete

func (r *Snapshot) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Snapshot) ValidateUpdate

func (r *Snapshot) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SnapshotList

type SnapshotList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Snapshot CRD objects
	Items []Snapshot `json:"items,omitempty"`
}

SnapshotList is a list of Snapshots

func (*SnapshotList) DeepCopy

func (in *SnapshotList) DeepCopy() *SnapshotList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.

func (*SnapshotList) DeepCopyInto

func (in *SnapshotList) DeepCopyInto(out *SnapshotList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SnapshotList) DeepCopyObject

func (in *SnapshotList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SnapshotSpec

type SnapshotSpec struct {
	State *SnapshotSpecResource `json:"state,omitempty" tf:"-"`

	Resource SnapshotSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*SnapshotSpec) DeepCopy

func (in *SnapshotSpec) DeepCopy() *SnapshotSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.

func (*SnapshotSpec) DeepCopyInto

func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnapshotSpecResource

type SnapshotSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CreationDate *string `json:"creationDate,omitempty" tf:"creation_date"`
	// Snapshot description
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty" tf:"last_updated_date"`
	//  Cloud Instance ID - This is the service_instance_id.
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Instance name / id of the pvm
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
	// Id of the snapshot
	// +optional
	PiSNAPShotID *string `json:"piSNAPShotID,omitempty" tf:"pi_snap_shot_id"`
	// Unique name of the snapshot
	PiSNAPShotName *string `json:"piSNAPShotName" tf:"pi_snap_shot_name"`
	// List of PI volumes
	// +optional
	PiVolumeIDS []string `json:"piVolumeIDS,omitempty" tf:"pi_volume_ids"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	VolumeSnapshots map[string]string `json:"volumeSnapshots,omitempty" tf:"volume_snapshots"`
}

func (*SnapshotSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecResource.

func (*SnapshotSpecResource) DeepCopyInto

func (in *SnapshotSpecResource) DeepCopyInto(out *SnapshotSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SnapshotStatus

type SnapshotStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*SnapshotStatus) DeepCopy

func (in *SnapshotStatus) DeepCopy() *SnapshotStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.

func (*SnapshotStatus) DeepCopyInto

func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Volume

type Volume struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeSpec   `json:"spec,omitempty"`
	Status            VolumeStatus `json:"status,omitempty"`
}

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Volume) DeepCopyObject

func (in *Volume) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Volume) SetupWebhookWithManager

func (r *Volume) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Volume) ValidateCreate

func (r *Volume) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Volume) ValidateDelete

func (r *Volume) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Volume) ValidateUpdate

func (r *Volume) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VolumeAttach

type VolumeAttach struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeAttachSpec   `json:"spec,omitempty"`
	Status            VolumeAttachStatus `json:"status,omitempty"`
}

func (*VolumeAttach) DeepCopy

func (in *VolumeAttach) DeepCopy() *VolumeAttach

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttach.

func (*VolumeAttach) DeepCopyInto

func (in *VolumeAttach) DeepCopyInto(out *VolumeAttach)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeAttach) DeepCopyObject

func (in *VolumeAttach) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*VolumeAttach) SetupWebhookWithManager

func (r *VolumeAttach) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VolumeAttach) ValidateCreate

func (r *VolumeAttach) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VolumeAttach) ValidateDelete

func (r *VolumeAttach) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VolumeAttach) ValidateUpdate

func (r *VolumeAttach) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VolumeAttachList

type VolumeAttachList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VolumeAttach CRD objects
	Items []VolumeAttach `json:"items,omitempty"`
}

VolumeAttachList is a list of VolumeAttachs

func (*VolumeAttachList) DeepCopy

func (in *VolumeAttachList) DeepCopy() *VolumeAttachList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachList.

func (*VolumeAttachList) DeepCopyInto

func (in *VolumeAttachList) DeepCopyInto(out *VolumeAttachList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeAttachList) DeepCopyObject

func (in *VolumeAttachList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VolumeAttachSpec

type VolumeAttachSpec struct {
	State *VolumeAttachSpecResource `json:"state,omitempty" tf:"-"`

	Resource VolumeAttachSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VolumeAttachSpec) DeepCopy

func (in *VolumeAttachSpec) DeepCopy() *VolumeAttachSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachSpec.

func (*VolumeAttachSpec) DeepCopyInto

func (in *VolumeAttachSpec) DeepCopyInto(out *VolumeAttachSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeAttachSpecResource

type VolumeAttachSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	//  Cloud Instance ID - This is the service_instance_id.
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// PI Instance name
	PiInstanceName *string `json:"piInstanceName" tf:"pi_instance_name"`
	// Name of the volume to attach. Note these  volumes should have been created
	PiVolumeAttachName *string `json:"piVolumeAttachName" tf:"pi_volume_attach_name"`
	// +optional
	PiVolumeShareable *bool `json:"piVolumeShareable,omitempty" tf:"pi_volume_shareable"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// Volume attachment ID
	// +optional
	Volumeattachid *string `json:"volumeattachid,omitempty" tf:"volumeattachid"`
}

func (*VolumeAttachSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachSpecResource.

func (*VolumeAttachSpecResource) DeepCopyInto

func (in *VolumeAttachSpecResource) DeepCopyInto(out *VolumeAttachSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeAttachStatus

type VolumeAttachStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VolumeAttachStatus) DeepCopy

func (in *VolumeAttachStatus) DeepCopy() *VolumeAttachStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachStatus.

func (*VolumeAttachStatus) DeepCopyInto

func (in *VolumeAttachStatus) DeepCopyInto(out *VolumeAttachStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeList

type VolumeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Volume CRD objects
	Items []Volume `json:"items,omitempty"`
}

VolumeList is a list of Volumes

func (*VolumeList) DeepCopy

func (in *VolumeList) DeepCopy() *VolumeList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.

func (*VolumeList) DeepCopyInto

func (in *VolumeList) DeepCopyInto(out *VolumeList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VolumeList) DeepCopyObject

func (in *VolumeList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type VolumeSpec

type VolumeSpec struct {
	State *VolumeSpecResource `json:"state,omitempty" tf:"-"`

	Resource VolumeSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VolumeSpec) DeepCopy

func (in *VolumeSpec) DeepCopy() *VolumeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.

func (*VolumeSpec) DeepCopyInto

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeSpecResource

type VolumeSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Should the volume be deleted during termination
	// +optional
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty" tf:"delete_on_termination"`
	// PVM Instance (ID or Name) to base volume affinity policy against;
	// +optional
	PiAffinityInstance *string `json:"piAffinityInstance,omitempty" tf:"pi_affinity_instance"`
	// Affinity policy for data volume being created
	// +optional
	PiAffinityPolicy *string `json:"piAffinityPolicy,omitempty" tf:"pi_affinity_policy"`
	// Volume (ID or Name) to base volume affinity policy against;
	// +optional
	PiAffinityVolume *string `json:"piAffinityVolume,omitempty" tf:"pi_affinity_volume"`
	// Cloud Instance ID - This is the service_instance_id.
	PiCloudInstanceID *string `json:"piCloudInstanceID" tf:"pi_cloud_instance_id"`
	// Volume Name to create
	PiVolumeName *string `json:"piVolumeName" tf:"pi_volume_name"`
	// Flag to indicate if the volume can be shared across multiple instances?
	// +optional
	PiVolumeShareable *bool `json:"piVolumeShareable,omitempty" tf:"pi_volume_shareable"`
	// Size of the volume in GB
	PiVolumeSize *float64 `json:"piVolumeSize" tf:"pi_volume_size"`
	// Volume type
	// +optional
	PiVolumeType *string `json:"piVolumeType,omitempty" tf:"pi_volume_type"`
	// Volume ID
	// +optional
	VolumeID *string `json:"volumeID,omitempty" tf:"volume_id"`
	// Volume status
	// +optional
	VolumeStatus *string `json:"volumeStatus,omitempty" tf:"volume_status"`
	// WWN Of the volume
	// +optional
	Wwn *string `json:"wwn,omitempty" tf:"wwn"`
}

func (*VolumeSpecResource) DeepCopy

func (in *VolumeSpecResource) DeepCopy() *VolumeSpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpecResource.

func (*VolumeSpecResource) DeepCopyInto

func (in *VolumeSpecResource) DeepCopyInto(out *VolumeSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeStatus

type VolumeStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VolumeStatus) DeepCopy

func (in *VolumeStatus) DeepCopy() *VolumeStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.

func (*VolumeStatus) DeepCopyInto

func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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