v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "krm.kcl.dev"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

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

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type KCLRun

type KCLRun struct {
	metav1.TypeMeta   `json:",inline" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	Spec   KCLRunSpec   `json:"spec,omitempty" yaml:"spec,omitempty"`
	Status KCLRunStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

KCLRun is the Schema for the kclruns API

func (*KCLRun) DeepCopy

func (in *KCLRun) DeepCopy() *KCLRun

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

func (*KCLRun) DeepCopyInto

func (in *KCLRun) DeepCopyInto(out *KCLRun)

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

func (*KCLRun) DeepCopyObject

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

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

type KCLRunList

type KCLRunList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Items           []KCLRun `json:"items" yaml:"items"`
}

KCLRunList contains a list of KCLRun

func (*KCLRunList) DeepCopy

func (in *KCLRunList) DeepCopy() *KCLRunList

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

func (*KCLRunList) DeepCopyInto

func (in *KCLRunList) DeepCopyInto(out *KCLRunList)

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

func (*KCLRunList) DeepCopyObject

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

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

type KCLRunSpec

type KCLRunSpec struct {

	// Source is a required field for providing a KCL script inline.
	Source string `json:"source" yaml:"source"`
	// Params are the parameters in key-value pairs format.
	Params map[string]runtime.RawExtension `json:"params,omitempty" yaml:"params,omitempty"`
}

KCLRunSpec defines the desired state of KCLRun

func (*KCLRunSpec) DeepCopy

func (in *KCLRunSpec) DeepCopy() *KCLRunSpec

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

func (*KCLRunSpec) DeepCopyInto

func (in *KCLRunSpec) DeepCopyInto(out *KCLRunSpec)

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

type KCLRunStatus

type KCLRunStatus struct {
}

KCLRunStatus defines the observed state of KCLRun

func (*KCLRunStatus) DeepCopy

func (in *KCLRunStatus) DeepCopy() *KCLRunStatus

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

func (*KCLRunStatus) DeepCopyInto

func (in *KCLRunStatus) DeepCopyInto(out *KCLRunStatus)

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