createuser

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCreateUserScript represents the default file to create a new user
	DefaultCreateUserScript = ".create-user-script"
)

Variables

This section is empty.

Functions

func DoCreateUserScript

func DoCreateUserScript(buildOS buildos.BuildOS) ciutil.OnWriterFunc

DoCreateUserScript returns a function to write to a given writer

func GetDockerfileWriterFunc

func GetDockerfileWriterFunc(buildID cidocker.BuildID, buildUser string, buildOS buildos.BuildOS) ciutil.OnWriterFunc

GetDockerfileWriterFunc represents a function to write dockerfile to a given writer

func NewPipeline

func NewPipeline(createDockerClientFunc cidocker.CreateDockerClientFunc) pipelines.Pipeline

NewPipeline creates a new docker based build platform

func OnCreateUserDir

func OnCreateUserDir(buildID cidocker.BuildID, buildOS buildos.BuildOS, buildUser string) ciutil.OnDirFunc

Types

type Pipeline

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

Pipeline represents a docker based build platform

func (*Pipeline) GetNames

func (pipeline *Pipeline) GetNames() (key string, longName string)

GetNames returns the names of the pipelines . Returns a tuple , a key and a long descriptive name

func (*Pipeline) Run

func (pipeline *Pipeline) Run(config *config.Config, buildID cidocker.BuildID, buildOS buildos.BuildOS, myBaton *baton.Baton) pipelines.PipelineRunReturnFunc

Run builds the commands inside a given container

Jump to

Keyboard shortcuts

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