v1

package
v0.0.0-...-b1a821f Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

+groupName=ci.openshift.io

Index

Constants

View Source
const (
	LabelKeyImageStreamTagNamespace = "imagestreamtag-namespace"
	LabelKeyImageStreamTagName      = "imagestreamtag-name"
)

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 LabelsForImageStreamTag

func LabelsForImageStreamTag(namespace, name string) map[string]string

LabelsForImageStreamTag returns the labels by which testimagestreamtagimports for a given imagestreamtag can be selected.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type TestImageStreamTagImport

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

	Spec TestImageStreamTagImportSpec `json:"spec"`
}

TestImageStreamTagImport can be used to request an ImageStreamTag import

func (*TestImageStreamTagImport) DeepCopy

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

func (*TestImageStreamTagImport) DeepCopyInto

func (in *TestImageStreamTagImport) DeepCopyInto(out *TestImageStreamTagImport)

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

func (*TestImageStreamTagImport) DeepCopyObject

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

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

func (*TestImageStreamTagImport) SetDeterministicName

func (t *TestImageStreamTagImport) SetDeterministicName()

SetDeterministicName sets the name of an TestImageStreamTagImport. Using it allows to avoid creating multiple objects for the same import.

func (*TestImageStreamTagImport) WithImageStreamLabels

func (t *TestImageStreamTagImport) WithImageStreamLabels() *TestImageStreamTagImport

WithImageStreamLabels sets namespace and name labels so we can easily filter for specific imports

type TestImageStreamTagImportList

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

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

TestImageStreamTagImportList is a list of TestImageStreamTagImport resources

func (*TestImageStreamTagImportList) DeepCopy

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

func (*TestImageStreamTagImportList) DeepCopyInto

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

func (*TestImageStreamTagImportList) DeepCopyObject

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

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

type TestImageStreamTagImportSpec

type TestImageStreamTagImportSpec struct {
	// ClusterName is the name of the cluster in which the import should be created
	ClusterName string `json:"clusterName,omitempty"`
	// Namespace is the namespace of the imagestreamtag
	Namespace string `json:"namespace,omitempty"`
	// Name is the name of the imagestreamtag
	Name string `json:"name,omitempty"`
}

func (*TestImageStreamTagImportSpec) DeepCopy

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

func (*TestImageStreamTagImportSpec) 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