Documentation ¶
Index ¶
- func CreateRelease(ctx context.Context, client *github.Client, r *ecmConfig.K3sRelease, ...) error
- func GenerateTags(ctx context.Context, ghClient *github.Client, r *ecmConfig.K3sRelease, ...) error
- func NewGithubClient(ctx context.Context, token string) (*github.Client, error)
- func PushTags(ghClient *github.Client, r *ecmConfig.K3sRelease, u *ecmConfig.User, ...) error
- func UpdateK3sReferences(ctx context.Context, ghClient *github.Client, r *ecmConfig.K3sRelease, ...) error
- type UpdateScriptVars
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 ¶
Types ¶
type UpdateScriptVars ¶ added in v0.30.0
type UpdateScriptVars struct { K3s *ecmConfig.K3sRelease User *ecmConfig.User }
Click to show internal directories.
Click to hide internal directories.