version

package
v0.0.0-...-0907076 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V3MetadataV2ConfigVersion

type V3MetadataV2ConfigVersion struct {
	*VersionConfig
}

func NewV3MetadataVersion

func NewV3MetadataVersion(ec *cli.ExecutionContext, baseDir string) *V3MetadataV2ConfigVersion

func (*V3MetadataV2ConfigVersion) Build

func (a *V3MetadataV2ConfigVersion) Build(metadata *yaml.MapSlice) error

func (*V3MetadataV2ConfigVersion) Export

func (a *V3MetadataV2ConfigVersion) Export(_ yaml.MapSlice) (map[string][]byte, error)

type Version

type Version struct {
	Version int `json:"version" yaml:"version"`
}

type VersionConfig

type VersionConfig struct {
	MetadataDir string
}

func New

func New(ec *cli.ExecutionContext, baseDir string) *VersionConfig

func (*VersionConfig) Build

func (a *VersionConfig) Build(metadata *yaml.MapSlice) error

func (*VersionConfig) CreateFiles

func (a *VersionConfig) CreateFiles() error

func (*VersionConfig) Export

func (a *VersionConfig) Export(metadata yaml.MapSlice) (map[string][]byte, error)

func (*VersionConfig) Name

func (a *VersionConfig) Name() string

func (*VersionConfig) Validate

func (a *VersionConfig) Validate() error

Jump to

Keyboard shortcuts

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