Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { // SaveFiles should take the provided registry file and save it associated with the provided cluster/channel SaveFiles(cluster, channel string, files []*registrygrpc.File) error // SetChannelMessage associates the root message for the channel SetChannelMessage(cluster, channel, message string) error // GetChannelData returns the root message and and proto files for the channel GetChannelData(cluster, channel string) (string, []*registrygrpc.File, error) // SaveChannelData sets (overwrites) all the relevant data for a channel SaveChannelData(cluster, channel, message string, files []*registrygrpc.File) error // GetChannels returns a list of channels the registry has data for GetChannels(cluster string) ([]string, error) // SaveCluster saves configuration data for a cluster SaveCluster(cluster *registrygrpc.Cluster) (string, error) // GetCluster returns the configuration data for a cluster GetCluster(id string) (*registrygrpc.Cluster, error) // GetClusters returns all cluster configurations GetClusters() ([]*registrygrpc.Cluster, error) }
Store interface for the registry data
Click to show internal directories.
Click to hide internal directories.