dockerfile

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerfileDetector

type DockerfileDetector struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
}

DockerfileDetector implements the Transformer interface

func (*DockerfileDetector) DirectoryDetect

func (t *DockerfileDetector) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)

DirectoryDetect runs detect in base directory

func (*DockerfileDetector) GetConfig

GetConfig returns the transformer config

func (*DockerfileDetector) Init

Init Initializes the transformer

func (*DockerfileDetector) Transform

Transform transforms the artifacts

type DockerfileImageBuildScript

type DockerfileImageBuildScript struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
}

DockerfileImageBuildScript implements Transformer interface

func (*DockerfileImageBuildScript) DirectoryDetect

func (t *DockerfileImageBuildScript) DirectoryDetect(dir string) (namedServices map[string][]transformertypes.Artifact, err error)

DirectoryDetect runs detect in each sub directory

func (*DockerfileImageBuildScript) GetConfig

GetConfig returns the transformer config

func (*DockerfileImageBuildScript) Init

Init Initializes the transformer

func (*DockerfileImageBuildScript) Transform

Transform transforms the artifacts

type DockerfileImageBuildScriptTemplateConfig

type DockerfileImageBuildScriptTemplateConfig struct {
	DockerfileName   string
	ImageName        string
	ContextUnix      string
	ContextWindows   string
	ContainerRuntime string
}

DockerfileImageBuildScriptTemplateConfig represents template config used by ImagePush script

type DockerfileParser

type DockerfileParser struct {
	Config transformertypes.Transformer
	Env    *environment.Environment
}

DockerfileParser implements Transformer interface

func (*DockerfileParser) DirectoryDetect

func (t *DockerfileParser) DirectoryDetect(dir string) (services map[string][]transformertypes.Artifact, err error)

DirectoryDetect runs detect in each sub directory

func (*DockerfileParser) GetConfig

GetConfig returns the transformer config

func (*DockerfileParser) Init

Init Initializes the transformer

func (*DockerfileParser) Transform

Transform transforms the artifacts

Jump to

Keyboard shortcuts

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