Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDiff ¶
type AppDiff struct { Name string // contains filtered or unexported fields }
func (*AppDiff) CalculateDiff ¶
func (diff *AppDiff) CalculateDiff() ([]diffmatchpatch.Diff, error)
type AppService ¶
type AppService struct {
// contains filtered or unexported fields
}
func (*AppService) FindByName ¶
func (svc *AppService) FindByName(appName string) (*godo.App, error)
type AppSpec ¶
func (*AppSpec) SetDefaultValues ¶
func (spec *AppSpec) SetDefaultValues()
type Appfile ¶
type Appfile struct { Spec *AppfileSpec State *StateData Apps []*godo.App }
func NewAppfileFromSpec ¶
func NewAppfileFromSpec(spec *AppfileSpec, envName string) (*Appfile, error)
type AppfileSpec ¶
type AppfileSpec struct { AppSpecs []string `yaml:"specs"` Environments map[string][]string `yaml:"environments"` // contains filtered or unexported fields }
func (*AppfileSpec) Path ¶
func (spec *AppfileSpec) Path() string
func (*AppfileSpec) ReadEnvironment ¶
func (spec *AppfileSpec) ReadEnvironment(name string) (*env.Environment, error)
func (*AppfileSpec) SetPath ¶
func (spec *AppfileSpec) SetPath(path string) error
type EnvMetadata ¶
type EnvMetadata struct {
Name string
}
type StateData ¶
type StateData struct { Environment EnvMetadata Values map[string]interface{} }
Click to show internal directories.
Click to hide internal directories.