bosh

package
v0.0.0-...-a6f3347 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Director

type Director interface {
	GetVariables() ([]*Variable, error)
	GetManifest(deployment string) ([]byte, error)
	GetActiveCloudConfigs(deployment string) (map[string][]byte, error)
	GetLatestCloudConfigs(deployment string) (map[string][]byte, error)
	GetActiveRuntimeConfigs(deployment string) (map[string][]byte, error)
	GetLatestRuntimeConfigs(deployment string) (map[string][]byte, error)
}

func NewDirector

func NewDirector(cfg *config.Bosh) (Director, error)

type UpdateMode

type UpdateMode string
const (
	NoOverwrite, Overwrite, Converge UpdateMode = "no-overwrite", "overwrite", "converge"
)

type Variable

type Variable struct {
	ID         string
	Name       string
	Deployment string
	Definition *VariableDefinition
}

type VariableDefinition

type VariableDefinition struct {
	Name       string                 `yaml:"name" json:"name"`
	Type       string                 `yaml:"type" json:"type"`
	UpdateMode UpdateMode             `yaml:"update_mode,omitempty" json:"update_mode,omitempty"`
	Options    map[string]interface{} `yaml:"options,omitempty" json:"options,omitempty"`
}

func (*VariableDefinition) UnmarshalYAML

func (v *VariableDefinition) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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