Documentation
¶
Index ¶
- func NewBuildrootProvisioner(d drivers.Driver) provision.Provisioner
- func NewUbuntuProvisioner(d drivers.Driver) provision.Provisioner
- type BuildrootProvisioner
- func (p *BuildrootProvisioner) CompatibleWithHost() bool
- 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
- type UbuntuProvisioner
- func (p *UbuntuProvisioner) CompatibleWithHost() bool
- func (p *UbuntuProvisioner) GenerateDockerOptions(dockerPort int) (*provision.DockerOptions, error)
- func (p *UbuntuProvisioner) Package(name string, action pkgaction.PackageAction) error
- func (p *UbuntuProvisioner) Provision(swarmOptions swarm.Options, authOptions auth.Options, ...) error
- func (p *UbuntuProvisioner) 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
func NewUbuntuProvisioner ¶ added in v1.7.0
func NewUbuntuProvisioner(d drivers.Driver) provision.Provisioner
NewUbuntuProvisioner creates a new UbuntuProvisioner
Types ¶
type BuildrootProvisioner ¶
type BuildrootProvisioner struct {
provision.SystemdProvisioner
}
BuildrootProvisioner provisions the custom system based on Buildroot
func (*BuildrootProvisioner) CompatibleWithHost ¶ added in v1.4.0
func (p *BuildrootProvisioner) CompatibleWithHost() bool
CompatibleWithHost checks if provisioner is compatible with host
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
type UbuntuProvisioner ¶ added in v1.7.0
type UbuntuProvisioner struct {
BuildrootProvisioner
}
UbuntuProvisioner provisions the ubuntu
func (*UbuntuProvisioner) CompatibleWithHost ¶ added in v1.7.0
func (p *UbuntuProvisioner) CompatibleWithHost() bool
CompatibleWithHost checks if provisioner is compatible with host
func (*UbuntuProvisioner) GenerateDockerOptions ¶ added in v1.7.0
func (p *UbuntuProvisioner) GenerateDockerOptions(dockerPort int) (*provision.DockerOptions, error)
GenerateDockerOptions generates the *provision.DockerOptions for this provisioner
func (*UbuntuProvisioner) Package ¶ added in v1.7.0
func (p *UbuntuProvisioner) Package(name string, action pkgaction.PackageAction) error
Package installs a package
func (*UbuntuProvisioner) Provision ¶ added in v1.7.0
func (p *UbuntuProvisioner) Provision(swarmOptions swarm.Options, authOptions auth.Options, engineOptions engine.Options) error
Provision does the provisioning
func (*UbuntuProvisioner) String ¶ added in v1.7.0
func (p *UbuntuProvisioner) String() string
Click to show internal directories.
Click to hide internal directories.