app

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateVersion added in v0.0.11

func UpdateVersion(nsConfig api.Config, appId int64, envName, version string) error

Types

type Provider

type Provider interface {
	DefaultLogProvider() string
	Push(nsConfig api.Config, app *types.Application, env *types.Environment, workspace *types.Workspace, userConfig map[string]string) error
	Deploy(nsConfig api.Config, app *types.Application, env *types.Environment, workspace *types.Workspace, userConfig map[string]string) error
}

Provider provides a standard interface to run commands against an app Each Operator is responsible for:

  • Collecting necessary information from a workspace's outputs
  • Modifying infrastructure to perform each command (e.g. push, deploy, etc.)
  • Each Provider is specific to Category+Type (Example: category=app/container, type=service/aws-fargate)

type Providers

type Providers map[types.CategoryName]map[string]Provider

func (Providers) Find

func (p Providers) Find(category types.CategoryName, type_ string) Provider

Directories

Path Synopsis
container
serverless

Jump to

Keyboard shortcuts

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