Documentation
¶
Index ¶
- type Config
- func (c *Config) Add(name, rType, rValue string, rOptions []string) error
- func (c *Config) AddToCollection(resource, collection string) error
- func (c *Config) Count(rType string) int
- func (c *Config) End()
- func (c *Config) Find(name string) bool
- func (c *Config) List(filters map[string]string) (map[types.Resource][]string, error)
- func (c *Config) Remove(name string) error
- func (c *Config) RemoveFromCollection(resource, collection string) error
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) AddToCollection ¶
func (*Config) RemoveFromCollection ¶
type Resource ¶
type Resource interface { Add(name, rType, rValue string, rOptions []string) error Remove(name string) error List(filters map[string]string) (map[types.Resource][]string, error) Count(rType string) int Find(name string) bool AddToCollection(resource, collection string) error RemoveFromCollection(resource, collection string) error End() }
Click to show internal directories.
Click to hide internal directories.