Documentation ¶
Overview ¶
+groupName=ci.openshift.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func LabelsForImageStreamTag(namespace, name string) map[string]string
- func Resource(resource string) schema.GroupResource
- type TestImageStreamTagImport
- func (in *TestImageStreamTagImport) DeepCopy() *TestImageStreamTagImport
- func (in *TestImageStreamTagImport) DeepCopyInto(out *TestImageStreamTagImport)
- func (in *TestImageStreamTagImport) DeepCopyObject() runtime.Object
- func (t *TestImageStreamTagImport) SetDeterministicName()
- func (t *TestImageStreamTagImport) WithImageStreamLabels() *TestImageStreamTagImport
- type TestImageStreamTagImportList
- type TestImageStreamTagImportSpec
Constants ¶
const ( LabelKeyImageStreamTagNamespace = "imagestreamtag-namespace" LabelKeyImageStreamTagName = "imagestreamtag-name" )
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 LabelsForImageStreamTag ¶
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 ¶
func (in *TestImageStreamTagImport) DeepCopy() *TestImageStreamTagImport
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 ¶
func (in *TestImageStreamTagImportList) DeepCopy() *TestImageStreamTagImportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestImageStreamTagImportList.
func (*TestImageStreamTagImportList) DeepCopyInto ¶
func (in *TestImageStreamTagImportList) DeepCopyInto(out *TestImageStreamTagImportList)
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 ¶
func (in *TestImageStreamTagImportSpec) DeepCopy() *TestImageStreamTagImportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestImageStreamTagImportSpec.
func (*TestImageStreamTagImportSpec) DeepCopyInto ¶
func (in *TestImageStreamTagImportSpec) DeepCopyInto(out *TestImageStreamTagImportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.