v1alpha1

package
v0.0.0-...-2a63d36 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.cp4mcm.ibm.com

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.cp4mcm.ibm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	HostingHybridDeployable    = SchemeGroupVersion.Group + "/hosting-hybriddeployable"
	ControlledBy               = SchemeGroupVersion.Group + "controlled-by"
	OutputOf                   = SchemeGroupVersion.Group + "output-of"
	DependencyFrom             = SchemeGroupVersion.Group + "dependency-from"
	HybridDeployableController = "hybriddeployable"
	DefaultDeployerType        = "kubernetes"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "app.cp4mcm.ibm.com", Version: "v1alpha1"}

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

Functions

This section is empty.

Types

type HybridDeployable

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

	Spec   HybridDeployableSpec   `json:"spec,omitempty"`
	Status HybridDeployableStatus `json:"status,omitempty"`
}

HybridDeployable is the Schema for the hybriddeployables API +kubebuilder:subresource:status +kubebuilder:resource:path=hybriddeployables,scope=Namespaced +kubebuilder:resource:path=hybriddeployables,shortName=hdpl

func (*HybridDeployable) DeepCopy

func (in *HybridDeployable) DeepCopy() *HybridDeployable

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

func (*HybridDeployable) DeepCopyInto

func (in *HybridDeployable) DeepCopyInto(out *HybridDeployable)

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

func (*HybridDeployable) DeepCopyObject

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

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

type HybridDeployableList

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

HybridDeployableList contains a list of HybridDeployable

func (*HybridDeployableList) DeepCopy

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

func (*HybridDeployableList) DeepCopyInto

func (in *HybridDeployableList) DeepCopyInto(out *HybridDeployableList)

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

func (*HybridDeployableList) DeepCopyObject

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

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

type HybridDeployableSpec

type HybridDeployableSpec struct {
	HybridTemplates []HybridTemplate         `json:"hybridtemplates,omitempty"`
	Placement       *HybridPlacement         `json:"placement,omitempty"`
	Dependencies    []corev1.ObjectReference `json:"dependencies,omitempty"`
}

HybridDeployableSpec defines the desired state of HybridDeployable

func (*HybridDeployableSpec) DeepCopy

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

func (*HybridDeployableSpec) DeepCopyInto

func (in *HybridDeployableSpec) DeepCopyInto(out *HybridDeployableSpec)

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

type HybridDeployableStatus

type HybridDeployableStatus struct {
	PerDeployerStatus map[string]PerDeployerStatus `json:"perDeployerStatus,omitempty"`
}

HybridDeployableStatus defines the observed state of HybridDeployable

func (*HybridDeployableStatus) DeepCopy

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

func (*HybridDeployableStatus) DeepCopyInto

func (in *HybridDeployableStatus) DeepCopyInto(out *HybridDeployableStatus)

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

type HybridPlacement

type HybridPlacement struct {
	Deployers      []corev1.ObjectReference `json:"deployers,omitempty"`
	DeployerLabels *metav1.LabelSelector    `json:"deployerLabels,omitempty"`
	PlacementRef   *corev1.ObjectReference  `json:"placementRef,omitempty"`
}

func (*HybridPlacement) DeepCopy

func (in *HybridPlacement) DeepCopy() *HybridPlacement

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

func (*HybridPlacement) DeepCopyInto

func (in *HybridPlacement) DeepCopyInto(out *HybridPlacement)

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

type HybridTemplate

type HybridTemplate struct {
	DeployerType string                `json:"deployerType,omitempty"`
	Template     *runtime.RawExtension `json:"template"`
}

func (*HybridTemplate) DeepCopy

func (in *HybridTemplate) DeepCopy() *HybridTemplate

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

func (*HybridTemplate) DeepCopyInto

func (in *HybridTemplate) DeepCopyInto(out *HybridTemplate)

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

type PerDeployerStatus

type PerDeployerStatus struct {
	dplv1alpha1.ResourceUnitStatus `json:",inline"`
	Outputs                        []corev1.ObjectReference `json:"outputs,omitempty"`
}

func (*PerDeployerStatus) DeepCopy

func (in *PerDeployerStatus) DeepCopy() *PerDeployerStatus

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

func (*PerDeployerStatus) DeepCopyInto

func (in *PerDeployerStatus) DeepCopyInto(out *PerDeployerStatus)

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