Documentation ¶
Index ¶
- func NewReleaseFinder(opts ...githubSetting) (*releaseFinder, error)
- func WithBaseImage(s string) githubSetting
- func WithContext(ctx context.Context) githubSetting
- func WithPreReleases(value bool) githubSetting
- func WithRepository(s string) githubSetting
- func WithToken(s string) githubSetting
- func WithVersionNamePrefix(s string) githubSetting
- func WithVersionNameSuffix(s string) githubSetting
- func WithVersionPrefix(s string) githubSetting
- func WithVersionSuffix(s string) githubSetting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReleaseFinder ¶
func NewReleaseFinder(opts ...githubSetting) (*releaseFinder, error)
NewReleaseFinder returns a new Github release finder discovery with the required settings
func WithBaseImage ¶
func WithBaseImage(s string) githubSetting
WithBaseImage Sets a base image to prefix the upgradeImage version with.
func WithContext ¶
WithContext sets a context for the discovery action
func WithPreReleases ¶
func WithPreReleases(value bool) githubSetting
WithPreReleases includes the pre-releases in the releases list
func WithRepository ¶
func WithRepository(s string) githubSetting
WithRepository sets a Github repository to scan releases against
func WithToken ¶
func WithToken(s string) githubSetting
WithToken sets a github token to use for auth requests.
func WithVersionNamePrefix ¶
func WithVersionNamePrefix(s string) githubSetting
WithVersionNamePrefix adds a prefix to the created ManagedOSVersion resource
func WithVersionNameSuffix ¶
func WithVersionNameSuffix(s string) githubSetting
WithVersionNameSuffix appends a suffix to the created ManagedOSVersion resource
func WithVersionPrefix ¶
func WithVersionPrefix(s string) githubSetting
WithVersionPrefix adds a prefix to the retrieved version
func WithVersionSuffix ¶
func WithVersionSuffix(s string) githubSetting
WithVersionSuffix appends a suffix to the retrieved version
Types ¶
This section is empty.