generate

package
v0.0.0-...-b7fcf81 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSpecification

func GenerateSpecification(generator v1alpha1.SpecGenerator, dry bool) error

Types

type DockerGenerator

type DockerGenerator struct {
	// Filepath is the filepath to your Dockerfile
	Filepath string
	// ImageName is the intended image name
	ImageName string
	// Tag is the intended image tag
	Tag string
	// Logger is the generator logger
	Logger *logrus.Logger
}

DockerGenerator is the struct which holds the state to Generate

func (DockerGenerator) Generate

func (d DockerGenerator) Generate() ([]byte, error)

Generate aims to generate an ocibuilder.yaml specification from a Dockerfile

Jump to

Keyboard shortcuts

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