Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReleaseClient ¶ added in v0.6.1
type ReleaseClient interface {
CreateRelease(ctx context.Context, owner, repo string, release *upgrade.CreateReleaseRequest) (*upgrade.ReleaseInfo, error)
}
ReleaseClient creates releases in a remote release service.
type ReleasePublisher ¶
type ReleasePublisher struct {
// contains filtered or unexported fields
}
ReleasePublisher handles publishing releases to GitHub
func NewReleasePublisher ¶
func NewReleasePublisher(repoPath string, cfg *config.Config) *ReleasePublisher
NewReleasePublisher creates a new release publisher
func NewReleasePublisherWithClient ¶ added in v0.6.1
func NewReleasePublisherWithClient(repoPath string, cfg *config.Config, client ReleaseClient) *ReleasePublisher
NewReleasePublisherWithClient creates a release publisher with an injected client.
Click to show internal directories.
Click to hide internal directories.