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: 16 Imported by: 0

Documentation

Overview

+groupName=functions.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: functions.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 Application

type Application struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec   `json:"spec,omitempty"`
	Status            ApplicationStatus `json:"status,omitempty"`
}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

func (*Application) SetupWebhookWithManager

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

func (*Application) ValidateCreate

func (r *Application) ValidateCreate() error

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

func (*Application) ValidateDelete

func (r *Application) ValidateDelete() error

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

func (*Application) ValidateUpdate

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

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

type ApplicationList

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

ApplicationList is a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

type ApplicationSpec

type ApplicationSpec struct {
	State *ApplicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationSpecResource `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 (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationSpecImagePolicyConfig

type ApplicationSpecImagePolicyConfig struct {
	IsPolicyEnabled *bool `json:"isPolicyEnabled" tf:"is_policy_enabled"`
	// +optional
	KeyDetails []ApplicationSpecImagePolicyConfigKeyDetails `json:"keyDetails,omitempty" tf:"key_details"`
}

func (*ApplicationSpecImagePolicyConfig) DeepCopy

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

func (*ApplicationSpecImagePolicyConfig) DeepCopyInto

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

type ApplicationSpecImagePolicyConfigCodec

type ApplicationSpecImagePolicyConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationSpecImagePolicyConfigCodec) Decode

func (ApplicationSpecImagePolicyConfigCodec) Encode

func (ApplicationSpecImagePolicyConfigCodec) IsEmpty

type ApplicationSpecImagePolicyConfigKeyDetails

type ApplicationSpecImagePolicyConfigKeyDetails struct {
	KmsKeyID *string `json:"kmsKeyID" tf:"kms_key_id"`
}

func (*ApplicationSpecImagePolicyConfigKeyDetails) DeepCopy

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

func (*ApplicationSpecImagePolicyConfigKeyDetails) DeepCopyInto

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

type ApplicationSpecResource

type ApplicationSpecResource 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
	Config map[string]string `json:"config,omitempty" tf:"config"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	DisplayName *string           `json:"displayName" tf:"display_name"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	ImagePolicyConfig *ApplicationSpecImagePolicyConfig `json:"imagePolicyConfig,omitempty" tf:"image_policy_config"`
	// +optional
	NetworkSecurityGroupIDS []string `json:"networkSecurityGroupIDS,omitempty" tf:"network_security_group_ids"`
	// +optional
	State     *string  `json:"state,omitempty" tf:"state"`
	SubnetIDS []string `json:"subnetIDS" tf:"subnet_ids"`
	// +optional
	SyslogURL *string `json:"syslogURL,omitempty" tf:"syslog_url"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
	// +optional
	TraceConfig *ApplicationSpecTraceConfig `json:"traceConfig,omitempty" tf:"trace_config"`
}

func (*ApplicationSpecResource) DeepCopy

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

func (*ApplicationSpecResource) DeepCopyInto

func (in *ApplicationSpecResource) DeepCopyInto(out *ApplicationSpecResource)

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

type ApplicationSpecTraceConfig

type ApplicationSpecTraceConfig struct {
	// +optional
	DomainID *string `json:"domainID,omitempty" tf:"domain_id"`
	// +optional
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled"`
}

func (*ApplicationSpecTraceConfig) DeepCopy

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

func (*ApplicationSpecTraceConfig) DeepCopyInto

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

type ApplicationSpecTraceConfigCodec

type ApplicationSpecTraceConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ApplicationSpecTraceConfigCodec) Decode

func (ApplicationSpecTraceConfigCodec) Encode

func (ApplicationSpecTraceConfigCodec) IsEmpty

type ApplicationStatus

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

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type Function

type Function struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FunctionSpec   `json:"spec,omitempty"`
	Status            FunctionStatus `json:"status,omitempty"`
}

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

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

func (*Function) DeepCopyObject

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

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

func (*Function) SetupWebhookWithManager

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

func (*Function) ValidateCreate

func (r *Function) ValidateCreate() error

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

func (*Function) ValidateDelete

func (r *Function) ValidateDelete() error

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

func (*Function) ValidateUpdate

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

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

type FunctionList

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

FunctionList is a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

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

func (*FunctionList) DeepCopyObject

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

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

type FunctionSpec

