gitlab_ci_helper

package module
v0.0.0-...-3e8fdcd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: MIT Imports: 9 Imported by: 3

README

gitlab-ci-helper

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuild

func GetBuild(project *gitlab.Project, buildId string, client *gitlab.Gitlab) (*gitlab.Build, error)

func GetEnv

func GetEnv(name, deflt string) string

func GetProject

func GetProject(p string, client *gitlab.Gitlab) (*gitlab.Project, error)

Types

type Config

type Config struct {
	Gitlab *GitLabConfig `json:"gitlab"`
}

func NewConfig

func NewConfig() *Config

type GitLabConfig

type GitLabConfig struct {
	Host    string `json:"host"`
	Token   string `json:"token"`
	ApiPath string `json:"api_path"`
}

type MailerConfig

type MailerConfig struct {
	SubjectPrefix string   `json:"subject"`
	Sender        string   `json:"sender"`
	Dest          []string `json:"dest"`
	Host          string   `json:"host"`
	Username      string   `json:"username"`
	Password      string   `json:"password"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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