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
Click to show internal directories.
Click to hide internal directories.