collection_manager

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionManager

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

func NewCollectionManager

func NewCollectionManager(options *Options) *CollectionManager

func NewCollectionManagerWithClient

func NewCollectionManagerWithClient(client *core.Client, options *Options) *CollectionManager

func (*CollectionManager) Connect

func (cm *CollectionManager) Connect(host string, options *core.Options) error

func (*CollectionManager) Disconnect

func (cm *CollectionManager) Disconnect()

func (*CollectionManager) GetCollection

func (cm *CollectionManager) GetCollection(collectionID string) (*types.Collection, error)

func (*CollectionManager) GetCollections

func (cm *CollectionManager) GetCollections() ([]*types.Collection, error)

func (*CollectionManager) GetEndpoint

func (cm *CollectionManager) GetEndpoint() (*core.Endpoint, error)

func (*CollectionManager) Register

func (cm *CollectionManager) Register(collection *types.Collection) error

func (*CollectionManager) Unregister

func (cm *CollectionManager) Unregister(collectionID string) error

type Options

type Options struct {
	Endpoint string
	Domain   string
	Key      *keyring.KeyInfo
	Verbose  bool
}

func NewOptions

func NewOptions() *Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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