v1alpha1

package
v0.0.0-...-7b725e0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mapper v1alpha1 API group +kubebuilder:object:generate=true +groupName=mapper.imagerelocation.pivotal.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "mapper.imagerelocation.pivotal.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Condition

type Condition struct {
	// Type is the type of condition
	Type ConditionType `json:"type"`

	// Status of the condition, one of True, False, Unknown
	// +required
	Status corev1.ConditionStatus `json:"status"`

	// ObservationTime records when the condition was observed
	ObservationTime metav1.Time `json:"observationTime,omitempty"`

	// Message is a human readable description of the condition
	// +optional
	Message string `json:"message,omitempty"`
}

Condition defines an observation about an ImageMap See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionType

type ConditionType string

ConditionType is a camel-cased condition type

const (
	// ConditionReady specifies that the resource has been processed, regardless of the outcome
	ConditionReady ConditionType = "Ready"
)

type ImageMap

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

	Spec   ImageMapSpec   `json:"spec,omitempty"`
	Status ImageMapStatus `json:"status,omitempty"`
}

ImageMap is the Schema for the imagemaps API

func (*ImageMap) DeepCopy

func (in *ImageMap) DeepCopy() *ImageMap

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

func (*ImageMap) DeepCopyInto

func (in *ImageMap) DeepCopyInto(out *ImageMap)

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

func (*ImageMap) DeepCopyObject

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

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

type ImageMapList

type ImageMapList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ImageMap `json:"items"`
}

ImageMapList contains a list of ImageMap

func (*ImageMapList) DeepCopy

func (in *ImageMapList) DeepCopy() *ImageMapList

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

func (*ImageMapList) DeepCopyInto

func (in *ImageMapList) DeepCopyInto(out *ImageMapList)

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

func (*ImageMapList) DeepCopyObject

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

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

type ImageMapSpec

type ImageMapSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Map []Maplet `json:"map"`
}

ImageMapSpec defines the desired state of ImageMap

func (*ImageMapSpec) DeepCopy

func (in *ImageMapSpec) DeepCopy() *ImageMapSpec

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

func (*ImageMapSpec) DeepCopyInto

func (in *ImageMapSpec) DeepCopyInto(out *ImageMapSpec)

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

type ImageMapStatus

type ImageMapStatus struct {

	// ObservedGeneration records the ImageMap generation that the status reflects
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Conditions are observations about the state of the ImageMap
	Conditions []Condition `json:"conditions"`
}

ImageMapStatus defines the observed state of ImageMap

func (*ImageMapStatus) DeepCopy

func (in *ImageMapStatus) DeepCopy() *ImageMapStatus

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

func (*ImageMapStatus) DeepCopyInto

func (in *ImageMapStatus) DeepCopyInto(out *ImageMapStatus)

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

type Maplet

type Maplet struct {
	From string `json:"from"`
	To   string `json:"to"`
}

func (*Maplet) DeepCopy

func (in *Maplet) DeepCopy() *Maplet

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

func (*Maplet) DeepCopyInto

func (in *Maplet) DeepCopyInto(out *Maplet)

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