v1

package
v0.0.0-...-5c10511 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

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: fed4fire.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

func (in *Sliver) DeepCopy() *Sliver

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sliver.

func (*Sliver) DeepCopyInto

func (in *Sliver) DeepCopyInto(out *Sliver)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Sliver) DeepCopyObject

func (in *Sliver) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL