Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the migration v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/konveyor/tackle2-controller/pkg/apis/migration +k8s:defaulter-gen=TypeMeta +groupName=tackle.konveyor.io
Index ¶
Constants ¶
const ( ValidationError = "ValidationError" Validated = "Validated" )
Variables ¶
var ( Ready = meta.Condition{ Type: "Ready", Status: meta.ConditionTrue, } ImageNotDefined = meta.Condition{ Type: ValidationError, Status: meta.ConditionTrue, Reason: "ImageNotDefined", Message: "Either image or container.image must be specified.", } )
var SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
var SchemeGroupVersion = schema.GroupVersion{
Group: "tackle.konveyor.io",
Version: "v1alpha1",
}
Functions ¶
This section is empty.
Types ¶
type Addon ¶
type Addon struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of the resource. Spec AddonSpec `json:"spec"` // Status defines the observed state of the resource. Status AddonStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Addon) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Addon) Reconciled ¶ added in v0.5.0
Reconciled returns true when the resource has been reconciled.
type AddonList ¶
type AddonList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []Addon `json:"items"` }
AddonList is a list of Addon. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AddonList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonList.
func (*AddonList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddonList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddonSpec ¶
type AddonSpec struct { // Deprecated: Addon is deprecated. // +kubebuilder:validation:Optional Image *string `json:"image,omitempty"` // Deprecated: ImagePullPolicy is deprecated. // +kubebuilder:validation:Optional ImagePullPolicy *core.PullPolicy `json:"imagePullPolicy,omitempty"` // Deprecated: Resources is deprecated. // +kubebuilder:validation:Optional Resources *core.ResourceRequirements `json:"resources,omitempty"` // // Task declares task (kind) compatibility. Task string `json:"task,omitempty"` // Selector defines criteria to be selected for a task. Selector string `json:"selector,omitempty"` // Container defines the addon container. Container core.Container `json:"container,omitempty"` // Metadata details. Metadata runtime.RawExtension `json:"metadata,omitempty"` }
AddonSpec defines the desired state of the resource.
func (*AddonSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonSpec.
func (*AddonSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonStatus ¶
type AddonStatus struct { // The most recent generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Resource conditions. Conditions []meta.Condition `json:"conditions,omitempty"` }
AddonStatus defines the observed state of the resource.
func (*AddonStatus) DeepCopy ¶
func (in *AddonStatus) DeepCopy() *AddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonStatus.
func (*AddonStatus) DeepCopyInto ¶
func (in *AddonStatus) DeepCopyInto(out *AddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extension ¶ added in v0.5.0
type Extension struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` // pec defines the desired state of the resource. Spec ExtensionSpec `json:"spec"` // Status defines the observed state of the resource. Status ExtensionStatus `json:"status,omitempty"` }
Extension defines an addon extension. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status
func (*Extension) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Extension) DeepCopyObject ¶ added in v0.5.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtensionList ¶ added in v0.5.0
type ExtensionList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []Extension `json:"items"` }
ExtensionList is a list of Extension. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ExtensionList) DeepCopy ¶ added in v0.5.0
func (in *ExtensionList) DeepCopy() *ExtensionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionList.
func (*ExtensionList) DeepCopyInto ¶ added in v0.5.0
func (in *ExtensionList) DeepCopyInto(out *ExtensionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionList) DeepCopyObject ¶ added in v0.5.0
func (in *ExtensionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtensionSpec ¶ added in v0.5.0
type ExtensionSpec struct { // Addon (name) declares addon compatibility. Addon string `json:"addon"` // Container defines the extension container. Container core.Container `json:"container"` // Selector defines criteria to be included in the addon pod. Selector string `json:"selector,omitempty"` // Metadata details. Metadata runtime.RawExtension `json:"metadata,omitempty"` }
ExtensionSpec defines the desired state of the resource.
func (*ExtensionSpec) DeepCopy ¶ added in v0.5.0
func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionSpec.
func (*ExtensionSpec) DeepCopyInto ¶ added in v0.5.0
func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionStatus ¶ added in v0.5.0
type ExtensionStatus struct { // The most recent generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
ExtensionStatus defines the observed state of the resource.
func (*ExtensionStatus) DeepCopy ¶ added in v0.5.0
func (in *ExtensionStatus) DeepCopy() *ExtensionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionStatus.
func (*ExtensionStatus) DeepCopyInto ¶ added in v0.5.0
func (in *ExtensionStatus) DeepCopyInto(out *ExtensionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tackle ¶
type Tackle struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state of the resource. Spec runtime.RawExtension `json:"spec,omitempty"` // Status defines the observed state of the resource. Status runtime.RawExtension `json:"status,omitempty"` }
Tackle defines a tackle application. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status
func (*Tackle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tackle.
func (*Tackle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tackle) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TackleList ¶
type TackleList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []Tackle `json:"items"` }
TackleList is a list of Tackle. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TackleList) DeepCopy ¶
func (in *TackleList) DeepCopy() *TackleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TackleList.
func (*TackleList) DeepCopyInto ¶
func (in *TackleList) DeepCopyInto(out *TackleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TackleList) DeepCopyObject ¶
func (in *TackleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Task ¶ added in v0.5.0
type Task struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` // Spec defines the desired state the resource. Spec TaskSpec `json:"spec,omitempty"` // Status defines the observed state the resource. Status TaskStatus `json:"status,omitempty"` }
Task defines a hub task. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status
func (*Task) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Task) DeepCopyObject ¶ added in v0.5.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskList ¶ added in v0.5.0
type TaskList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []Task `json:"items"` }
TaskList is a list of Task. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TaskList) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskList.
func (*TaskList) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskList) DeepCopyObject ¶ added in v0.5.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskSpec ¶ added in v0.5.0
type TaskSpec struct { // Priority defines the task priority (0-n). Priority int `json:"priority,omitempty"` // Dependencies defines a list of task names on which this task depends. Dependencies []string `json:"dependencies,omitempty"` // Data object passed to the addon. Data runtime.RawExtension `json:"data,omitempty"` }
TaskSpec defines the desired state the resource.
func (*TaskSpec) DeepCopy ¶ added in v0.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSpec.
func (*TaskSpec) DeepCopyInto ¶ added in v0.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskStatus ¶ added in v0.5.0
type TaskStatus struct { // The most recent generation observed by the controller. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
TaskStatus defines the observed state the resource.
func (*TaskStatus) DeepCopy ¶ added in v0.5.0
func (in *TaskStatus) DeepCopy() *TaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskStatus.
func (*TaskStatus) DeepCopyInto ¶ added in v0.5.0
func (in *TaskStatus) DeepCopyInto(out *TaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.