v1alpha1

package
v0.0.0-...-50eac8c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the bmo v1alpha1 API group +kubebuilder:object:generate=true +groupName=bmo.bmcgo.dev

Index

Constants

View Source
const (
	DesiredStateNotManaged  DesiredState = "NotManaged"
	DesiredStateInspected   DesiredState = "Inspected"
	DesiredStateProvisioned DesiredState = "Provisioned"
	DesiredStatePowerOff    DesiredState = "PowerOff"

	ActualStateNotManaged   ActualState = "NotManaged"
	ActualStateInspecting   ActualState = "Inspecting"
	ActualStateInspected    ActualState = "Inspected"
	ActualStateProvisioning ActualState = "Provisioning"
	ActualStateProvisioned  ActualState = "Provisioned"
	ActualStatePoweredOff   ActualState = "PowerOff"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "bmo.bmcgo.dev", Version: "v1alpha1"}

	// 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 ActualState

type ActualState string

ActualState +kubebuilder:validation:Enum=NotManaged;Inspecting;Inspected;Provisioning;Provisioned;PoweredOff

type AuthenticationMode

type AuthenticationMode string

AuthenticationMode +kubebuilder:validation:Enum=AuthNone;BasicAuth;OemAuth;RedfishSessionAuth

const (
	AuthNone               AuthenticationMode = "AuthNone"
	AuthBasic              AuthenticationMode = "BasicAuth"
	AuthOemAuth            AuthenticationMode = "OemAuth"
	AuthRedfishSessionAuth AuthenticationMode = "RedfishSessionAuth"
)

type BareMetalNode

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

	Spec   BareMetalNodeSpec   `json:"spec,omitempty"`
	Status BareMetalNodeStatus `json:"status,omitempty"`
}

BareMetalNode is the Schema for the systems API

func (*BareMetalNode) DeepCopy

func (in *BareMetalNode) DeepCopy() *BareMetalNode

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

func (*BareMetalNode) DeepCopyInto

func (in *BareMetalNode) DeepCopyInto(out *BareMetalNode)

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

func (*BareMetalNode) DeepCopyObject

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

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

func (BareMetalNode) GetIPMIClient

func (b BareMetalNode) GetIPMIClient(ctx context.Context, c client.Client) (*ipmitool.IpmiTool, error)

type BareMetalNodeList

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

BareMetalNodeList contains a list of BareMetalNode

func (*BareMetalNodeList) DeepCopy

func (in *BareMetalNodeList) DeepCopy() *BareMetalNodeList

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

func (*BareMetalNodeList) DeepCopyInto

func (in *BareMetalNodeList) DeepCopyInto(out *BareMetalNodeList)

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

func (*BareMetalNodeList) DeepCopyObject

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

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

type BareMetalNodeSpec

type BareMetalNodeSpec struct {
	State DesiredState `json:"state"`
}

BareMetalNodeSpec defines the desired state of BareMetalNode

func (*BareMetalNodeSpec) DeepCopy

func (in *BareMetalNodeSpec) DeepCopy() *BareMetalNodeSpec

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

func (*BareMetalNodeSpec) DeepCopyInto

func (in *BareMetalNodeSpec) DeepCopyInto(out *BareMetalNodeSpec)

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

type BareMetalNodeStatus

type BareMetalNodeStatus struct {
	Id         string      `json:"id,omitempty"`
	State      ActualState `json:"state"`
	BMCGUID    string      `json:"bmcGUID,omitempty"`
	LastUpdate metav1.Time `json:"lastUpdate,omitempty"`
}

BareMetalNodeStatus defines the observed state of BareMetalNode

func (*BareMetalNodeStatus) DeepCopy

func (in *BareMetalNodeStatus) DeepCopy() *BareMetalNodeStatus

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

func (*BareMetalNodeStatus) DeepCopyInto

func (in *BareMetalNodeStatus) DeepCopyInto(out *BareMetalNodeStatus)

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

type BasicAuth

type BasicAuth struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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

type DesiredState

type DesiredState string

DesiredState +kubebuilder:validation:Enum=NotManaged;Inspected;Provisioned;PowerOff

type DiscoveredSystem

type DiscoveredSystem struct {
	Name string `json:"name"`
	UUID string `json:"uuid"`
}

func (*DiscoveredSystem) DeepCopy

func (in *DiscoveredSystem) DeepCopy() *DiscoveredSystem

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

func (*DiscoveredSystem) DeepCopyInto

func (in *DiscoveredSystem) DeepCopyInto(out *DiscoveredSystem)

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

type IPMIEndpoint

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

	Spec   IPMIEndpointSpec   `json:"spec,omitempty"`
	Status IPMIEndpointStatus `json:"status,omitempty"`
}

IPMIEndpoint is the Schema for the ipmiendpoints API

func (*IPMIEndpoint) DeepCopy

