Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=operator.openshift-pipelines.org
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type OpenShiftPipelinesConfig
- func (in *OpenShiftPipelinesConfig) DeepCopy() *OpenShiftPipelinesConfig
- func (in *OpenShiftPipelinesConfig) DeepCopyInto(out *OpenShiftPipelinesConfig)
- func (in *OpenShiftPipelinesConfig) DeepCopyObject() runtime.Object
- func (d *OpenShiftPipelinesConfig) GetConditionSet() apis.ConditionSet
- func (*OpenShiftPipelinesConfig) GetGroupVersionKind() schema.GroupVersionKind
- func (d *OpenShiftPipelinesConfig) GetSpec() upstreamv1alpha1.TektonComponentSpec
- func (d *OpenShiftPipelinesConfig) GetStatus() *duckv1.Status
- func (d *OpenShiftPipelinesConfig) SetDefaults(ctx context.Context)
- func (d *OpenShiftPipelinesConfig) Validate(ctx context.Context) *apis.FieldError
- type OpenShiftPipelinesConfigList
- type OpenShiftPipelinesConfigSpec
- func (in *OpenShiftPipelinesConfigSpec) DeepCopy() *OpenShiftPipelinesConfigSpec
- func (in *OpenShiftPipelinesConfigSpec) DeepCopyInto(out *OpenShiftPipelinesConfigSpec)
- func (s *OpenShiftPipelinesConfigSpec) GetTargetNamespace() string
- func (ds *OpenShiftPipelinesConfigSpec) Validate(ctx context.Context) *apis.FieldError
- type OpenShiftPipelinesConfigStatus
- func (in *OpenShiftPipelinesConfigStatus) DeepCopy() *OpenShiftPipelinesConfigStatus
- func (in *OpenShiftPipelinesConfigStatus) DeepCopyInto(out *OpenShiftPipelinesConfigStatus)
- func (s *OpenShiftPipelinesConfigStatus) GetManifests() []string
- func (s *OpenShiftPipelinesConfigStatus) GetVersion() string
- func (ospcs *OpenShiftPipelinesConfigStatus) InitializeConditions()
- func (ospcs *OpenShiftPipelinesConfigStatus) IsReady() bool
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependenciesInstalled()
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependencyInstalling(msg string)
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkDependencyMissing(msg string)
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkDeploymentsAvailable()
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkDeploymentsNotReady()
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkInstallFailed(msg string)
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkInstallSucceeded()
- func (ospcs *OpenShiftPipelinesConfigStatus) MarkNotReady(msg string)
- func (s *OpenShiftPipelinesConfigStatus) SetVersion(string)
Constants ¶
const ( PreInstall apis.ConditionType = "PreInstall" ComponentsReady apis.ConditionType = "ComponentsReady" PostInstall apis.ConditionType = "PostInstall" )
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 ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: operator.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
func (in *OpenShiftPipelinesConfig) DeepCopy() *OpenShiftPipelinesConfig
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 (d *OpenShiftPipelinesConfig) GetSpec() upstreamv1alpha1.TektonComponentSpec
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 ¶
func (d *OpenShiftPipelinesConfig) Validate(ctx context.Context) *apis.FieldError
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 ¶
func (in *OpenShiftPipelinesConfigList) DeepCopy() *OpenShiftPipelinesConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenShiftPipelinesConfigList.
func (*OpenShiftPipelinesConfigList) DeepCopyInto ¶
func (in *OpenShiftPipelinesConfigList) DeepCopyInto(out *OpenShiftPipelinesConfigList)
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 ¶
func (in *OpenShiftPipelinesConfigSpec) DeepCopy() *OpenShiftPipelinesConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenShiftPipelinesConfigSpec.
func (*OpenShiftPipelinesConfigSpec) DeepCopyInto ¶
func (in *OpenShiftPipelinesConfigSpec) DeepCopyInto(out *OpenShiftPipelinesConfigSpec)
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 ¶
func (ds *OpenShiftPipelinesConfigSpec) Validate(ctx context.Context) *apis.FieldError
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 ¶
func (in *OpenShiftPipelinesConfigStatus) DeepCopy() *OpenShiftPipelinesConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenShiftPipelinesConfigStatus.
func (*OpenShiftPipelinesConfigStatus) DeepCopyInto ¶
func (in *OpenShiftPipelinesConfigStatus) DeepCopyInto(out *OpenShiftPipelinesConfigStatus)
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)