outputs

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureBlobOutput

type AzureBlobOutput struct {
	AzureConfig     *azure.AzureConfig
	RetentionPeriod time.Duration
}

func (*AzureBlobOutput) ApplyRetentionPolicy added in v1.1.0

func (o *AzureBlobOutput) ApplyRetentionPolicy() error

func (*AzureBlobOutput) Save

func (o *AzureBlobOutput) Save(snap string) error

type LocalOutput

type LocalOutput struct {
	DestinationPath   string
	Filename          string
	CreateDestination bool
	RetentionPeriod   time.Duration
}

func (*LocalOutput) ApplyRetentionPolicy

func (o *LocalOutput) ApplyRetentionPolicy() error

func (*LocalOutput) Save

func (o *LocalOutput) Save(snap string) error

Jump to

Keyboard shortcuts

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