storage

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	driver.Driver
}

Storage is common storage client,use it to get app and others resource

var Store *Storage

Store application store client

func NewStorage

func NewStorage(driverName string) *Storage

NewStorage form driver type

func (*Storage) Delete

func (s *Storage) Delete(envName, appName string) error

Delete application storage common implement

func (*Storage) Get

func (s *Storage) Get(envName, appName string) (*driver.Application, error)

Get application storage common implement

func (*Storage) List

func (s *Storage) List(envName string) ([]*driver.Application, error)

List applications storage common implement

func (*Storage) Save

func (s *Storage) Save(app *driver.Application, envName string) error

Save application storage common implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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