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=ocvp.oci.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: ocvp.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 EsxiHost

type EsxiHost struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EsxiHostSpec   `json:"spec,omitempty"`
	Status            EsxiHostStatus `json:"status,omitempty"`
}

func (*EsxiHost) DeepCopy

func (in *EsxiHost) DeepCopy() *EsxiHost

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

func (*EsxiHost) DeepCopyInto

func (in *EsxiHost) DeepCopyInto(out *EsxiHost)

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

func (*EsxiHost) DeepCopyObject

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

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

func (*EsxiHost) SetupWebhookWithManager

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

func (*EsxiHost) ValidateCreate

func (r *EsxiHost) ValidateCreate() error

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

func (*EsxiHost) ValidateDelete

func (r *EsxiHost) ValidateDelete() error

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

func (*EsxiHost) ValidateUpdate

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

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

type EsxiHostList

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

EsxiHostList is a list of EsxiHosts

func (*EsxiHostList) DeepCopy

func (in *EsxiHostList) DeepCopy() *EsxiHostList

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

func (*EsxiHostList) DeepCopyInto

func (in *EsxiHostList) DeepCopyInto(out *EsxiHostList)

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

func (*EsxiHostList) DeepCopyObject

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

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

type EsxiHostSpec

type EsxiHostSpec struct {
	State *EsxiHostSpecResource `json:"state,omitempty" tf:"-"`

	Resource EsxiHostSpecResource `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 (*EsxiHostSpec) DeepCopy

func (in *EsxiHostSpec) DeepCopy() *EsxiHostSpec

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

func (*EsxiHostSpec) DeepCopyInto

func (in *EsxiHostSpec) DeepCopyInto(out *EsxiHostSpec)

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

type EsxiHostSpecResource

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

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

	// +optional
	BillingContractEndDate *string `json:"billingContractEndDate,omitempty" tf:"billing_contract_end_date"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	ComputeAvailabilityDomain *string `json:"computeAvailabilityDomain,omitempty" tf:"compute_availability_domain"`
	// +optional
	ComputeInstanceID *string `json:"computeInstanceID,omitempty" tf:"compute_instance_id"`
	// +optional
	CurrentSku *string `json:"currentSku,omitempty" tf:"current_sku"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// +optional
	FailedEsxiHostID *string `json:"failedEsxiHostID,omitempty" tf:"failed_esxi_host_id"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	GracePeriodEndDate *string `json:"gracePeriodEndDate,omitempty" tf:"grace_period_end_date"`
	// +optional
	NextSku *string `json:"nextSku,omitempty" tf:"next_sku"`
	// +optional
	ReplacementEsxiHostID *string `json:"replacementEsxiHostID,omitempty" tf:"replacement_esxi_host_id"`
	SddcID                *string `json:"sddcID" tf:"sddc_id"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*EsxiHostSpecResource) DeepCopy

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

func (*EsxiHostSpecResource) DeepCopyInto

func (in *EsxiHostSpecResource) DeepCopyInto(out *EsxiHostSpecResource)

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

type EsxiHostStatus

type EsxiHostStatus 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 (*EsxiHostStatus) DeepCopy

func (in *EsxiHostStatus) DeepCopy() *EsxiHostStatus

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

func (*EsxiHostStatus) DeepCopyInto

func (in *EsxiHostStatus) DeepCopyInto(out *EsxiHostStatus)

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

type Sddc

type Sddc struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SddcSpec   `json:"spec,omitempty"`
	Status            SddcStatus `json:"status,omitempty"`
}

func (*Sddc) DeepCopy

func (in *Sddc) DeepCopy() *Sddc

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

func (*Sddc) DeepCopyInto

func (in *Sddc) DeepCopyInto(out *Sddc)

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

func (*Sddc) DeepCopyObject

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

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

func (*Sddc) SetupWebhookWithManager

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

func (*Sddc) ValidateCreate

func (r *Sddc) ValidateCreate() error

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

func (*Sddc) ValidateDelete

func (r *Sddc) ValidateDelete() error

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

func (*Sddc) ValidateUpdate

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

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

type SddcList

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

SddcList is a list of Sddcs

func (*SddcList) DeepCopy

func (in *SddcList) DeepCopy() *SddcList

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

func (*SddcList) DeepCopyInto

func (in *SddcList) DeepCopyInto(out *SddcList)

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

func (*SddcList) DeepCopyObject

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

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

type SddcSpec

type SddcSpec struct {
	State *SddcSpecResource `json:"state,omitempty" tf:"-"`

	Resource SddcSpecResource `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 (*SddcSpec) DeepCopy

func (in *SddcSpec) DeepCopy() *SddcSpec

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

func (*SddcSpec) DeepCopyInto

func (in *SddcSpec) DeepCopyInto(out *SddcSpec)

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

type SddcSpecHcxOnPremLicenses

type SddcSpecHcxOnPremLicenses struct {
	// +optional
	ActivationKey *string `json:"activationKey,omitempty" tf:"activation_key"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	SystemName *string `json:"systemName,omitempty" tf:"system_name"`
}

func (*SddcSpecHcxOnPremLicenses) DeepCopy

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

func (*SddcSpecHcxOnPremLicenses) DeepCopyInto

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

type SddcSpecResource

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

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

	// +optional
	ActualEsxiHostsCount      *int64  `json:"actualEsxiHostsCount,omitempty" tf:"actual_esxi_hosts_count"`
	CompartmentID             *string `json:"compartmentID" tf:"compartment_id"`
	ComputeAvailabilityDomain *string `json:"computeAvailabilityDomain" tf:"compute_availability_domain"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	DisplayName    *string `json:"displayName,omitempty" tf:"display_name"`
	EsxiHostsCount *int64  `json:"esxiHostsCount" tf:"esxi_hosts_count"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	HcxAction *string `json:"hcxAction,omitempty" tf:"hcx_action"`
	// +optional
	HcxFqdn *string `json:"hcxFqdn,omitempty" tf:"hcx_fqdn"`
	// +optional
	HcxInitialPassword *string `json:"hcxInitialPassword,omitempty" tf:"hcx_initial_password"`
	// +optional
	HcxOnPremKey *string `json:"hcxOnPremKey,omitempty" tf:"hcx_on_prem_key"`
	// +optional
	HcxOnPremLicenses []SddcSpecHcxOnPremLicenses `json:"hcxOnPremLicenses,omitempty" tf:"hcx_on_prem_licenses"`
	// +optional
	HcxPrivateIPID *string `json:"hcxPrivateIPID,omitempty" tf:"hcx_private_ip_id"`
	// +optional
	HcxVLANID *string `json:"hcxVLANID,omitempty" tf:"hcx_vlan_id"`
	// +optional
	InitialSku *string `json:"initialSku,omitempty" tf:"initial_sku"`
	// +optional
	InstanceDisplayNamePrefix *string `json:"instanceDisplayNamePrefix,omitempty" tf:"instance_display_name_prefix"`
	// +optional
	IsHcxEnabled *bool `json:"isHcxEnabled,omitempty" tf:"is_hcx_enabled"`
	// +optional
	IsHcxEnterpriseEnabled *bool `json:"isHcxEnterpriseEnabled,omitempty" tf:"is_hcx_enterprise_enabled"`
	// +optional
	IsHcxPendingDowngrade *bool   `json:"isHcxPendingDowngrade,omitempty" tf:"is_hcx_pending_downgrade"`
	NsxEdgeUplink1vlanID  *string `json:"nsxEdgeUplink1vlanID" tf:"nsx_edge_uplink1vlan_id"`
	NsxEdgeUplink2vlanID  *string `json:"nsxEdgeUplink2vlanID" tf:"nsx_edge_uplink2vlan_id"`
	// +optional
	NsxEdgeUplinkIPID *string `json:"nsxEdgeUplinkIPID,omitempty" tf:"nsx_edge_uplink_ip_id"`
	NsxEdgeVtepVLANID *string `json:"nsxEdgeVtepVLANID" tf:"nsx_edge_vtep_vlan_id"`
	// +optional
	NsxManagerFqdn *string `json:"nsxManagerFqdn,omitempty" tf:"nsx_manager_fqdn"`
	// +optional
	NsxManagerInitialPassword *string `json:"nsxManagerInitialPassword,omitempty" tf:"nsx_manager_initial_password"`
	// +optional
	NsxManagerPrivateIPID *string `json:"nsxManagerPrivateIPID,omitempty" tf:"nsx_manager_private_ip_id"`
	// +optional
	NsxManagerUsername *string `json:"nsxManagerUsername,omitempty" tf:"nsx_manager_username"`
	// +optional
	NsxOverlaySegmentName *string `json:"nsxOverlaySegmentName,omitempty" tf:"nsx_overlay_segment_name"`
	NsxVtepVLANID         *string `json:"nsxVtepVLANID" tf:"nsx_vtep_vlan_id"`
	ProvisioningSubnetID  *string `json:"provisioningSubnetID" tf:"provisioning_subnet_id"`
	// +optional
	ProvisioningVLANID *string `json:"provisioningVLANID,omitempty" tf:"provisioning_vlan_id"`
	// +optional
	RefreshHcxLicenseStatus *bool `json:"refreshHcxLicenseStatus,omitempty" tf:"refresh_hcx_license_status"`
	// +optional
	ReplicationVLANID *string `json:"replicationVLANID,omitempty" tf:"replication_vlan_id"`
	// +optional
	ReservingHcxOnPremiseLicenseKeys []string `json:"reservingHcxOnPremiseLicenseKeys,omitempty" tf:"reserving_hcx_on_premise_license_keys"`
	SshAuthorizedKeys                *string  `json:"sshAuthorizedKeys" tf:"ssh_authorized_keys"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeHcxBillingCycleEnd *string `json:"timeHcxBillingCycleEnd,omitempty" tf:"time_hcx_billing_cycle_end"`
	// +optional
	TimeHcxLicenseStatusUpdated *string `json:"timeHcxLicenseStatusUpdated,omitempty" tf:"time_hcx_license_status_updated"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
	// +optional
	VcenterFqdn *string `json:"vcenterFqdn,omitempty" tf:"vcenter_fqdn"`
	// +optional
	VcenterInitialPassword *string `json:"vcenterInitialPassword,omitempty" tf:"vcenter_initial_password"`
	// +optional
	VcenterPrivateIPID *string `json:"vcenterPrivateIPID,omitempty" tf:"vcenter_private_ip_id"`
	// +optional
	VcenterUsername       *string `json:"vcenterUsername,omitempty" tf:"vcenter_username"`
	VmotionVLANID         *string `json:"vmotionVLANID" tf:"vmotion_vlan_id"`
	VmwareSoftwareVersion *string `json:"vmwareSoftwareVersion" tf:"vmware_software_version"`
	VsanVLANID            *string `json:"vsanVLANID" tf:"vsan_vlan_id"`
	VsphereVLANID         *string `json:"vsphereVLANID" tf:"vsphere_vlan_id"`
	// +optional
	WorkloadNetworkCIDR *string `json:"workloadNetworkCIDR,omitempty" tf:"workload_network_cidr"`
}

func (*SddcSpecResource) DeepCopy

func (in *SddcSpecResource) DeepCopy() *SddcSpecResource

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

func (*SddcSpecResource) DeepCopyInto

func (in *SddcSpecResource) DeepCopyInto(out *SddcSpecResource)

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

type SddcStatus

type SddcStatus 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 (*SddcStatus) DeepCopy

func (in *SddcStatus) DeepCopy() *SddcStatus

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

func (*SddcStatus) DeepCopyInto

func (in *SddcStatus) DeepCopyInto(out *SddcStatus)

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