Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts []NewOptions, globalScopes []string) (ratify.Store, error)
New creates a new ratify.StoreMux instance where each store is registered for its respective scopes.
Types ¶
type NewOptions ¶
type NewOptions struct {
// Type represents a specific implementation of a store. Required.
Type string `json:"type"`
// Scopes defines the scopes for the store. Optional.
Scopes []string `json:"scopes,omitempty"`
// Parameters is additional parameters for the store. Optional.
Parameters any `json:"parameters,omitempty"`
}
NewOptions defines the options for creating a new ratify.Store.
Click to show internal directories.
Click to hide internal directories.