Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=extensions.kube.ci
Index ¶
Constants ¶
const ( ResourceKindTrigger = "Trigger" ResourceTriggers = "triggers" ResourceKindWorkplanLog = "WorkplanLog" ResourceWorkplanLogs = "workplanlogs" )
const GroupName = "extensions.kube.ci"
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Trigger ¶
type Trigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Workflows []string `json:"workflows,omitempty"` Request *unstructured.Unstructured `json:"request,omitempty"` }
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trigger) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkplanLog ¶
type WorkplanLog struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
func (*WorkplanLog) DeepCopy ¶
func (in *WorkplanLog) DeepCopy() *WorkplanLog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkplanLog.
func (*WorkplanLog) DeepCopyInto ¶
func (in *WorkplanLog) DeepCopyInto(out *WorkplanLog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkplanLog) DeepCopyObject ¶
func (in *WorkplanLog) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkplanLogOptions ¶
type WorkplanLogOptions struct { metav1.TypeMeta Step string `json:"step,omitempty"` Follow bool `json:"follow,omitempty"` }
func (*WorkplanLogOptions) DeepCopy ¶
func (in *WorkplanLogOptions) DeepCopy() *WorkplanLogOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkplanLogOptions.
func (*WorkplanLogOptions) DeepCopyInto ¶
func (in *WorkplanLogOptions) DeepCopyInto(out *WorkplanLogOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkplanLogOptions) DeepCopyObject ¶
func (in *WorkplanLogOptions) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.