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.