Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataStore ¶
func NewMetadataStore ¶
func NewMetadataStore(apiClient apiClient, d *model.Deployment) MetadataStore
NewMetadataStore builds a metadata store for a given deployment. It keeps local data and makes sure that they are synced with the remote store.
type Putter ¶
type Putter interface {
// Put adds a single key, value into store.
// If the key is already existing, it overwrite the old value by the new one.
Put(ctx context.Context, key, value string) error
// PutMulti adds multiple (key, value) into store.
// If any key is already existing, it overwrite the old value by the new one.
PutMulti(ctx context.Context, md map[string]string) error
}
Click to show internal directories.
Click to hide internal directories.