types

package
v0.0.0-...-3e26616 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deploy

type Deploy struct {
	App       string
	Timestamp string
	Commit    string
	User      string
	Image     string
}

Deploy represents a struct for deploy

func (Deploy) ConvertTimestampToRFC822

func (d Deploy) ConvertTimestampToRFC822() string

ConvertTimestampToRFC822 converts the Timestamp's deploy to time.RFC822 date format

type Hook

type Hook interface {
	CallHook(deploy []Deploy) error
	ValidatesFields() error
}

Hook represents an interface for any hooks

type Tsuru

type Tsuru interface {
	FindLastDeploy(deploy *[]Deploy) error
}

Tsuru represents an interface for tsuru

Jump to

Keyboard shortcuts

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