util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PvObj

type PvObj struct {
	Kind string      `json:"kind",yaml:"kind"`
	Spec interface{} `json:"spec",yaml:"spec"`
}

PvObj generic object

type PvObjAccount

type PvObjAccount struct {
	PvObj
	Spec provision.Account
}

PvObjAccount spec contains an Account type

type PvObjAsset

type PvObjAsset struct {
	PvObj
	Spec provision.Asset
}

PvObjAsset spec contains an Asset type

type PvObjUser

type PvObjUser struct {
	PvObj
	Spec provision.User
}

PvObjUser spec contains a User type

type PvObjectStore

type PvObjectStore struct {
	Backend string
	// contains filtered or unexported fields
}

PvObjectManager

func NewPvObjectStore

func NewPvObjectStore(backend string) *PvObjectStore

NewPvObjectStore

func (*PvObjectStore) LoadObjectsFromPath

func (m *PvObjectStore) LoadObjectsFromPath(path string) error

LoadObjects

func (*PvObjectStore) ObjectStore

func (m *PvObjectStore) ObjectStore() map[string]map[string][]byte

ObjectsInStore

func (*PvObjectStore) ObjectsInStore

func (m *PvObjectStore) ObjectsInStore() int

ObjectsInStore

func (*PvObjectStore) SendObjects

func (m *PvObjectStore) SendObjects() error

SendObjects

Jump to

Keyboard shortcuts

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