compound

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Buckets []downloadbucket.Cmd `yaml:"buckets,omitempty"`
}

type Cmd

type Cmd struct {
	ConfigFileLocation string `envconfig:"CONFIG_FILE"`
}

func (*Cmd) Execute

func (c *Cmd) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*Cmd) Name

func (c *Cmd) Name() string

func (*Cmd) SetFlags

func (c *Cmd) SetFlags(f *flag.FlagSet)

func (*Cmd) Synopsis

func (c *Cmd) Synopsis() string

func (*Cmd) Usage

func (c *Cmd) Usage() string

type Config

type Config struct {
	Download *Download `yaml:"download,omitempty"`
	Restore  *Restore  `yaml:"restore,omitempty"`
}

type ConfigWrapper

type ConfigWrapper struct {
	InitContainer *Config `yaml:"initContainer,omitempty"`
}

type Download

type Download struct {
	Bucket *downloadbucket.Cmd `yaml:"bucket,omitempty"`
	URL    *downloadurl.Cmd    `yaml:"url,omitempty"`
	Bundle *Bundle             `yaml:"bundle,omitempty"`
}

type Restore

type Restore struct {
	Bucket *restore.BucketToPVCCmd `yaml:"bucket,omitempty"`
	PVC    *restore.LocalInPVCCmd  `yaml:"pvc,omitempty"`
}

Jump to

Keyboard shortcuts

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