Help us shape the future of Go! Take the 2026 Go Developer Survey

plugins

package
v1.43.7 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfigSettings

type CloudConfigSettings struct {
	Token       string
	Namespace   string
	SecretName  string
	ClusterHost string
}

type Driver

type Driver string
const Tinkerbell Driver = "tinkerbell"

type PluginDriver

type PluginDriver interface {
	GetServer(context.Context, types.UID, runtime.RawExtension) (Server, error)
	Validate(runtime.RawExtension) error
	ProvisionServer(context.Context, types.UID, *CloudConfigSettings, runtime.RawExtension) (Server, error)
	DeprovisionServer(context.Context, types.UID) error
}

PluginDriver manages the communications between the machine controller cloud provider and the bare metal env.

type Server

type Server interface {
	GetName() string
	GetID() string
	GetIPAddress() string
	GetMACAddress() string
	GetStatus() string
}

Server represents the server/instance which exists in the bare metal env.

Directories

Path Synopsis
client
Package client contains a client wrapper for Tinkerbell.
Package client contains a client wrapper for Tinkerbell.

Jump to

Keyboard shortcuts

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