Documentation ¶
Overview ¶
+groupName=ci.openshift.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- func UpdateMultiArchBuildConfig(ctx context.Context, logger *logrus.Entry, client ctrlruntimeclient.Client, ...) error
- type MultiArchBuildConfig
- type MultiArchBuildConfigList
- type MultiArchBuildConfigSpec
- type MultiArchBuildConfigState
- type MultiArchBuildConfigStatus
Constants ¶
const ( MultiArchBuildConfigNameLabel = "multiarchbuildconfigs.ci.openshift.io/name" MultiArchBuildConfigArchLabel = "multiarchbuildconfigs.ci.openshift.io/arch" )
Variables ¶
var ( // SchemeBuilder collects functions that add things to a scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "ci.openshift.io", Version: "v1"}
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
func UpdateMultiArchBuildConfig ¶
func UpdateMultiArchBuildConfig(ctx context.Context, logger *logrus.Entry, client ctrlruntimeclient.Client, namespacedName types.NamespacedName, mutateFn func(mabcToMutate *MultiArchBuildConfig)) error
Types ¶
type MultiArchBuildConfig ¶
type MultiArchBuildConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` // +kubebuilder:validation:Required Spec MultiArchBuildConfigSpec `json:"spec"` Status MultiArchBuildConfigStatus `json:"status,omitempty"` }
func (*MultiArchBuildConfig) DeepCopy ¶
func (in *MultiArchBuildConfig) DeepCopy() *MultiArchBuildConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiArchBuildConfig.
func (*MultiArchBuildConfig) DeepCopyInto ¶
func (in *MultiArchBuildConfig) DeepCopyInto(out *MultiArchBuildConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiArchBuildConfig) DeepCopyObject ¶
func (in *MultiArchBuildConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiArchBuildConfigList ¶
type MultiArchBuildConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []MultiArchBuildConfig `json:"items"` }
func (*MultiArchBuildConfigList) DeepCopy ¶
func (in *MultiArchBuildConfigList) DeepCopy() *MultiArchBuildConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiArchBuildConfigList.
func (*MultiArchBuildConfigList) DeepCopyInto ¶
func (in *MultiArchBuildConfigList) DeepCopyInto(out *MultiArchBuildConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MultiArchBuildConfigList) DeepCopyObject ¶
func (in *MultiArchBuildConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MultiArchBuildConfigSpec ¶
type MultiArchBuildConfigSpec struct { BuildSpec buildv1.BuildConfigSpec `json:"build_spec"` // ExternalRegistries is a list of external registrie URLs the images are // going to be pushed to. Private registries are allows as long as the // mabc controller holds valid credentials. ExternalRegistries []string `json:"external_registries,omitempty"` }
func (*MultiArchBuildConfigSpec) DeepCopy ¶
func (in *MultiArchBuildConfigSpec) DeepCopy() *MultiArchBuildConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiArchBuildConfigSpec.
func (*MultiArchBuildConfigSpec) DeepCopyInto ¶
func (in *MultiArchBuildConfigSpec) DeepCopyInto(out *MultiArchBuildConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiArchBuildConfigState ¶
type MultiArchBuildConfigState string
const ( // SuccessState means all builds were completed without error (exit 0) SuccessState MultiArchBuildConfigState = "success" // FailureState means that all builds were completed with errors (exit non-zero) FailureState MultiArchBuildConfigState = "failure" )
type MultiArchBuildConfigStatus ¶
type MultiArchBuildConfigStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` State MultiArchBuildConfigState `json:"state,omitempty"` }
func (*MultiArchBuildConfigStatus) DeepCopy ¶
func (in *MultiArchBuildConfigStatus) DeepCopy() *MultiArchBuildConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiArchBuildConfigStatus.
func (*MultiArchBuildConfigStatus) DeepCopyInto ¶
func (in *MultiArchBuildConfigStatus) DeepCopyInto(out *MultiArchBuildConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.