github

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

func WithContext(ctx context.Context) githubSetting

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.

Jump to

Keyboard shortcuts

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