dynamic

package
v0.39.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadAllDrivers

func DownloadAllDrivers() error

func DriverSchemaVersion

func DriverSchemaVersion(apiClient *client.RancherClient) (string, error)

func GenerateAndUploadSchema

func GenerateAndUploadSchema(driver string) error

func ReactivateOldDrivers

func ReactivateOldDrivers() error

func RemoveSchemas

func RemoveSchemas(schemaName string, apiClient *client.RancherClient) error

func SyncBuiltin

func SyncBuiltin() error

func UploadMachineSchemas

func UploadMachineSchemas(apiClient *client.RancherClient, drivers ...string) error

Types

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(builtin bool, name, url, hash string) *Driver

func (*Driver) Checksum

func (d *Driver) Checksum() string

func (*Driver) ClearError

func (d *Driver) ClearError()

func (*Driver) FriendlyName

func (d *Driver) FriendlyName() string

func (*Driver) Hash

func (d *Driver) Hash() string

func (*Driver) Install

func (d *Driver) Install() error

func (*Driver) Name

func (d *Driver) Name() string

func (*Driver) Remove

func (d *Driver) Remove() error

func (*Driver) Stage

func (d *Driver) Stage() error

Jump to

Keyboard shortcuts

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