format

package
v0.0.0-...-bd4c8a3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoicConfig

type StoicConfig struct {
	UpdateFrequency tool.UpdateFrequency  `yaml:"update,omitempty"`
	Tools           map[string]ToolConfig `yaml:",omitempty"`
}

type ToolConfig

type ToolConfig struct {
	Endpoint        string
	Channel         tool.Channel
	UpdateFrequency tool.UpdateFrequency `yaml:"update,omitempty"`
	PinVersion      tool.Version         `yaml:"pin-version,omitempty"`
	Getter          ToolGetterConfig     `yaml:"getter,omitempty"`
	Runner          ToolRunnerConfig     `yaml:"runner,omitempty"`
}

func (*ToolConfig) UnmarshalYAML

func (tc *ToolConfig) UnmarshalYAML(unmarshal func(interface{}) error) error

type ToolGetterConfig

type ToolGetterConfig TypedOptions

type ToolRunnerConfig

type ToolRunnerConfig TypedOptions

type TypedOptions

type TypedOptions struct {
	Type    string
	Options map[string]interface{}
}

Jump to

Keyboard shortcuts

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