steps

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2013 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RED    = "\x1b[31m"
	GREEN  = "\x1b[32m"
	YELLOW = "\x1b[33m"
	CLEAR  = "\x1b[0m"
)

For printing nice colors to the terminal

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizeResponse

type AuthorizeResponse struct {
	Token string `json:"token"`
}

type Org

type Org struct {
	Name string `json:"login"`
}

type Org represents an organization

type Repo

type Repo struct {
	FullName string `json:"full_name"`
	SSHUrl   string `json:"ssh_url"`
	HTTPSUrl string `json:"clone_url"`
}

type Repo represents a single repository

func (Repo) Name

func (r Repo) Name() string

func (Repo) Owner

func (r Repo) Owner() string

type StepAuthorizeGithub

type StepAuthorizeGithub struct{}

func (*StepAuthorizeGithub) Cleanup

func (*StepAuthorizeGithub) Cleanup(map[string]interface{})

func (*StepAuthorizeGithub) Run

func (*StepAuthorizeGithub) Run(state map[string]interface{}) multistep.StepAction

The authorization sequence, required for someone without a ~/.getconfig

type StepCheckConfiguration

type StepCheckConfiguration struct{}

func (*StepCheckConfiguration) Cleanup

func (*StepCheckConfiguration) Cleanup(map[string]interface{})

func (*StepCheckConfiguration) Run

func (*StepCheckConfiguration) Run(state map[string]interface{}) multistep.StepAction

type StepCheckConfigurationFile

type StepCheckConfigurationFile struct{}

func (*StepCheckConfigurationFile) Cleanup

func (*StepCheckConfigurationFile) Cleanup(map[string]interface{})

func (*StepCheckConfigurationFile) Run

func (*StepCheckConfigurationFile) Run(state map[string]interface{}) multistep.StepAction

Checks the configuration on the filesystem for syntax errors or non-exsistance.

type StepCheckPath

type StepCheckPath struct{}

func (*StepCheckPath) Cleanup

func (*StepCheckPath) Cleanup(map[string]interface{})

func (*StepCheckPath) Run

func (*StepCheckPath) Run(state map[string]interface{}) multistep.StepAction

type StepCheckRepo

type StepCheckRepo struct{}

func (*StepCheckRepo) Cleanup

func (*StepCheckRepo) Cleanup(map[string]interface{})

func (*StepCheckRepo) Run

func (*StepCheckRepo) Run(state map[string]interface{}) multistep.StepAction

type StepCloneRepo

type StepCloneRepo struct{}

func (*StepCloneRepo) Cleanup

func (*StepCloneRepo) Cleanup(map[string]interface{})

func (*StepCloneRepo) Run

func (*StepCloneRepo) Run(state map[string]interface{}) multistep.StepAction

type StepCreateConfiguration

type StepCreateConfiguration struct{}

func (*StepCreateConfiguration) Cleanup

func (*StepCreateConfiguration) Cleanup(map[string]interface{})

func (*StepCreateConfiguration) Run

func (*StepCreateConfiguration) Run(state map[string]interface{}) multistep.StepAction

type StepFetchRepo

type StepFetchRepo struct{}

func (*StepFetchRepo) Cleanup

func (*StepFetchRepo) Cleanup(map[string]interface{})

func (*StepFetchRepo) Run

func (*StepFetchRepo) Run(state map[string]interface{}) multistep.StepAction

type StepInjectConfiguration

type StepInjectConfiguration struct{}

func (*StepInjectConfiguration) Cleanup

func (*StepInjectConfiguration) Cleanup(map[string]interface{})

func (*StepInjectConfiguration) Run

func (*StepInjectConfiguration) Run(state map[string]interface{}) multistep.StepAction

type StepRetrieveRepositories

type StepRetrieveRepositories struct{}

func (*StepRetrieveRepositories) Cleanup

func (*StepRetrieveRepositories) Cleanup(map[string]interface{})

func (*StepRetrieveRepositories) Run

func (*StepRetrieveRepositories) Run(state map[string]interface{}) multistep.StepAction

type StepUpdateRepositories

type StepUpdateRepositories struct{}

func (*StepUpdateRepositories) Cleanup

func (*StepUpdateRepositories) Cleanup(map[string]interface{})

func (*StepUpdateRepositories) Run

func (*StepUpdateRepositories) Run(state map[string]interface{}) multistep.StepAction

Jump to

Keyboard shortcuts

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