code

package
v0.18.3-0...-c90ca1e Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package code ...

Index

Constants

View Source
const (
	ACTIVE = "active"
)

these constants represent different potential states an app can end up in

View Source
const (
	BUILD = "build"
)

these constants represent different potential names a service can have

Variables

This section is empty.

Functions

func Build

func Build(envModel *models.Env) error

Build builds the codebase that can then be deployed

func Compile

func Compile(envModel *models.Env) error

Compile builds the codebase that can then be deployed

func Destroy

func Destroy(componentModel *models.Component) error

Destroy destroys a code component from the app

func Publish

func Publish(envModel *models.Env, WarehouseConfig WarehouseConfig) error

Publish ...

func Setup

func Setup(appModel *models.App, componentModel *models.Component, warehouseConfig WarehouseConfig) error

func Sync

func Sync(appModel *models.App, warehouseConfig WarehouseConfig) error

Sync syncronizes an app's code components with the boxfile config

Types

type WarehouseConfig

type WarehouseConfig struct {
	BuildID        string
	WarehouseURL   string
	WarehouseToken string
	PreviousBuild  string
}

Jump to

Keyboard shortcuts

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