manifest

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageWithParams added in v0.28.0

type ImageWithParams struct {
	Image  string                 `yaml:"image"`
	Params map[string]interface{} `yaml:"params"`
}

ImageWithParams represents either the config or a build key in cdflow.yaml.

type Manifest

type Manifest struct {
	Version           int8                       `yaml:"version"`
	ConfigFilesFolder string                     `yaml:"config_files_folder"`
	Config            ImageWithParams            `yaml:"config"`
	Builds            map[string]ImageWithParams `yaml:"builds"`
	Terraform         Terraform                  `yaml:"terraform"`
}

Manifest represents the data in the cdflow.yaml file before it is canonicalised.

func Load

func Load(dir string) (*Manifest, error)

Load loads the cdflow.yaml manifest file into a Manifest struct.

type Terraform added in v0.16.0

type Terraform struct {
	Image string `yaml:"image"`
}

Terraform represents the data in the terraform key in cdflow.yaml.

Jump to

Keyboard shortcuts

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