provision

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildrootProvisioner

func NewBuildrootProvisioner(d drivers.Driver) provision.Provisioner

NewBuildrootProvisioner creates a new BuildrootProvisioner

Types

type BuildrootProvisioner

type BuildrootProvisioner struct {
	provision.SystemdProvisioner
}

BuildrootProvisioner provisions the custom system based on Buildroot

func (*BuildrootProvisioner) GenerateDockerOptions

func (p *BuildrootProvisioner) GenerateDockerOptions(dockerPort int) (*provision.DockerOptions, error)

GenerateDockerOptions generates the *provision.DockerOptions for this provisioner

func (*BuildrootProvisioner) Package

func (p *BuildrootProvisioner) Package(name string, action pkgaction.PackageAction) error

Package installs a package

func (*BuildrootProvisioner) Provision

func (p *BuildrootProvisioner) Provision(swarmOptions swarm.Options, authOptions auth.Options, engineOptions engine.Options) error

Provision does the provisioning

func (*BuildrootProvisioner) String

func (p *BuildrootProvisioner) String() string

Jump to

Keyboard shortcuts

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