v1

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzeProperties

type AnalyzeProperties struct {
	Modules []ModuleProperties `yaml:"modules,omitempty"`
}

type CLIProperties

type CLIProperties struct {
	// Upload configuration.
	APIKey              string `yaml:"api_key,omitempty"`
	Server              string `yaml:"server,omitempty"`
	Fetcher             string `yaml:"fetcher,omitempty"` // Defaults to custom
	Project             string `yaml:"project,omitempty"`
	Title               string `yaml:"title,omitempty"`
	Revision            string `yaml:"revision,omitempty"`
	Branch              string `yaml:"branch,omitempty"`           // Only used with custom fetcher
	ProjectURL          string `yaml:"project_url,omitempty"`      // Only used with custom fetcher
	JIRAProjectKey      string `yaml:"jira_project_key,omitempty"` // Only used with custom fetcher
	Link                string `yaml:"link,omitempty"`
	Team                string `yaml:"team,omitempty"`
	Policy              string `yaml:"policy,omitempty"`
	ReleaseGroup        string `yaml:"release_group,omitempty"`
	ReleaseGroupVersion string `yaml:"release_group_version,omitempty"`
}

type File

type File struct {
	Version int `yaml:"version"`

	CLI     CLIProperties
	Analyze AnalyzeProperties
	// contains filtered or unexported fields
}

func New

func New(data []byte) (File, error)

func (File) APIKey

func (file File) APIKey() string

func (File) Branch

func (file File) Branch() string

func (File) Fetcher

func (file File) Fetcher() string

func (File) GetVersion added in v0.7.22

func (file File) GetVersion() int

func (File) JIRAProjectKey added in v0.7.6

func (file File) JIRAProjectKey() string
func (file File) Link() string

func (File) Modules

func (file File) Modules() []module.Module

func (File) Policy added in v1.0.22

func (file File) Policy() string

func (File) Project

func (file File) Project() string

func (File) ProjectURL added in v0.7.6

func (file File) ProjectURL() string

func (File) ReleaseGroup added in v1.1.2

func (file File) ReleaseGroup() string

func (File) ReleaseGroupVersion added in v1.1.2

func (file File) ReleaseGroupVersion() string

func (File) Revision

func (file File) Revision() string

func (File) Server

func (file File) Server() string

func (File) Team added in v0.7.9

func (file File) Team() string

func (File) Title

func (file File) Title() string

type ModuleProperties

type ModuleProperties struct {
	Name        string                 `yaml:"name"`
	Type        string                 `yaml:"type"`
	Ignore      bool                   `yaml:"ignore,omitempty"`
	BuildTarget string                 `yaml:"target,omitempty"`
	Path        string                 `yaml:"path,omitempty"`
	Options     map[string]interface{} `yaml:"options,omitempty"`
}

Jump to

Keyboard shortcuts

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