provision

package
v1.33.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 25 Imported by: 53

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

func NewSystemdProvisioner added in v1.9.0

func NewSystemdProvisioner(osReleaseID string, d drivers.Driver) provision.SystemdProvisioner

NewSystemdProvisioner is our fork of the same name in the upstream provision library, without the packages

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
	// contains filtered or unexported fields
}

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

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

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

Jump to

Keyboard shortcuts

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