Documentation ¶
Index ¶
- type Environment
- type Updater
- func (u Updater) ApplyUpdate(ctx context.Context, update updater.Update) error
- func (u Updater) Check(ctx context.Context, dep updater.Dependency, filter func(string) bool) (*updater.Update, error)
- func (u Updater) Dependencies(context.Context) ([]updater.Dependency, error)
- func (u Updater) Name() string
- type UpdaterOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { updateaction.Environment GPG bool `env:"INPUT_GPG" envDefault:"false"` }
func (*Environment) NewUpdater ¶
func (e *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
func (Updater) ApplyUpdate ¶
func (Updater) Dependencies ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.