v1

package
v0.0.0-...-1fec092 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   "sbc",
	Version: "v1",
}

Define your schema name and the version

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type SBC

type SBC struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              SBCSpec   `json:"spec"`
	Status            SBCStatus `json:"status"`
}

+genclient +genclient:noStatus +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*SBC) DeepCopy

func (in *SBC) DeepCopy() *SBC

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

func (*SBC) DeepCopyInto

func (in *SBC) DeepCopyInto(out *SBC)

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

func (*SBC) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBCList

type SBCList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []SBC `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*SBCList) DeepCopy

func (in *SBCList) DeepCopy() *SBCList

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

func (*SBCList) DeepCopyInto

func (in *SBCList) DeepCopyInto(out *SBCList)

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

func (*SBCList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SBCSpec

type SBCSpec struct {
	Address string `json:"address"`
	Region  string `json:"region"`
	AZ      string `json:"az"`
}

+k8s:deepcopy-gen=true

func (*SBCSpec) DeepCopy

func (in *SBCSpec) DeepCopy() *SBCSpec

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

func (*SBCSpec) DeepCopyInto

func (in *SBCSpec) DeepCopyInto(out *SBCSpec)

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

type SBCStatus

type SBCStatus struct {
	State   string `json:"state"`
	Message string `json:"message"`
}

+k8s:deepcopy-gen=true

func (*SBCStatus) DeepCopy

func (in *SBCStatus) DeepCopy() *SBCStatus

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

func (*SBCStatus) DeepCopyInto

func (in *SBCStatus) DeepCopyInto(out *SBCStatus)

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