Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=custom.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder for CV resource SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme for CV resource AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: custom.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ConfigSpec ¶
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 ¶
func (in *ContainerVersionList) DeepCopy() *ContainerVersionList
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"` Deployment DeploymentSpec `json:"deployment"` Config *ConfigSpec `json:"config"` }
ContainerVersionSpec is ContainerVersionSpec
func (*ContainerVersionSpec) DeepCopy ¶
func (in *ContainerVersionSpec) DeepCopy() *ContainerVersionSpec
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 ¶
func (in *ContainerVersionStatus) DeepCopy() *ContainerVersionStatus
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.
type DeploymentSpec ¶
DeploymentSpec is spec for Deployment resources
func (*DeploymentSpec) DeepCopy ¶
func (in *DeploymentSpec) DeepCopy() *DeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (*DeploymentSpec) DeepCopyInto ¶
func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.