Documentation
¶
Index ¶
- type Config
- func (cfg *Config) Download() (string, error)
- func (cfg *Config) GetLatestRelease(pluginURL string) (string, error)
- func (cfg *Config) GetType() string
- func (cfg *Config) GetVersion() string
- func (cfg *Config) SetType(pipelines []string) error
- func (cfg *Config) SetVersion(version string)
- func (cfg *Config) ValidatePlugin(pipelines []string) (bool, error)
- type GithubTags
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version string `json:"version,omitempty" yaml:"version,omitempty" mapstructure:"version"` Path string `json:"path,omitempty" yaml:"path,omitempty" mapstructure:"path"` URL string `json:"url,omitempty" yaml:"url,omitempty" mapstructure:"url"` PipelineType string // contains filtered or unexported fields }
func (*Config) GetLatestRelease ¶ added in v0.1.6
func (*Config) GetVersion ¶ added in v0.1.7
func (*Config) SetVersion ¶ added in v0.1.7
type GithubTags ¶ added in v0.1.6
type GithubTags struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.