Documentation ¶
Index ¶
- Variables
- type Config
- type Store
- func (s *Store) Add(ctx context.Context, config *Config) error
- func (s *Store) All(ctx context.Context) ([]Config, error)
- func (s *Store) LookupByID(ctx context.Context, id ksuid.KSUID) (*Config, error)
- func (s *Store) LookupByName(ctx context.Context, name string) *Config
- func (s *Store) Remove(ctx context.Context, config Config) error
- func (s *Store) Rename(ctx context.Context, id ksuid.KSUID, newName string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExists = errors.New("pool already exists") ErrNotFound = errors.New("pool not found") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func CreateStore ¶
func (*Store) LookupByID ¶
Click to show internal directories.
Click to hide internal directories.