Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: rtcfg.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 Generic ¶
type Generic struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Selector GenericSelector `json:"selector"` Spec GenericSpec `json:"spec"` Status GenericStatus `json:"status"` }
Generic is a specification for a Generic resource
func (*Generic) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Generic.
func (*Generic) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Generic) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GenericList ¶
type GenericList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Generic `json:"items"` }
GenericList is a list of Generic resources
func (*GenericList) DeepCopy ¶
func (in *GenericList) DeepCopy() *GenericList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericList.
func (*GenericList) DeepCopyInto ¶
func (in *GenericList) DeepCopyInto(out *GenericList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GenericList) DeepCopyObject ¶
func (in *GenericList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GenericSelector ¶
GenericSelector - selector of pods for applying Generic resource
func (*GenericSelector) DeepCopy ¶
func (in *GenericSelector) DeepCopy() *GenericSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericSelector.
func (*GenericSelector) DeepCopyInto ¶
func (in *GenericSelector) DeepCopyInto(out *GenericSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericSpec ¶
type GenericSpec struct { Service string `json:"service"` Config GenericSpecConfig `json:"config"` }
GenericSpec is the spec for a Generic resource
func (*GenericSpec) DeepCopy ¶
func (in *GenericSpec) DeepCopy() *GenericSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericSpec.
func (*GenericSpec) DeepCopyInto ¶
func (in *GenericSpec) DeepCopyInto(out *GenericSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericSpecConfig ¶
func (*GenericSpecConfig) DeepCopy ¶
func (in *GenericSpecConfig) DeepCopy() *GenericSpecConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericSpecConfig.
func (*GenericSpecConfig) DeepCopyInto ¶
func (in *GenericSpecConfig) DeepCopyInto(out *GenericSpecConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericStatus ¶
type GenericStatus struct {
SeenBy int32 `json:"seenBy"`
}
GenericStatus is the status for a Generic resource
func (*GenericStatus) DeepCopy ¶
func (in *GenericStatus) DeepCopy() *GenericStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericStatus.
func (*GenericStatus) DeepCopyInto ¶
func (in *GenericStatus) DeepCopyInto(out *GenericStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.