Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
updateaction.Environment
}
func (*Environment) NewUpdater ¶
func (c *Environment) NewUpdater(root string) updater.Updater
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(root string, opts ...UpdaterOpt) *Updater
NewUpdater creates a new Updater
func (*Updater) ApplyUpdate ¶
func (*Updater) Dependencies ¶
type UpdaterOpt ¶
type UpdaterOpt func(*Updater)
func WithRepoClient ¶
func WithRepoClient(rc repoClient) UpdaterOpt
WithRepoClient provides a go-github RepositoriesService or suitable mock.
Click to show internal directories.
Click to hide internal directories.