Documentation ¶
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: fed4fire.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 Sliver ¶
type Sliver struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SliverSpec `json:"spec,omitempty"` }
+kubebuilder:printcolumn:name="SLICE URN",type="string",JSONPath=".spec.sliceUrn" +kubebuilder:printcolumn:name="EXPIRES",type="string",JSONPath=".spec.expires" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:singular=sliver,path=slivers,scope=Namespaced
func (*Sliver) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sliver.
func (*Sliver) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sliver) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SliverList ¶
type SliverList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Sliver `json:"items"` }
func (*SliverList) DeepCopy ¶
func (in *SliverList) DeepCopy() *SliverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliverList.
func (*SliverList) DeepCopyInto ¶
func (in *SliverList) DeepCopyInto(out *SliverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SliverList) DeepCopyObject ¶
func (in *SliverList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SliverSpec ¶
type SliverSpec struct { // +kubebuilder:validation:Required URN string `json:"urn"` // +kubebuilder:validation:Required SliceURN string `json:"sliceUrn"` // +kubebuilder:validation:Required UserURN string `json:"userUrn"` // +kubebuilder:validation:Required Expires metav1.Time `json:"expires"` // +kubebuilder:validation:Required ClientID string `json:"clientId"` // +kubebuilder:validation:Required Image string `json:"image"` // +optional RequestedArch *string `json:"requestedArch"` // +optional RequestedNode *string `json:"requestedNode"` }
func (*SliverSpec) DeepCopy ¶
func (in *SliverSpec) DeepCopy() *SliverSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SliverSpec.
func (*SliverSpec) DeepCopyInto ¶
func (in *SliverSpec) DeepCopyInto(out *SliverSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.