type FunctionSpec struct {
	State *FunctionSpecResource `json:"state,omitempty" tf:"-"`

	Resource FunctionSpecResource `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 (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

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

type FunctionSpecResource

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

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

	ApplicationID *string `json:"applicationID" tf:"application_id"`
	// +optional
	CompartmentID *string `json:"compartmentID,omitempty" tf:"compartment_id"`
	// +optional
	Config map[string]string `json:"config,omitempty" tf:"config"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	DisplayName *string           `json:"displayName" tf:"display_name"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	Image        *string           `json:"image" tf:"image"`
	// +optional
	ImageDigest *string `json:"imageDigest,omitempty" tf:"image_digest"`
	// +optional
	InvokeEndpoint *string `json:"invokeEndpoint,omitempty" tf:"invoke_endpoint"`
	MemoryInMbs    *string `json:"memoryInMbs" tf:"memory_in_mbs"`
	// +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"`
	// +optional
	TimeoutInSeconds *int64 `json:"timeoutInSeconds,omitempty" tf:"timeout_in_seconds"`
	// +optional
	TraceConfig *FunctionSpecTraceConfig `json:"traceConfig,omitempty" tf:"trace_config"`
}

func (*FunctionSpecResource) DeepCopy

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

func (*FunctionSpecResource) DeepCopyInto

func (in *FunctionSpecResource) DeepCopyInto(out *FunctionSpecResource)

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

type FunctionSpecTraceConfig

type FunctionSpecTraceConfig struct {
	// +optional
	IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled"`
}

func (*FunctionSpecTraceConfig) DeepCopy

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

func (*FunctionSpecTraceConfig) DeepCopyInto

func (in *FunctionSpecTraceConfig) DeepCopyInto(out *FunctionSpecTraceConfig)

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

type FunctionSpecTraceConfigCodec

type FunctionSpecTraceConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (FunctionSpecTraceConfigCodec) Decode

func (FunctionSpecTraceConfigCodec) Encode

func (FunctionSpecTraceConfigCodec) IsEmpty

type FunctionStatus

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

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

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

type InvokeFunction

type InvokeFunction struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InvokeFunctionSpec   `json:"spec,omitempty"`
	Status            InvokeFunctionStatus `json:"status,omitempty"`
}

func (*InvokeFunction) DeepCopy

func (in *InvokeFunction) DeepCopy() *InvokeFunction

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

func (*InvokeFunction) DeepCopyInto

func (in *InvokeFunction) DeepCopyInto(out *InvokeFunction)

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

func (*InvokeFunction) DeepCopyObject

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

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

func (*InvokeFunction) SetupWebhookWithManager

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

func (*InvokeFunction) ValidateCreate

func (r *InvokeFunction) ValidateCreate() error

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

func (*InvokeFunction) ValidateDelete

func (r *InvokeFunction) ValidateDelete() error

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

func (*InvokeFunction) ValidateUpdate

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

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

type InvokeFunctionList

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

InvokeFunctionList is a list of InvokeFunctions

func (*InvokeFunctionList) DeepCopy

func (in *InvokeFunctionList) DeepCopy() *InvokeFunctionList

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

func (*InvokeFunctionList) DeepCopyInto

func (in *InvokeFunctionList) DeepCopyInto(out *InvokeFunctionList)

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

func (*InvokeFunctionList) DeepCopyObject

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

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

type InvokeFunctionSpec

type InvokeFunctionSpec struct {
	State *InvokeFunctionSpecResource `json:"state,omitempty" tf:"-"`

	Resource InvokeFunctionSpecResource `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 (*InvokeFunctionSpec) DeepCopy

func (in *InvokeFunctionSpec) DeepCopy() *InvokeFunctionSpec

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

func (*InvokeFunctionSpec) DeepCopyInto

func (in *InvokeFunctionSpec) DeepCopyInto(out *InvokeFunctionSpec)

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

type InvokeFunctionSpecResource

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

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

	// +optional
	Base64EncodeContent *bool `json:"base64EncodeContent,omitempty" tf:"base64_encode_content"`
	// +optional
	Content *string `json:"content,omitempty" tf:"content"`
	// +optional
	FnIntent *string `json:"fnIntent,omitempty" tf:"fn_intent"`
	// +optional
	FnInvokeType *string `json:"fnInvokeType,omitempty" tf:"fn_invoke_type"`
	FunctionID   *string `json:"functionID" tf:"function_id"`
	// +optional
	InputBodySourcePath *string `json:"inputBodySourcePath,omitempty" tf:"input_body_source_path"`
	// +optional
	InvokeEndpoint *string `json:"invokeEndpoint,omitempty" tf:"invoke_endpoint"`
	// +optional
	InvokeFunctionBody *string `json:"invokeFunctionBody,omitempty" tf:"invoke_function_body"`
	// +optional
	InvokeFunctionBodyBase64Encoded *string `json:"invokeFunctionBodyBase64Encoded,omitempty" tf:"invoke_function_body_base64_encoded"`
}

func (*InvokeFunctionSpecResource) DeepCopy

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

func (*InvokeFunctionSpecResource) DeepCopyInto

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

type InvokeFunctionStatus

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

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

func (*InvokeFunctionStatus) DeepCopyInto

func (in *InvokeFunctionStatus) DeepCopyInto(out *InvokeFunctionStatus)

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