releaser

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultHttpClient added in v0.2.2

type DefaultHttpClient struct {
}

func (*DefaultHttpClient) Get added in v0.2.2

func (c *DefaultHttpClient) Get(url string) (resp *http.Response, err error)

type GitHub

type GitHub interface {
	CreateRelease(ctx context.Context, input *github.Release) error
	GetRelease(ctx context.Context, tag string) (*github.Release, error)
}

GitHub contains the functions necessary for interacting with GitHub release objects

type HttpClient added in v0.2.2

type HttpClient interface {
	Get(url string) (*http.Response, error)
}

type Releaser

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

func NewReleaser

func NewReleaser(config *config.Options, github GitHub) *Releaser

func (*Releaser) CreateReleases

func (r *Releaser) CreateReleases() error

CreateReleases finds and uploads helm chart packages to github

func (*Releaser) UpdateIndexFile

func (r *Releaser) UpdateIndexFile() (bool, error)

UpdateIndexFile index.yaml file for a give git repo

Jump to

Keyboard shortcuts

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