commands

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitLines

func SplitLines(s string) []string

Types

type Globals

type Globals struct {
	Version string
}

type RestoreCmd

type RestoreCmd struct {
	Key      string `help:"Key for a cache entry." env:"INPUT_KEY"`
	Path     string `help:"Path list for a cache entry." env:"INPUT_PATH"`
	Endpoint string `help:"Endpoint for a cache entry." env:"INPUT_ENDPOINT"`
}

func (*RestoreCmd) Run

func (c *RestoreCmd) Run(ctx context.Context, globals *Globals) error

type SaveCmd

type SaveCmd struct {
	Key      string `help:"Key for a cache entry." env:"INPUT_KEY"`
	Path     string `help:"Path list for a cache entry." env:"INPUT_PATH"`
	Endpoint string `help:"Endpoint for a cache entry." env:"INPUT_ENDPOINT"`
}

func (*SaveCmd) Run

func (c *SaveCmd) Run(ctx context.Context, globals *Globals) error

Jump to

Keyboard shortcuts

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