v1

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() schema.Config

func ParseConfig

func ParseConfig(data []byte) (schema.Config, error)

ParseConfig parses the given input as a v1.Config.

Types

type Config

type Config struct {
	V              schema.Version `json:"co.elastic.harp.crate.version"`
	ContainerFiles []string       `json:"co.elastic.harp.crate.containers"`
	TemplateFiles  []string       `json:"co.elastic.harp.crate.templates"`
}

func (*Config) Containers

func (c *Config) Containers() []string

Containers returns the current image container filenames.

func (*Config) SetContainers

func (c *Config) SetContainers(containers []string)

func (*Config) SetTemplates

func (c *Config) SetTemplates(templates []string)

func (*Config) Templates

func (c *Config) Templates() []string

Containers returns the current image template archive filenames.

Jump to

Keyboard shortcuts

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