cloud

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelXelonLocalVMIDDeprecated = "kubernetes.xelon.ch/localvmid"
	LabelXelonLocalVMID           = "node.kubernetes.io/localvmid"
)

Variables

This section is empty.

Functions

func NewXelonClient

func NewXelonClient(token, clientID, baseURL, userAgent string) (*xelon.Client, error)

func RescanSCSIDevices

func RescanSCSIDevices() error

Types

type ClientOptions

type ClientOptions xelon.ClientOption

type Metadata

type Metadata struct {
	LocalVMID string
	Name      string
}

Metadata is info about the Xelon Device on which driver is running

func RetrieveMetadata

func RetrieveMetadata(ctx context.Context) (*Metadata, error)

Jump to

Keyboard shortcuts

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