gitlab_ci_yaml_parser

package
v10.4.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataBag

type DataBag map[string]interface{}

func (*DataBag) Decode

func (m *DataBag) Decode(result interface{}, keys ...string) error

func (*DataBag) Get

func (m *DataBag) Get(keys ...string) (interface{}, bool)

func (*DataBag) GetSlice

func (m *DataBag) GetSlice(keys ...string) ([]interface{}, bool)

func (*DataBag) GetString

func (m *DataBag) GetString(keys ...string) (result string, ok bool)

func (*DataBag) GetStringSlice

func (m *DataBag) GetStringSlice(keys ...string) (slice []string, ok bool)

func (*DataBag) GetSubOptions

func (m *DataBag) GetSubOptions(keys ...string) (result DataBag, ok bool)

func (*DataBag) Sanitize

func (m *DataBag) Sanitize() (err error)

type GitLabCiYamlParser

type GitLabCiYamlParser struct {
	// contains filtered or unexported fields
}

func NewGitLabCiYamlParser

func NewGitLabCiYamlParser(jobName string) *GitLabCiYamlParser

func (*GitLabCiYamlParser) ParseYaml

func (c *GitLabCiYamlParser) ParseYaml(job *common.JobResponse) (err error)

Jump to

Keyboard shortcuts

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