func (in *IPMIEndpoint) DeepCopy() *IPMIEndpoint

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

func (*IPMIEndpoint) DeepCopyInto

func (in *IPMIEndpoint) DeepCopyInto(out *IPMIEndpoint)

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

func (*IPMIEndpoint) DeepCopyObject

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

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

type IPMIEndpointList

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

IPMIEndpointList contains a list of IPMIEndpoint

func (*IPMIEndpointList) DeepCopy

func (in *IPMIEndpointList) DeepCopy() *IPMIEndpointList

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

func (*IPMIEndpointList) DeepCopyInto

func (in *IPMIEndpointList) DeepCopyInto(out *IPMIEndpointList)

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

func (*IPMIEndpointList) DeepCopyObject

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

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

type IPMIEndpointSpec

type IPMIEndpointSpec struct {
	Host     string `json:"host"`
	Port     uint16 `json:"port"`
	Username string `json:"username"`
	Password string `json:"password"`

	BootMacAddress string `json:"bootMacAddress,omitempty"`
}

IPMIEndpointSpec defines the desired state of IPMIEndpoint

func (*IPMIEndpointSpec) DeepCopy

func (in *IPMIEndpointSpec) DeepCopy() *IPMIEndpointSpec

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

func (*IPMIEndpointSpec) DeepCopyInto

func (in *IPMIEndpointSpec) DeepCopyInto(out *IPMIEndpointSpec)

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

type IPMIEndpointStatus

type IPMIEndpointStatus struct {
	ErrorMessage string `json:"errorMessage,omitempty"`
	BMCGUID      string `json:"bmcGUID,omitempty"`
}

IPMIEndpointStatus defines the observed state of IPMIEndpoint

func (*IPMIEndpointStatus) DeepCopy

func (in *IPMIEndpointStatus) DeepCopy() *IPMIEndpointStatus

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

func (*IPMIEndpointStatus) DeepCopyInto

func (in *IPMIEndpointStatus) DeepCopyInto(out *IPMIEndpointStatus)

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

type RedfishEndpoint

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

	Spec   RedfishEndpointSpec   `json:"spec,omitempty"`
	Status RedfishEndpointStatus `json:"status,omitempty"`
}

RedfishEndpoint is the Schema for the redfishendpoints API

func (*RedfishEndpoint) DeepCopy

func (in *RedfishEndpoint) DeepCopy() *RedfishEndpoint

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

func (*RedfishEndpoint) DeepCopyInto

func (in *RedfishEndpoint) DeepCopyInto(out *RedfishEndpoint)

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

func (*RedfishEndpoint) DeepCopyObject

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

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

type RedfishEndpointList

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

RedfishEndpointList contains a list of RedfishEndpoint

func (*RedfishEndpointList) DeepCopy

func (in *RedfishEndpointList) DeepCopy() *RedfishEndpointList

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

func (*RedfishEndpointList) DeepCopyInto

func (in *RedfishEndpointList) DeepCopyInto(out *RedfishEndpointList)

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

func (*RedfishEndpointList) DeepCopyObject

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

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

type RedfishEndpointSpec

type RedfishEndpointSpec struct {
	AuthenticationMode AuthenticationMode `json:"authenticationMode"`
	BasicAuth          BasicAuth          `json:"basicAuth,omitempty"`
	RedfishSessionAuth RedfishSessionAuth `json:"redfishSessionAuth,omitempty"`

	EndpointURL string `json:"endpointURL"`
}

RedfishEndpointSpec defines the desired state of RedfishEndpoint

func (*RedfishEndpointSpec) DeepCopy

func (in *RedfishEndpointSpec) DeepCopy() *RedfishEndpointSpec

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

func (*RedfishEndpointSpec) DeepCopyInto

func (in *RedfishEndpointSpec) DeepCopyInto(out *RedfishEndpointSpec)

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

type RedfishEndpointStatus

type RedfishEndpointStatus struct {
	ErrorMessage      string             `json:"errorMessage,omitempty"`
	LastUpdated       metav1.Time        `json:"lastUpdated"`
	DiscoveredSystems []DiscoveredSystem `json:"discoveredSystems,omitempty"`
}

RedfishEndpointStatus defines the observed state of RedfishEndpoint

func (*RedfishEndpointStatus) DeepCopy

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

func (*RedfishEndpointStatus) DeepCopyInto

func (in *RedfishEndpointStatus) DeepCopyInto(out *RedfishEndpointStatus)

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

type RedfishSessionAuth

type RedfishSessionAuth struct {
}

func (*RedfishSessionAuth) DeepCopy

func (in *RedfishSessionAuth) DeepCopy() *RedfishSessionAuth

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

func (*RedfishSessionAuth) DeepCopyInto

func (in *RedfishSessionAuth) DeepCopyInto(out *RedfishSessionAuth)

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