installer

package
v0.0.0-...-ce8dd9f Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidationError

func IsValidationError(err error) bool

func NewValidationError

func NewValidationError(msg string) error

Types

type Installer

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

func New

func New(ctx context.Context, manager *server.Manager, data []byte) (*Installer, error)

New validates the received data to ensure that all of the required fields have been passed along in the request. This should be manually run before calling Execute().

func (*Installer) Server

func (i *Installer) Server() *server.Server

Server returns the server instance.

func (*Installer) Uuid

func (i *Installer) Uuid() string

Uuid returns the UUID associated with this installer instance.

Jump to

Keyboard shortcuts

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