firebase

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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)
}

Jump to

Keyboard shortcuts

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