Documentation ¶
Index ¶
- func NewBuildrootProvisioner(d drivers.Driver) provision.Provisioner
- type BuildrootProvisioner
- func (p *BuildrootProvisioner) GenerateDockerOptions(dockerPort int) (*provision.DockerOptions, error)
- func (p *BuildrootProvisioner) Package(name string, action pkgaction.PackageAction) error
- func (p *BuildrootProvisioner) Provision(swarmOptions swarm.Options, authOptions auth.Options, ...) error
- func (p *BuildrootProvisioner) String() string
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
Click to show internal directories.
Click to hide internal directories.