Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the network v1 API group +kubebuilder:object:generate=true +groupName=network.alibabacloud.com
Index ¶
Constants ¶
const ( DeviceStatusPending = "Pending" DeviceStatusReady = "Ready" DeviceStatusFailed = "Failed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "network.alibabacloud.com", Version: "v1"} // 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 DeviceInfo ¶
type DeviceStatus ¶
type ERdmaDevice ¶
type ERdmaDevice struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ERdmaDeviceSpec `json:"spec,omitempty"` Status ERdmaDeviceStatus `json:"status,omitempty"` }
ERdmaDevice is the Schema for the erdmadevices API
func (*ERdmaDevice) DeepCopy ¶
func (in *ERdmaDevice) DeepCopy() *ERdmaDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ERdmaDevice.
func (*ERdmaDevice) DeepCopyInto ¶
func (in *ERdmaDevice) DeepCopyInto(out *ERdmaDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ERdmaDevice) DeepCopyObject ¶
func (in *ERdmaDevice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ERdmaDeviceList ¶
type ERdmaDeviceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ERdmaDevice `json:"items"` }
ERdmaDeviceList contains a list of ERdmaDevice
func (*ERdmaDeviceList) DeepCopy ¶
func (in *ERdmaDeviceList) DeepCopy() *ERdmaDeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ERdmaDeviceList.
func (*ERdmaDeviceList) DeepCopyInto ¶
func (in *ERdmaDeviceList) DeepCopyInto(out *ERdmaDeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ERdmaDeviceList) DeepCopyObject ¶
func (in *ERdmaDeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ERdmaDeviceSpec ¶
type ERdmaDeviceSpec struct { // Foo is an example field of ERdmaDevice. Edit erdmadevice_types.go to remove/update Devices []DeviceInfo `json:"devices"` }
ERdmaDeviceSpec defines the desired state of ERdmaDevice
func (*ERdmaDeviceSpec) DeepCopy ¶
func (in *ERdmaDeviceSpec) DeepCopy() *ERdmaDeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ERdmaDeviceSpec.
func (*ERdmaDeviceSpec) DeepCopyInto ¶
func (in *ERdmaDeviceSpec) DeepCopyInto(out *ERdmaDeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ERdmaDeviceStatus ¶
type ERdmaDeviceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Devices []DeviceStatus `json:"devices,omitempty"` }
ERdmaDeviceStatus defines the observed state of ERdmaDevice
func (*ERdmaDeviceStatus) DeepCopy ¶
func (in *ERdmaDeviceStatus) DeepCopy() *ERdmaDeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ERdmaDeviceStatus.
func (*ERdmaDeviceStatus) DeepCopyInto ¶
func (in *ERdmaDeviceStatus) DeepCopyInto(out *ERdmaDeviceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.