config

package
v0.0.0-...-f313a62 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	URI          string        `json:"uri"`
	Environments []Environment `json:"environments"`
	Branch       string        `json:"branch"`
}

type Environment

type Environment struct {
	Name string `json:"name"`
	IAAS string `json:"iaas"`
}

type Payload

type Payload struct {
	Steps      Steps      `json:"steps"`
	Deployment Deployment `json:"deployment"`
}

type Step

type Step struct {
	OpsManager *StepOpsManager `json:"ops-manager"`
	Tile       *StepTile       `json:"tile"`
}

func (Step) AsPivnetResource

func (s Step) AsPivnetResource(env Environment) resources.PivnetResource

func (Step) ResourceName

func (s Step) ResourceName() string

type StepOpsManager

type StepOpsManager struct {
	Version string `json:"version"`
}

type StepTile

type StepTile struct {
	Slug    string `json:"slug"`
	Version string `json:"version"`
}

type Steps

type Steps []Step

Jump to

Keyboard shortcuts

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