v1

package
v0.0.0-...-1eb7c65 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+groupName=ci.openshift.io

Index

Constants

View Source
const (
	MultiArchBuildConfigNameLabel = "multiarchbuildconfigs.ci.openshift.io/name"
	MultiArchBuildConfigArchLabel = "multiarchbuildconfigs.ci.openshift.io/arch"
)

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "ci.openshift.io", Version: "v1"}

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

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

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

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

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

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

func (*MultiArchBuildConfigStatus) DeepCopyInto

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