snapshot

package
v1.37.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSnapshot

func NewCmdSnapshot(log logrus.FieldLogger) *cli.Command

Types

type Options

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

func NewOptions

func NewOptions(log logrus.FieldLogger, b *box.Config) (*Options, error)

func (*Options) CreateSnapshot

func (o *Options) CreateSnapshot(ctx context.Context) (string, error)

func (*Options) Generate

func (o *Options) Generate(ctx context.Context, s *box.SnapshotGenerateConfig,
	skipUpload bool, channel box.SnapshotLockChannel) error

Jump to

Keyboard shortcuts

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