manufacturingconfig

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

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

func GetAllCachedConfig(ctx context.Context) (map[*manufacturing.Config]time.Time, error)

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.

Jump to

Keyboard shortcuts

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