v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: MIT Imports: 4 Imported by: 33

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=custom.k8s.io

Index

Constants

View Source
const CVAPP = "cvapp"

Variables

View Source
var (
	// SchemeBuilder for CV resource
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme for CV resource
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: custom.GroupName, Version: "v1"}

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 ConfigSpec

type ConfigSpec struct {
	Name string `json:"name"`
	Key  string `json:"key"`
}

ConfigSpec is spec for Config resources

func (*ConfigSpec) DeepCopy

func (in *ConfigSpec) DeepCopy() *ConfigSpec

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

func (*ConfigSpec) DeepCopyInto

func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)

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

type ContainerVersion

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

	Spec   ContainerVersionSpec   `json:"spec"`
	Status ContainerVersionStatus `json:"status"`
}

ContainerVersion is ContainerVersion resource

func (*ContainerVersion) DeepCopy

func (in *ContainerVersion) DeepCopy() *ContainerVersion

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

func (*ContainerVersion) DeepCopyInto

func (in *ContainerVersion) DeepCopyInto(out *ContainerVersion)

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

func (*ContainerVersion) DeepCopyObject

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

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

type ContainerVersionList

type ContainerVersionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ContainerVersion `json:"items"`
}

ContainerVersionList is a list of ContainerVersion resources

func (*ContainerVersionList) DeepCopy

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

func (*ContainerVersionList) DeepCopyInto

func (in *ContainerVersionList) DeepCopyInto(out *ContainerVersionList)

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

func (*ContainerVersionList) DeepCopyObject

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

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

type ContainerVersionSpec

type ContainerVersionSpec struct {
	ImageRepo      string `json:"imageRepo"`
	Tag            string `json:"tag"`
	CheckFrequency int    `json:"checkFrequency"`

	Selector map[string]string `json:"selector,omitempty" protobuf:"bytes,2,rep,name=selector"`

	Container string `json:"container"`

	Config *ConfigSpec `json:"config"`
}

ContainerVersionSpec is ContainerVersionSpec

func (*ContainerVersionSpec) DeepCopy

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

func (*ContainerVersionSpec) DeepCopyInto

func (in *ContainerVersionSpec) DeepCopyInto(out *ContainerVersionSpec)

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

type ContainerVersionStatus

type ContainerVersionStatus struct {
	Created bool `json:"deployed"`
}

ContainerVersionStatus is status for Deployment resources

func (*ContainerVersionStatus) DeepCopy

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

func (*ContainerVersionStatus) DeepCopyInto

func (in *ContainerVersionStatus) DeepCopyInto(out *ContainerVersionStatus)

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