Documentation ¶
Overview ¶
Package v1alpha1 provides the Anglo Korean CRD Types
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: common.CRDGroup, Version: v1alpha1common.CRDVersion}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Cronjob ¶
type Cronjob struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata"` Spec CronjobSpec `json:"spec"` Status CronjobStatus `json:"status,omitempty"` }
type CronjobList ¶
type CronjobSpec ¶
type CronjobSpec struct { v1alpha1common.Base Schedule string `json:"schedule"` }
CronjobSpec is a resource for creating cronjobs.
It wraps the usual cronjob stuff with all of the extra config and data and helpers we want in our jobs.
If you just need a cronjob to run a container, this resource overkill :)
type CronjobStatus ¶
Click to show internal directories.
Click to hide internal directories.