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=oce.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: oce.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 OceInstance

type OceInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OceInstanceSpec   `json:"spec,omitempty"`
	Status            OceInstanceStatus `json:"status,omitempty"`
}

func (*OceInstance) DeepCopy

func (in *OceInstance) DeepCopy() *OceInstance

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

func (*OceInstance) DeepCopyInto

func (in *OceInstance) DeepCopyInto(out *OceInstance)

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

func (*OceInstance) DeepCopyObject

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

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

func (*OceInstance) SetupWebhookWithManager

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

func (*OceInstance) ValidateCreate

func (r *OceInstance) ValidateCreate() error

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

func (*OceInstance) ValidateDelete

func (r *OceInstance) ValidateDelete() error

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

func (*OceInstance) ValidateUpdate

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

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

type OceInstanceList

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

OceInstanceList is a list of OceInstances

func (*OceInstanceList) DeepCopy

func (in *OceInstanceList) DeepCopy() *OceInstanceList

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

func (*OceInstanceList) DeepCopyInto

func (in *OceInstanceList) DeepCopyInto(out *OceInstanceList)

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

func (*OceInstanceList) DeepCopyObject

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

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

type OceInstanceSpec

type OceInstanceSpec struct {
	State *OceInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource OceInstanceSpecResource `json:"resource" tf:"resource"`

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

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

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

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

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

func (*OceInstanceSpec) DeepCopy

func (in *OceInstanceSpec) DeepCopy() *OceInstanceSpec

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

func (*OceInstanceSpec) DeepCopyInto

func (in *OceInstanceSpec) DeepCopyInto(out *OceInstanceSpec)

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

type OceInstanceSpecResource

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

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

	AdminEmail    *string `json:"adminEmail" tf:"admin_email"`
	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	Guid            *string `json:"guid,omitempty" tf:"guid"`
	IdcsAccessToken *string `json:"-" sensitive:"true" tf:"idcs_access_token"`
	// +optional
	IdcsTenancy *string `json:"idcsTenancy,omitempty" tf:"idcs_tenancy"`
	// +optional
	InstanceAccessType *string `json:"instanceAccessType,omitempty" tf:"instance_access_type"`
	// +optional
	InstanceLicenseType *string `json:"instanceLicenseType,omitempty" tf:"instance_license_type"`
	// +optional
	InstanceUsageType      *string `json:"instanceUsageType,omitempty" tf:"instance_usage_type"`
	Name                   *string `json:"name" tf:"name"`
	ObjectStorageNamespace *string `json:"objectStorageNamespace" tf:"object_storage_namespace"`
	// +optional
	Service map[string]string `json:"service,omitempty" tf:"service"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	StateMessage *string `json:"stateMessage,omitempty" tf:"state_message"`
	// +optional
	SystemTags  map[string]string `json:"systemTags,omitempty" tf:"system_tags"`
	TenancyID   *string           `json:"tenancyID" tf:"tenancy_id"`
	TenancyName *string           `json:"tenancyName" tf:"tenancy_name"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
	// +optional
	UpgradeSchedule *string `json:"upgradeSchedule,omitempty" tf:"upgrade_schedule"`
	// +optional
	WafPrimaryDomain *string `json:"wafPrimaryDomain,omitempty" tf:"waf_primary_domain"`
}

func (*OceInstanceSpecResource) DeepCopy

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

func (*OceInstanceSpecResource) DeepCopyInto

func (in *OceInstanceSpecResource) DeepCopyInto(out *OceInstanceSpecResource)

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

type OceInstanceStatus

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

func (in *OceInstanceStatus) DeepCopy() *OceInstanceStatus

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

func (*OceInstanceStatus) DeepCopyInto

func (in *OceInstanceStatus) DeepCopyInto(out *OceInstanceStatus)

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