v1

package
v0.0.0-...-057f6e6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1

type V1 struct{}

V1 is the V1 implementation for storage

func New

func New() *V1

New returns the V1 implementation

func (*V1) Cleanup

func (*V1) Cleanup(tx *bolt.Tx) error

Cleanup removes the buckets used by v1

func (*V1) Initialize

func (*V1) Initialize(tx *bolt.Tx) error

Initialize sets up the bucks in boltdb for V1

func (*V1) Name

func (*V1) Name() string

Name returns v1

func (*V1) ReadDeployment

func (*V1) ReadDeployment(tx *bolt.Tx) (*deployment.Deployment, error)

ReadDeployment reads a v1 deployment

func (*V1) WriteDeployment

func (*V1) WriteDeployment(tx *bolt.Tx, deployment *deployment.Deployment) error

WriteDeployment writes a v1 deployment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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