properties

package
v0.0.0-...-cf22b21 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(path string, mgr *Manager) error

Types

type Manager

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

func Load

func Load(path string) (*Manager, error)

func NewManager

func NewManager() *Manager

func (*Manager) All

func (m *Manager) All(handle string) (garden.Properties, error)

func (*Manager) DestroyKeySpace

func (m *Manager) DestroyKeySpace(handle string) error

func (*Manager) Get

func (m *Manager) Get(handle string, name string) (string, bool)

func (*Manager) MarshalJSON

func (m *Manager) MarshalJSON() ([]byte, error)

func (*Manager) MatchesAll

func (m *Manager) MatchesAll(handle string, props garden.Properties) bool

func (*Manager) Remove

func (m *Manager) Remove(handle string, name string) error

func (*Manager) Set

func (m *Manager) Set(handle string, name string, value string)

func (*Manager) UnmarshalJSON

func (m *Manager) UnmarshalJSON(data []byte) error

type NoSuchKeySpaceError

type NoSuchKeySpaceError struct {
	Message string
}

func (NoSuchKeySpaceError) Error

func (e NoSuchKeySpaceError) Error() string

type NoSuchPropertyError

type NoSuchPropertyError struct {
	Message string
}

func (NoSuchPropertyError) Error

func (e NoSuchPropertyError) Error() string

Jump to

Keyboard shortcuts

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