manifest

package
v5.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	CA string
}

type Manifest

type Manifest struct {
	Name       string
	Template   ReleaseJobRef
	Properties biproperty.Map
	Mbus       string
	Cert       Certificate
	Registry   Registry
}

func (*Manifest) PopulateRegistry

func (m *Manifest) PopulateRegistry(username string, password string, host string, port int, sshTunnel SSHTunnel)

type Parser

type Parser interface {
	Parse(string, boshtpl.Variables, patch.Op, birelsetmanifest.Manifest) (Manifest, error)
}

func NewParser

func NewParser(fs boshsys.FileSystem, uuidGenerator boshuuid.Generator, logger boshlog.Logger, validator Validator) Parser

type Registry

type Registry struct {
	Username  string
	Password  string
	Host      string
	Port      int
	SSHTunnel SSHTunnel
}

func (Registry) IsEmpty

func (r Registry) IsEmpty() bool

type ReleaseJobRef

type ReleaseJobRef struct {
	Name    string
	Release string
}

type SSHTunnel

type SSHTunnel struct {
	User       string
	Host       string
	Port       int
	Password   string
	PrivateKey string `yaml:"private_key"`
}

type Validator

type Validator interface {
	Validate(Manifest, birelsetmanifest.Manifest) error
}

func NewValidator

func NewValidator(logger boshlog.Logger) Validator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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