v1alpha1

package
v0.0.0-...-8a8da8d Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=extensions.kube.ci

Index

Constants

View Source
const (
	ResourceKindTrigger     = "Trigger"
	ResourceTriggers        = "triggers"
	ResourceKindWorkplanLog = "WorkplanLog"
	ResourceWorkplanLogs    = "workplanlogs"
)
View Source
const GroupName = "extensions.kube.ci"

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: GroupName, Version: "v1alpha1"}

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

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

func (*Trigger) DeepCopyObject

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL