v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManifestSpecName        string = "manifest"
	OpsSpecName             string = "ops"
	ConfigMapType           string = "configmap"
	SecretType              string = "secret"
	URLType                 string = "url"
	ImplicitVariableKeyName string = "value"
)

Valid values for ref types

Variables

View Source
var (
	// LabelDeploymentName is the label key for manifest name
	LabelDeploymentName = fmt.Sprintf("%s/deployment-name", apis.GroupName)
	// LabelManifestSHA1 is the label key for manifest SHA1
	LabelManifestSHA1 = fmt.Sprintf("%s/manifestsha1", apis.GroupName)
	// AnnotationManifestSHA1 is the annotation key for manifest SHA1
	AnnotationManifestSHA1 = fmt.Sprintf("%s/manifestsha1", apis.GroupName)
)
View Source
var (

	// AddToScheme is used for schema registrations in the controller package
	// and also in the generated kube code
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: apis.GroupName, Version: "v1alpha1"}

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 Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BOSHDeployment

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

	Spec   BOSHDeploymentSpec   `json:"spec,omitempty"`
	Status BOSHDeploymentStatus `json:"status,omitempty"`
}

BOSHDeployment is the Schema for the boshdeployments API +k8s:openapi-gen=true

func (*BOSHDeployment) DeepCopy

func (in *BOSHDeployment) DeepCopy() *BOSHDeployment

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

func (*BOSHDeployment) DeepCopyInto

func (in *BOSHDeployment) DeepCopyInto(out *BOSHDeployment)

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

func (*BOSHDeployment) DeepCopyObject

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

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

func (*BOSHDeployment) ToBeDeleted added in v0.2.0

func (e *BOSHDeployment) ToBeDeleted() bool

ToBeDeleted checks whether this BOSHDeployment has been marked for deletion

type BOSHDeploymentList

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

BOSHDeploymentList contains a list of BOSHDeployment

func (*BOSHDeploymentList) DeepCopy

func (in *BOSHDeploymentList) DeepCopy() *BOSHDeploymentList

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

func (*BOSHDeploymentList) DeepCopyInto

func (in *BOSHDeploymentList) DeepCopyInto(out *BOSHDeploymentList)

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

func (*BOSHDeploymentList) DeepCopyObject

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

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

type BOSHDeploymentSpec

type BOSHDeploymentSpec struct {
	Manifest Manifest `json:"manifest"`
	Ops      []Ops    `json:"ops,omitempty"`
}

BOSHDeploymentSpec defines the desired state of BOSHDeployment

func (*BOSHDeploymentSpec) DeepCopy

func (in *BOSHDeploymentSpec) DeepCopy() *BOSHDeploymentSpec

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

func (*BOSHDeploymentSpec) DeepCopyInto

func (in *BOSHDeploymentSpec) DeepCopyInto(out *BOSHDeploymentSpec)

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

type BOSHDeploymentStatus

type BOSHDeploymentStatus struct {
	State string   `json:"state"`
	Nodes []string `json:"nodes"`
}

BOSHDeploymentStatus defines the observed state of BOSHDeployment

func (*BOSHDeploymentStatus) DeepCopy

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

func (*BOSHDeploymentStatus) DeepCopyInto

func (in *BOSHDeploymentStatus) DeepCopyInto(out *BOSHDeploymentStatus)

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

type Manifest

type Manifest struct {
	Type string `json:"type"`
	Ref  string `json:"ref"`
}

Manifest defines the manifest type and location

func (*Manifest) DeepCopy

func (in *Manifest) DeepCopy() *Manifest

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

func (*Manifest) DeepCopyInto

func (in *Manifest) DeepCopyInto(out *Manifest)

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

type Ops

type Ops struct {
	Type string `json:"type"`
	Ref  string `json:"ref"`
}

Ops defines the ops type and location

func (*Ops) DeepCopy

func (in *Ops) DeepCopy() *Ops

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

func (*Ops) DeepCopyInto

func (in *Ops) DeepCopyInto(out *Ops)

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