Documentation ¶
Index ¶
- func ConvertMCToV1Labels(m *manufacturing.Config, l *inventory.SchedulableLabels)
- func GetAllCachedConfig(ctx context.Context) (map[*manufacturing.Config]time.Time, error)
- func GetCachedConfig(ctx context.Context, cfgIds []*manufacturing.ConfigID) ([]proto.Message, error)
- func UpdateDatastore(ctx context.Context, client gitiles.GitilesClient, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMCToV1Labels ¶
func ConvertMCToV1Labels(m *manufacturing.Config, l *inventory.SchedulableLabels)
ConvertMCToV1Labels converts manufacturing configs to the git-based skylab inventory.
func GetAllCachedConfig ¶
GetAllCachedConfig gets all the manufacturing configs from datastore.
func GetCachedConfig ¶
func GetCachedConfig(ctx context.Context, cfgIds []*manufacturing.ConfigID) ([]proto.Message, error)
GetCachedConfig gets the manufacturing config data from datastore.
func UpdateDatastore ¶
func UpdateDatastore(ctx context.Context, client gitiles.GitilesClient, project, committish, path string) error
UpdateDatastore updates the datastore cache for all manufacturing config data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.