containerizer

package
v0.2.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerizerType

type ContainerizerType string

ContainerizerType defines containerizer types

const (
	// ContainerizerMetadataKind defines kind of cf runtime instance apps file
	ContainerizerMetadataKind types.Kind = "Containerizer"

	// DockerfileContainerizerType defines DockerfileContainerizer Type
	DockerfileContainerizerType ContainerizerType = "DockerfileContainerizer"
	// S2IContainerizerType defines S2IContainerizer Type
	S2IContainerizerType ContainerizerType = "S2IContainerizer"
	// CNBContainerizerType defines CNBContainerizer Type
	CNBContainerizerType ContainerizerType = "CNBContainerizer"
)

type DockerfileContainerizer

type DockerfileContainerizer struct {
	types.TypeMeta   `yaml:",inline"`
	types.ObjectMeta `yaml:"metadata,omitempty"`
	Spec             DockerfileContainerizerSpec `yaml:"spec,omitempty"`
}

DockerfileContainerizer defines definition of cf runtime instance apps file

func NewDockerfileContainerizer

func NewDockerfileContainerizer() DockerfileContainerizer

NewDockerfileContainerizer creates a new instance of DockerfileContainerizer

type DockerfileContainerizerSpec

type DockerfileContainerizerSpec struct {
	Type          ContainerizerType `yaml:"type"`
	DetectorImage Image             `yaml:"detectorImage"`
}

DockerfileContainerizerSpec stores the data

type Image

type Image struct {
	ImageName  string `yaml:"imageName"`
	Dockerfile string `yaml:"dockerfile"`
}

Image defines the structure of a image

Jump to

Keyboard shortcuts

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