v2

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "crew.example.com", Version: "v2"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Driver

type Driver struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

Driver is a test type.

func (*Driver) ConvertFrom

func (d *Driver) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts Driver from the Hub version of driver.

func (*Driver) ConvertTo

func (d *Driver) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts Driver to the Hub version of driver.

func (*Driver) DeepCopy

func (d *Driver) DeepCopy() *Driver

DeepCopy returns a copy of Driver.

func (*Driver) DeepCopyInto

func (d *Driver) DeepCopyInto(out *Driver)

DeepCopyInto deep copies into the given Driver.

func (*Driver) DeepCopyObject

func (d *Driver) DeepCopyObject() runtime.Object

DeepCopyObject returns a copy of Driver as runtime.Object.

type DriverList

type DriverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Driver `json:"items"`
}

DriverList is a list of Drivers.

func (*DriverList) DeepCopy

func (in *DriverList) DeepCopy() *DriverList

DeepCopy returns a copy of DriverList.

func (*DriverList) DeepCopyInto

func (in *DriverList) DeepCopyInto(out *DriverList)

DeepCopyInto deep copies into the given DriverList.

func (*DriverList) DeepCopyObject

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

DeepCopyObject returns a copy of DriverList as runtime.Object.

Jump to

Keyboard shortcuts

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