Documentation ¶
Index ¶
- func DownloadCfgProto(ctx context.Context, client gitiles.GitilesClient, ...) error
- func GetCachedCfgByIds(ctx context.Context, entities []EntityInterface) ([]proto.Message, error)
- func NewGitilesClient(ctx context.Context, host string) (gitiles.GitilesClient, error)
- func SyncProtoToDatastore(ctx context.Context, cfgs []proto.Message, ...) error
- type EntityInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadCfgProto ¶
func DownloadCfgProto(ctx context.Context, client gitiles.GitilesClient, project, committish, path string, msg proto.Message) error
DownloadCfgProto downloads the config data in proto.Message.
func GetCachedCfgByIds ¶
GetCachedCfgByIds gets the cached config from datastore by Ids.
func NewGitilesClient ¶
NewGitilesClient returns a gitiles client to access the device config data.
Types ¶
Click to show internal directories.
Click to hide internal directories.