v1alpha1

package
v0.0.0-...-5959c95 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=operator.openshift-pipelines.org

Index

Constants

View Source
const (
	PreInstall      apis.ConditionType = "PreInstall"
	ComponentsReady apis.ConditionType = "ComponentsReady"
	PostInstall     apis.ConditionType = "PostInstall"
)
View Source
const (
	// OpenShiftPipelinesConfigConditionReady is set when the revision is starting to materialize
	// runtime resources, and becomes true when those resources are ready.
	OpenShiftPipelinesConfigConditionReady = apis.ConditionReady
)

Variables

View Source
var (
	// SchemeBuilder builds a scheme with the types known to the package.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme adds the types known to this package to an existing schema.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: operator.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type OpenShiftPipelinesConfig

type OpenShiftPipelinesConfig struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec holds the desired state of the OpenShiftPipelinesConfig (from the client).
	// +optional
	Spec OpenShiftPipelinesConfigSpec `json:"spec,omitempty"`

	// Status communicates the observed state of the OpenShiftPipelinesConfig (from the controller).
	// +optional
	Status OpenShiftPipelinesConfigStatus `json:"status,omitempty"`
}

OpenShiftPipelinesConfig is a Knative abstraction that encapsulates the interface by which Knative components express a desire to have a particular image cached.

+genclient +genreconciler +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*OpenShiftPipelinesConfig) DeepCopy

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

func (*OpenShiftPipelinesConfig) DeepCopyInto

func (in *OpenShiftPipelinesConfig) DeepCopyInto(out *OpenShiftPipelinesConfig)

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

func (*OpenShiftPipelinesConfig) DeepCopyObject

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

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

func (*OpenShiftPipelinesConfig) GetConditionSet

func (d *OpenShiftPipelinesConfig) GetConditionSet() apis.ConditionSet

GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.

func (*OpenShiftPipelinesConfig) GetGroupVersionKind

func (*OpenShiftPipelinesConfig) GetGroupVersionKind() schema.GroupVersionKind

GetGroupVersionKind implements kmeta.OwnerRefable

func (*OpenShiftPipelinesConfig) GetSpec

func (*OpenShiftPipelinesConfig) GetStatus

func (d *OpenShiftPipelinesConfig) GetStatus() *duckv1.Status

GetStatus retrieves the status of the resource. Implements the KRShaped interface.

func (*OpenShiftPipelinesConfig) SetDefaults

func (d *OpenShiftPipelinesConfig) SetDefaults(ctx context.Context)

SetDefaults implements apis.Defaultable

func (*OpenShiftPipelinesConfig) Validate

Validate implements apis.Validatable

type OpenShiftPipelinesConfigList

type OpenShiftPipelinesConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []OpenShiftPipelinesConfig `json:"items"`
}

OpenShiftPipelinesConfigList is a list of AddressableService resources

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*OpenShiftPipelinesConfigList) DeepCopy

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

func (*OpenShiftPipelinesConfigList) DeepCopyInto

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

func (*OpenShiftPipelinesConfigList) DeepCopyObject

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

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

type OpenShiftPipelinesConfigSpec

type OpenShiftPipelinesConfigSpec struct {
	Profile string `json:"profile,omitempty"`
}

OpenShiftPipelinesConfigSpec holds the desired state of the OpenShiftPipelinesConfig (from the client).

func (*OpenShiftPipelinesConfigSpec) DeepCopy

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

func (*OpenShiftPipelinesConfigSpec) DeepCopyInto

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

func (*OpenShiftPipelinesConfigSpec) GetTargetNamespace

func (s *OpenShiftPipelinesConfigSpec) GetTargetNamespace() string

func (*OpenShiftPipelinesConfigSpec) Validate

Validate implements apis.Validatable

type OpenShiftPipelinesConfigStatus

type OpenShiftPipelinesConfigStatus struct {
	duckv1.Status `json:",inline"`

	ReadyReplicas int32 `json:"readyReplicas"`
}

OpenShiftPipelinesConfigStatus communicates the observed state of the OpenShiftPipelinesConfig (from the controller).

func (*OpenShiftPipelinesConfigStatus) DeepCopy

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

func (*OpenShiftPipelinesConfigStatus) DeepCopyInto

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

func (*OpenShiftPipelinesConfigStatus) GetManifests

func (s *OpenShiftPipelinesConfigStatus) GetManifests() []string

func (*OpenShiftPipelinesConfigStatus) GetVersion

func (s *OpenShiftPipelinesConfigStatus) GetVersion() string

func (*OpenShiftPipelinesConfigStatus) InitializeConditions

func (ospcs *OpenShiftPipelinesConfigStatus) InitializeConditions()

InitializeConditions sets the initial values to the conditions.

func (*OpenShiftPipelinesConfigStatus) IsReady

func (ospcs *OpenShiftPipelinesConfigStatus) IsReady() bool

func (*OpenShiftPipelinesConfigStatus) MarkDependenciesInstalled

func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependenciesInstalled()

func (*OpenShiftPipelinesConfigStatus) MarkDependencyInstalling

func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependencyInstalling(msg string)

func (*OpenShiftPipelinesConfigStatus) MarkDependencyMissing

func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependencyMissing(msg string)

func (*OpenShiftPipelinesConfigStatus) MarkDeploymentsAvailable

func (ospcs *OpenShiftPipelinesConfigStatus) MarkDeploymentsAvailable()

func (*OpenShiftPipelinesConfigStatus) MarkDeploymentsNotReady

func (ospcs *OpenShiftPipelinesConfigStatus) MarkDeploymentsNotReady()

func (*OpenShiftPipelinesConfigStatus) MarkInstallFailed

func (ospcs *OpenShiftPipelinesConfigStatus) MarkInstallFailed(msg string)

func (*OpenShiftPipelinesConfigStatus) MarkInstallSucceeded

func (ospcs *OpenShiftPipelinesConfigStatus) MarkInstallSucceeded()

To implement (or not)

func (*OpenShiftPipelinesConfigStatus) MarkNotReady

func (ospcs *OpenShiftPipelinesConfigStatus) MarkNotReady(msg string)

func (*OpenShiftPipelinesConfigStatus) SetVersion

func (s *OpenShiftPipelinesConfigStatus) SetVersion(string)

Jump to

Keyboard shortcuts

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