v1alpha1

package
v0.15.1-1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 19

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tekton.dev

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tekton.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "operator.tekton.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type InstallStatus

type InstallStatus string

InstallStatus describes the state of installation of pipelines +kubebuilder:validation:Enum=Allow;Forbid;Replace

const (
	// InstalledStatus indicates that the pipeline resources are installed
	InstalledStatus InstallStatus = "installed"

	// InstallingStatus indicates that the pipeline resources are being installed
	InstallingStatus InstallStatus = "installing"

	// ErrorStatus indicates that there was an error installing pipeline resources
	// Check details field for additional details
	ErrorStatus InstallStatus = "error"
)

type TektonAddon

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

	Spec   TektonAddonSpec   `json:"spec,omitempty"`
	Status TektonAddonStatus `json:"status,omitempty"`
}

Addon is the Schema for the tektonaddons API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*TektonAddon) DeepCopy

func (in *TektonAddon) DeepCopy() *TektonAddon

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

func (*TektonAddon) DeepCopyInto

func (in *TektonAddon) DeepCopyInto(out *TektonAddon)

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

func (*TektonAddon) DeepCopyObject

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

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

type TektonAddonCondition

type TektonAddonCondition struct {
	// Code indicates the status of installation of tektonaddon resources
	// Valid values are:
	//   - "error"
	//   - "installing"
	//   - "installed"
	Code InstallStatus `json:"code"`

	// Additional details about the Code
	Details string `json:"details,omitempty"`

	// The version of installed addon
	Version string `json:"version"`
}

TektonAddonCondition defines the observed state of installation at a point in time +k8s:openapi-gen=true

func (*TektonAddonCondition) DeepCopy

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

func (*TektonAddonCondition) DeepCopyInto

func (in *TektonAddonCondition) DeepCopyInto(out *TektonAddonCondition)

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

type TektonAddonList

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

TektonAddonList contains a list of Addon

func (*TektonAddonList) DeepCopy

func (in *TektonAddonList) DeepCopy() *TektonAddonList

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

func (*TektonAddonList) DeepCopyInto

func (in *TektonAddonList) DeepCopyInto(out *TektonAddonList)

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

func (*TektonAddonList) DeepCopyObject

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

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

type TektonAddonSpec

type TektonAddonSpec struct {
	Version string `json:"version"`
}

TektonAddonSpec defines the desired state of TektonAddon +k8s:openapi-gen=true

func (*TektonAddonSpec) DeepCopy

func (in *TektonAddonSpec) DeepCopy() *TektonAddonSpec

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

func (*TektonAddonSpec) DeepCopyInto

func (in *TektonAddonSpec) DeepCopyInto(out *TektonAddonSpec)

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

type TektonAddonStatus

type TektonAddonStatus struct {
	// installation status sorted in reverse chronological order
	Conditions []TektonAddonCondition `json:"conditions,omitempty"`
}

TektonAddonStatus defines the observed state of TektonAddon +k8s:openapi-gen=true

func (*TektonAddonStatus) DeepCopy

func (in *TektonAddonStatus) DeepCopy() *TektonAddonStatus

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

func (*TektonAddonStatus) DeepCopyInto

func (in *TektonAddonStatus) DeepCopyInto(out *TektonAddonStatus)

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

type TektonPipeline

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

	Spec   TektonPipelineSpec   `json:"spec,omitempty"`
	Status TektonPipelineStatus `json:"status,omitempty"`
}

TektonPipeline is the Schema for the tektonpipelines API +k8s:openapi-gen=true +kubebuilder:resource:path=tektonpipeline +kubebuilder:subresource:status

func (*TektonPipeline) DeepCopy

func (in *TektonPipeline) DeepCopy() *TektonPipeline

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

func (*TektonPipeline) DeepCopyInto

func (in *TektonPipeline) DeepCopyInto(out *TektonPipeline)

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

func (*TektonPipeline) DeepCopyObject

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

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

type TektonPipelineCondition

type TektonPipelineCondition struct {
	// Code indicates the status of installation of pipeline resources
	// Valid values are:
	//   - "error"
	//   - "installing"
	//   - "installed"
	Code InstallStatus `json:"code"`

	// Additional details about the Code
	Details string `json:"details,omitempty"`

	// The version of pipelines
	Version string `json:"version"`
}

TektonPipelineCondition defines the observed state of installation at a point in time +k8s:openapi-gen=true

func (*TektonPipelineCondition) DeepCopy

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

func (*TektonPipelineCondition) DeepCopyInto

func (in *TektonPipelineCondition) DeepCopyInto(out *TektonPipelineCondition)

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

type TektonPipelineList

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

TektonPipelineList contains a list of TektonPipeline

func (*TektonPipelineList) DeepCopy

func (in *TektonPipelineList) DeepCopy() *TektonPipelineList

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

func (*TektonPipelineList) DeepCopyInto

func (in *TektonPipelineList) DeepCopyInto(out *TektonPipelineList)

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

func (*TektonPipelineList) DeepCopyObject

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

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

type TektonPipelineSpec

type TektonPipelineSpec struct {
	// namespace where pipelines will be installed
	TargetNamespace string `json:"targetNamespace"`
}

TektonPipelineSpec defines the desired state of TektonPipeline +k8s:openapi-gen=true

func (*TektonPipelineSpec) DeepCopy

func (in *TektonPipelineSpec) DeepCopy() *TektonPipelineSpec

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

func (*TektonPipelineSpec) DeepCopyInto

func (in *TektonPipelineSpec) DeepCopyInto(out *TektonPipelineSpec)

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

type TektonPipelineStatus

type TektonPipelineStatus struct {

	// installation status sorted in reverse chronological order
	Conditions []TektonPipelineCondition `json:"conditions,omitempty"`
}

TektonPipelineStatus defines the observed state of TektonPipeline +k8s:openapi-gen=true

func (*TektonPipelineStatus) DeepCopy

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

func (*TektonPipelineStatus) DeepCopyInto

func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)

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