k3s

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRelease added in v0.30.0

func CreateRelease(ctx context.Context, client *github.Client, r *ecmConfig.K3sRelease, opts *repository.CreateReleaseOpts, rc bool) error

func GenerateTags added in v0.30.0

func GenerateTags(ctx context.Context, ghClient *github.Client, r *ecmConfig.K3sRelease, u *ecmConfig.User, sshKeyPath string) error

GenerateTags will clone the kubernetes repository, rebase it with the k3s-io fork and generate tags to be pushed

func NewGithubClient

func NewGithubClient(ctx context.Context, token string) (*github.Client, error)

func PushTags added in v0.30.0

func PushTags(ghClient *github.Client, r *ecmConfig.K3sRelease, u *ecmConfig.User, sshKeyPath string) error

func UpdateK3sReferences added in v0.30.0

func UpdateK3sReferences(ctx context.Context, ghClient *github.Client, r *ecmConfig.K3sRelease, u *ecmConfig.User) error

Types

type UpdateScriptVars added in v0.30.0

type UpdateScriptVars struct {
	K3s  *ecmConfig.K3sRelease
	User *ecmConfig.User
}

Jump to

Keyboard shortcuts

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