Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHttpClient ¶
type DefaultHttpClient struct{}
func (*DefaultHttpClient) Get ¶
func (c *DefaultHttpClient) Get(url string) (resp *http.Response, err error)
func (*DefaultHttpClient) GetWithToken ¶ added in v0.4.4
type Git ¶
type Git interface { AddWorktree(workingDir string, committish string) (string, error) RemoveWorktree(workingDir string, path string) error Add(workingDir string, args ...string) error Commit(workingDir string, message string) error Push(workingDir string, args ...string) error GetPushURL(remote string, token string) (string, error) }
type GitHub ¶
type GitHub interface { CreateRelease(ctx context.Context, input *github.Release) error GetRelease(ctx context.Context, tag string) (*github.Release, error) CreatePullRequest(owner string, repo string, message string, head string, base string) (string, error) }
GitHub contains the functions necessary for interacting with GitHub release objects
type HttpClient ¶
type Releaser ¶
type Releaser struct {
// contains filtered or unexported fields
}
func (*Releaser) CreateReleases ¶
CreateReleases finds and uploads Helm chart packages to GitHub
func (*Releaser) UpdateIndexFile ¶
UpdateIndexFile updates the index.yaml file for a given Git repo
Click to show internal directories.
Click to hide internal directories.