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=oda.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: oda.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 OdaInstance

type OdaInstance struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              OdaInstanceSpec   `json:"spec,omitempty"`
	Status            OdaInstanceStatus `json:"status,omitempty"`
}

func (*OdaInstance) DeepCopy

func (in *OdaInstance) DeepCopy() *OdaInstance

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

func (*OdaInstance) DeepCopyInto

func (in *OdaInstance) DeepCopyInto(out *OdaInstance)

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

func (*OdaInstance) DeepCopyObject

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

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

func (*OdaInstance) SetupWebhookWithManager

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

func (*OdaInstance) ValidateCreate

func (r *OdaInstance) ValidateCreate() error

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

func (*OdaInstance) ValidateDelete

func (r *OdaInstance) ValidateDelete() error

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

func (*OdaInstance) ValidateUpdate

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

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

type OdaInstanceList

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

OdaInstanceList is a list of OdaInstances

func (*OdaInstanceList) DeepCopy

func (in *OdaInstanceList) DeepCopy() *OdaInstanceList

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

func (*OdaInstanceList) DeepCopyInto

func (in *OdaInstanceList) DeepCopyInto(out *OdaInstanceList)

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

func (*OdaInstanceList) DeepCopyObject

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

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

type OdaInstanceSpec

type OdaInstanceSpec struct {
	State *OdaInstanceSpecResource `json:"state,omitempty" tf:"-"`

	Resource OdaInstanceSpecResource `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 (*OdaInstanceSpec) DeepCopy

func (in *OdaInstanceSpec) DeepCopy() *OdaInstanceSpec

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

func (*OdaInstanceSpec) DeepCopyInto

func (in *OdaInstanceSpec) DeepCopyInto(out *OdaInstanceSpec)

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

type OdaInstanceSpecResource

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

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

	CompartmentID *string `json:"compartmentID" tf:"compartment_id"`
	// +optional
	ConnectorURL *string `json:"connectorURL,omitempty" tf:"connector_url"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	LifecycleSubState *string `json:"lifecycleSubState,omitempty" tf:"lifecycle_sub_state"`
	ShapeName         *string `json:"shapeName" tf:"shape_name"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	StateMessage *string `json:"stateMessage,omitempty" tf:"state_message"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
	// +optional
	WebAppURL *string `json:"webAppURL,omitempty" tf:"web_app_url"`
}

func (*OdaInstanceSpecResource) DeepCopy

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

func (*OdaInstanceSpecResource) DeepCopyInto

func (in *OdaInstanceSpecResource) DeepCopyInto(out *OdaInstanceSpecResource)

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

type OdaInstanceStatus

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

func (in *OdaInstanceStatus) DeepCopy() *OdaInstanceStatus

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

func (*OdaInstanceStatus) DeepCopyInto

func (in *OdaInstanceStatus) DeepCopyInto(out *OdaInstanceStatus)

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