manifest

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: Apache-2.0 Imports: 12 Imported by: 390

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Name       string
	Template   ReleaseJobRef
	Properties biproperty.Map
	Mbus       string
	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.Ops, 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