bitbucket

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package bitbucket providers a config loader for bitbucket-pipelines.yml.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct{}

Loader is a loader.Loader that loads bitbucket-pipelines.yml files

func (*Loader) DefaultPlan

func (l *Loader) DefaultPlan() string

DefaultPlan returns the default plan name.

func (*Loader) Filenames

func (l *Loader) Filenames() []string

Filenames returns the list for filenames that this loader supports.

func (*Loader) Load

func (l *Loader) Load(base, path string, data []byte, disableDeprecated bool) (*config.Config, error)

Load loads the given filename and returns a config.Config for it.

func (*Loader) LoadOverride

func (l *Loader) LoadOverride(base, path string, data []byte, cfg *config.Config, disableDeprecated bool)

LoadOverride loads the given override file into the config.

func (*Loader) OverrideSuffix

func (l *Loader) OverrideSuffix() string

OverrideSuffix returns the suffix for override files.

func (*Loader) ResolvePlanName

func (l *Loader) ResolvePlanName(plan string, cfg *config.Config, st *state.State) string

ResolvePlanName resolves the plan name if the one in the config contains a wildcard.

Jump to

Keyboard shortcuts

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