updater

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSet

type ClientSet struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, deps Dependencies) *ClientSet

func (*ClientSet) UpdateK3sRelease

func (c *ClientSet) UpdateK3sRelease(ctx context.Context, req UpdateReleaseReq) (err error)

type Dependencies

type Dependencies struct {
	Client      github.Client
	AccessToken string
}

type Repository

type Repository struct {
	Owner  string
	Name   string
	Path   string
	Branch string
}

type UpdateReleaseReq

type UpdateReleaseReq struct {
	Repo        Repository
	ReleaseRepo Repository
}

Jump to

Keyboard shortcuts

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