v1alpha1

package
v0.0.0-...-732e647 Latest Latest
Warning

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

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

Documentation

Overview

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

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

Index

Constants

View Source
const (
	CheReady    toolchainv1alpha1.ConditionType = "CheReady"
	TektonReady toolchainv1alpha1.ConditionType = "TektonReady"

	InstallingReason      = "Installing"
	TerminatingReason     = "Terminating"
	FailedToInstallReason = "FailedToInstall"
	InstalledReason       = "Installed"
	UnknownReason         = "Unknown"
)

Variables

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

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

Functions

Types

type CheInstallation

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

	Spec   CheInstallationSpec   `json:"spec,omitempty"`
	Status CheInstallationStatus `json:"status,omitempty"`
}

CheInstallation defines how CodeReady Workspaces (Che) operator should be installed +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=cheinstallations,scope=Cluster +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"CheReady\")].status" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type==\"CheReady\")].reason" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type==\"CheReady\")].message",priority=1 +kubebuilder:validation:XPreserveUnknownFields +operator-sdk:gen-csv:customresourcedefinitions.displayName="CodeReady Workspaces Installation" +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*CheInstallation) DeepCopy

func (in *CheInstallation) DeepCopy() *CheInstallation

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

func (*CheInstallation) DeepCopyInto

func (in *CheInstallation) DeepCopyInto(out *CheInstallation)

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

func (*CheInstallation) DeepCopyObject

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

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

type CheInstallationList

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

CheInstallationList contains a list of CheInstallation

func (*CheInstallationList) DeepCopy

func (in *CheInstallationList) DeepCopy() *CheInstallationList

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

func (*CheInstallationList) DeepCopyInto

func (in *CheInstallationList) DeepCopyInto(out *CheInstallationList)

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

func (*CheInstallationList) DeepCopyObject

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

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

type CheInstallationSpec

type CheInstallationSpec struct {
	// The configuration required for Che operator
	CheOperatorSpec CheOperator `json:"cheOperatorSpec"`
}

CheInstallationSpec defines the desired state of CheInstallation +k8s:openapi-gen=true

func (*CheInstallationSpec) DeepCopy

func (in *CheInstallationSpec) DeepCopy() *CheInstallationSpec

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

func (*CheInstallationSpec) DeepCopyInto

func (in *CheInstallationSpec) DeepCopyInto(out *CheInstallationSpec)

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

type CheInstallationStatus

type CheInstallationStatus struct {

	// Route to access CodeReady Workspaces
	// +optional
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="CodeReady Workspaces URL"
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:org.w3:link"
	CheServerURL string `json:"cheServerURL,omitempty"`

	// Last known condition of the CodeReady Workspaces  operator installation.
	// Supported condition types:
	// CheReady
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Conditions"
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions []toolchainv1alpha1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

CheInstallationStatus defines the observed state of CheInstallation +k8s:openapi-gen=true

func (*CheInstallationStatus) DeepCopy

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

func (*CheInstallationStatus) DeepCopyInto

func (in *CheInstallationStatus) DeepCopyInto(out *CheInstallationStatus)

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

type CheOperator

type CheOperator struct {
	// The namespace where the CodeReady Workspaces operator will be installed
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="Namespace"
	// +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:label"
	Namespace string `json:"namespace"`
}

func (*CheOperator) DeepCopy

func (in *CheOperator) DeepCopy() *CheOperator

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

func (*CheOperator) DeepCopyInto

func (in *CheOperator) DeepCopyInto(out *CheOperator)

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

type TektonInstallation

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

	Spec   TektonInstallationSpec   `json:"spec,omitempty"`
	Status TektonInstallationStatus `json:"status,omitempty"`
}

TektonInstallation defines how OpenShift Pipelines (Tekton) operator should be installed +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=tektoninstallations,scope=Cluster +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"TektonReady\")].status" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type==\"TektonReady\")].reason" +kubebuilder:validation:XPreserveUnknownFields +operator-sdk:gen-csv:customresourcedefinitions.displayName="OpenShift Pipelines Installation" +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true

func (*TektonInstallation) DeepCopy

func (in *TektonInstallation) DeepCopy() *TektonInstallation

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

func (*TektonInstallation) DeepCopyInto

func (in *TektonInstallation) DeepCopyInto(out *TektonInstallation)

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

func (*TektonInstallation) DeepCopyObject

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

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

type TektonInstallationList

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

TektonInstallationList contains a list of TektonInstallation

func (*TektonInstallationList) DeepCopy

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

func (*TektonInstallationList) DeepCopyInto

func (in *TektonInstallationList) DeepCopyInto(out *TektonInstallationList)

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

func (*TektonInstallationList) DeepCopyObject

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

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

type TektonInstallationSpec

type TektonInstallationSpec struct {
}

TektonInstallationSpec defines the desired state of TektonInstallation +k8s:openapi-gen=true

func (*TektonInstallationSpec) DeepCopy

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

func (*TektonInstallationSpec) DeepCopyInto

func (in *TektonInstallationSpec) DeepCopyInto(out *TektonInstallationSpec)

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

type TektonInstallationStatus

type TektonInstallationStatus struct {

	// Last known condition of the OpenShift Pipelines operator installation.
	// Supported condition types:
	// TektonReady
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.displayName="Conditions"
	// +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors.x-descriptors="urn:alm:descriptor:io.kubernetes.conditions"
	Conditions []toolchainv1alpha1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

TektonInstallationStatus defines the observed state of TektonInstallation +k8s:openapi-gen=true

func (*TektonInstallationStatus) DeepCopy

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

func (*TektonInstallationStatus) DeepCopyInto

func (in *TektonInstallationStatus) DeepCopyInto(out *TektonInstallationStatus)

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