Back to godoc.org

Package properties

v0.0.0-...-3da697a
Latest Go to latest

The highest tagged major version is .

Published: Oct 15, 2020 | License: Apache-2.0 | Module: code.cloudfoundry.org/guardian

Index

func Save

func Save(path string, mgr *Manager) error

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier