Documentation ¶
Index ¶
Constants ¶
const GroupName = "krm.kcl.dev"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Depreciated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KCLRun.
func (*KCLRun) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KCLRun) DeepCopyObject ¶
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.