twirpupdater

package
v0.0.0-...-2589e0a Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

func (*Container) Close

func (c *Container) Close() error

func (*Container) UpdateService

func (c *Container) UpdateService() v1.UpdateService

type Environment

type Environment struct {
	updateaction.Environment

	// FIXME: remove default default
	ImageName string `env:"INPUT_UPDATER_IMAGE" envDefault:"action-update-twirp-gradle"`
}

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, imageName string) *Updater

func (*Updater) ApplyUpdate

func (u *Updater) ApplyUpdate(context.Context, updater.Update) error

func (*Updater) Check

func (*Updater) Close

func (u *Updater) Close() error

func (*Updater) Dependencies

func (u *Updater) Dependencies(ctx context.Context) ([]updater.Dependency, error)

func (*Updater) Name

func (u *Updater) Name() string

Jump to

Keyboard shortcuts

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