Documentation
¶
Index ¶
- func GetAppDefaultsConfig(content []byte, subKey, appName string) (*model.AppDefaultsConfig, error)
- func GetChannelsConfig(ctx context.Context, content []byte, subKey string) (*model.ChannelsConfig, error)
- func GetGHReleases(ctx context.Context, client *github.Client, owner, repo string) ([]string, error)
- func GetReleasesConfig(content []byte, channelServerVersion, subKey string) (*model.ReleasesConfig, error)
- func Latest(releases []string, pattern, exclude string) (string, error)
- type Config
- type DurationWait
- type Source
- type StringSource
- type Wait
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppDefaultsConfig ¶ added in v0.6.0
func GetAppDefaultsConfig(content []byte, subKey, appName string) (*model.AppDefaultsConfig, error)
func GetChannelsConfig ¶ added in v0.2.0
func GetGHReleases ¶ added in v0.2.0
func GetReleasesConfig ¶ added in v0.2.0
func GetReleasesConfig(content []byte, channelServerVersion, subKey string) (*model.ReleasesConfig, error)
Types ¶
type Config ¶
func (*Config) AppDefaultsConfig ¶ added in v0.6.0
func (c *Config) AppDefaultsConfig() *model.AppDefaultsConfig
func (*Config) ChannelsConfig ¶ added in v0.2.0
func (c *Config) ChannelsConfig() *model.ChannelsConfig
func (*Config) ReleasesConfig ¶ added in v0.2.0
func (c *Config) ReleasesConfig() *model.ReleasesConfig
type DurationWait ¶ added in v0.6.0
type StringSource ¶ added in v0.6.0
type StringSource string
func (StringSource) URL ¶ added in v0.6.0
func (s StringSource) URL() string
Click to show internal directories.
Click to hide internal directories.