Documentation ¶
Index ¶
- type ClientStore
- func (cs *ClientStore) ApplyConfig(sourceConfig model.Config) error
- func (cs *ClientStore) BackupRemoteConfig(rc *remoteconfig.RemoteConfig, outputDir string) error
- func (cs *ClientStore) GetLatestRemoteConfig() (*remoteconfig.RemoteConfig, error)
- func (cs *ClientStore) GetLocalConfig(dir string) (*model.Config, error)
- func (cs *ClientStore) GetRemoteConfigDiff(inputDir string) error
- func (cs *ClientStore) ValidateOnRemote(sourceConfig model.Config) error
- type ConfigClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStore ¶
type ClientStore struct {
// contains filtered or unexported fields
}
func GetClientStore ¶
func GetClientStore(ctx context.Context) (*ClientStore, error)
func (*ClientStore) ApplyConfig ¶
func (cs *ClientStore) ApplyConfig(sourceConfig model.Config) error
func (*ClientStore) BackupRemoteConfig ¶
func (cs *ClientStore) BackupRemoteConfig(rc *remoteconfig.RemoteConfig, outputDir string) error
func (*ClientStore) GetLatestRemoteConfig ¶
func (cs *ClientStore) GetLatestRemoteConfig() (*remoteconfig.RemoteConfig, error)
func (*ClientStore) GetLocalConfig ¶
func (cs *ClientStore) GetLocalConfig(dir string) (*model.Config, error)
func (*ClientStore) GetRemoteConfigDiff ¶
func (cs *ClientStore) GetRemoteConfigDiff(inputDir string) error
func (*ClientStore) ValidateOnRemote ¶
func (cs *ClientStore) ValidateOnRemote(sourceConfig model.Config) error
type ConfigClient ¶
type ConfigClient interface { GetRemoteConfig(versionNumber string) (*remoteconfig.Response, error) PublishTemplate(ctx context.Context, template remoteconfig.Template, validateOnly bool) (*remoteconfig.Template, error) }
Click to show internal directories.
Click to hide internal directories.