Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=k8cc.io
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type Distcc
- type DistccClaim
- type DistccClaimList
- type DistccClaimSpec
- type DistccClaimStatus
- type DistccClient
- type DistccClientClaim
- type DistccClientClaimList
- type DistccClientClaimSpec
- type DistccClientClaimStatus
- type DistccClientList
- type DistccClientSpec
- type DistccList
- type DistccSpec
- type DistccStatus
- type Secret
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: k8cc.GroupName, Version: "v1alpha1"}
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 Distcc ¶
type Distcc struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DistccSpec `json:"spec"` Status DistccStatus `json:"status"` }
Distcc is a specification for a Distcc resource
func (*Distcc) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Distcc.
func (*Distcc) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Distcc) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClaim ¶
type DistccClaim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DistccClaimSpec `json:"spec"` Status DistccClaimStatus `json:"status"` }
DistccClaim represents a request for some Distcc resources from a user
func (*DistccClaim) DeepCopy ¶
func (in *DistccClaim) DeepCopy() *DistccClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClaim.
func (*DistccClaim) DeepCopyInto ¶
func (in *DistccClaim) DeepCopyInto(out *DistccClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClaim) DeepCopyObject ¶
func (in *DistccClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClaimList ¶
type DistccClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DistccClaim `json:"items"` }
DistccClaimList is a list of DistccClaim resources
func (*DistccClaimList) DeepCopy ¶
func (in *DistccClaimList) DeepCopy() *DistccClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClaimList.
func (*DistccClaimList) DeepCopyInto ¶
func (in *DistccClaimList) DeepCopyInto(out *DistccClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClaimList) DeepCopyObject ¶
func (in *DistccClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClaimSpec ¶
type DistccClaimSpec struct { DistccName string `json:"distccName"` UserName string `json:"userName"` }
DistccClaimSpec is the spec for a DistccClaim resource
func (*DistccClaimSpec) DeepCopy ¶
func (in *DistccClaimSpec) DeepCopy() *DistccClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClaimSpec.
func (*DistccClaimSpec) DeepCopyInto ¶
func (in *DistccClaimSpec) DeepCopyInto(out *DistccClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccClaimStatus ¶
DistccClaimStatus is the status for a DistccClaim resource
func (*DistccClaimStatus) DeepCopy ¶
func (in *DistccClaimStatus) DeepCopy() *DistccClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClaimStatus.
func (*DistccClaimStatus) DeepCopyInto ¶
func (in *DistccClaimStatus) DeepCopyInto(out *DistccClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccClient ¶
type DistccClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DistccClientSpec `json:"spec"` }
DistccClient is a specification for a DistccClient resource
func (*DistccClient) DeepCopy ¶
func (in *DistccClient) DeepCopy() *DistccClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClient.
func (*DistccClient) DeepCopyInto ¶
func (in *DistccClient) DeepCopyInto(out *DistccClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClient) DeepCopyObject ¶
func (in *DistccClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClientClaim ¶
type DistccClientClaim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DistccClientClaimSpec `json:"spec"` Status DistccClientClaimStatus `json:"status"` }
DistccClientClaim represents a request for a client POD from a user
func (*DistccClientClaim) DeepCopy ¶
func (in *DistccClientClaim) DeepCopy() *DistccClientClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientClaim.
func (*DistccClientClaim) DeepCopyInto ¶
func (in *DistccClientClaim) DeepCopyInto(out *DistccClientClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClientClaim) DeepCopyObject ¶
func (in *DistccClientClaim) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClientClaimList ¶
type DistccClientClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DistccClientClaim `json:"items"` }
DistccClientClaimList is a list of DistccClientClaim resources
func (*DistccClientClaimList) DeepCopy ¶
func (in *DistccClientClaimList) DeepCopy() *DistccClientClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientClaimList.
func (*DistccClientClaimList) DeepCopyInto ¶
func (in *DistccClientClaimList) DeepCopyInto(out *DistccClientClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClientClaimList) DeepCopyObject ¶
func (in *DistccClientClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClientClaimSpec ¶
type DistccClientClaimSpec struct { DistccClientName string `json:"distccClientName"` UserName string `json:"userName"` Secrets []Secret `json:"secrets"` }
DistccClientClaimSpec contains info about a user lease
func (*DistccClientClaimSpec) DeepCopy ¶
func (in *DistccClientClaimSpec) DeepCopy() *DistccClientClaimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientClaimSpec.
func (*DistccClientClaimSpec) DeepCopyInto ¶
func (in *DistccClientClaimSpec) DeepCopyInto(out *DistccClientClaimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccClientClaimStatus ¶
type DistccClientClaimStatus struct { ExpirationTime *metav1.Time `json:"expirationTime"` Deployment *v1.LocalObjectReference `json:"deployment"` Service *v1.LocalObjectReference `json:"service"` }
DistccClientClaimStatus is the status for a DistccClientClaim resource
func (*DistccClientClaimStatus) DeepCopy ¶
func (in *DistccClientClaimStatus) DeepCopy() *DistccClientClaimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientClaimStatus.
func (*DistccClientClaimStatus) DeepCopyInto ¶
func (in *DistccClientClaimStatus) DeepCopyInto(out *DistccClientClaimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccClientList ¶
type DistccClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DistccClient `json:"items"` }
DistccClientList is a list of DistccClient resources
func (*DistccClientList) DeepCopy ¶
func (in *DistccClientList) DeepCopy() *DistccClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientList.
func (*DistccClientList) DeepCopyInto ¶
func (in *DistccClientList) DeepCopyInto(out *DistccClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccClientList) DeepCopyObject ¶
func (in *DistccClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccClientSpec ¶
type DistccClientSpec struct { LeaseDuration metav1.Duration `json:"leaseDuration"` Selector *metav1.LabelSelector `json:"selector,omitempty"` Template v1.PodTemplateSpec `json:"template"` }
DistccClientSpec is the spec for a DistccClient resource
func (*DistccClientSpec) DeepCopy ¶
func (in *DistccClientSpec) DeepCopy() *DistccClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccClientSpec.
func (*DistccClientSpec) DeepCopyInto ¶
func (in *DistccClientSpec) DeepCopyInto(out *DistccClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccList ¶
type DistccList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Distcc `json:"items"` }
DistccList is a list of Distcc resources
func (*DistccList) DeepCopy ¶
func (in *DistccList) DeepCopy() *DistccList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccList.
func (*DistccList) DeepCopyInto ¶
func (in *DistccList) DeepCopyInto(out *DistccList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DistccList) DeepCopyObject ¶
func (in *DistccList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DistccSpec ¶
type DistccSpec struct { DeploymentName string `json:"deploymentName"` ServiceName string `json:"serviceName"` Selector *metav1.LabelSelector `json:"selector,omitempty"` MinReplicas *int32 `json:"minReplicas,omitempty"` MaxReplicas int32 `json:"maxReplicas"` UserReplicas int32 `json:"userReplicas"` LeaseDuration metav1.Duration `json:"leaseDuration"` DownscaleWindow *metav1.Duration `json:"downscaleWindow"` Template v1.PodTemplateSpec `json:"template"` }
DistccSpec is the spec for a Distcc resource
func (*DistccSpec) DeepCopy ¶
func (in *DistccSpec) DeepCopy() *DistccSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccSpec.
func (*DistccSpec) DeepCopyInto ¶
func (in *DistccSpec) DeepCopyInto(out *DistccSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DistccStatus ¶
type DistccStatus struct { LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` LastScaleTime *metav1.Time `json:"lastScaleTime,omitempty"` }
DistccStatus is the status for a Distcc resource
func (*DistccStatus) DeepCopy ¶
func (in *DistccStatus) DeepCopy() *DistccStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DistccStatus.
func (*DistccStatus) DeepCopyInto ¶
func (in *DistccStatus) DeepCopyInto(out *DistccStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶
type Secret struct { Name string `json:"name"` VolumeSource v1.SecretVolumeSource `json:"volumeSource"` }
Secret contains the name and the reference to a secret in the namespace
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.