Documentation ¶
Overview ¶
Package normalize contains functions to "flatten" and normalize LUCI configs.
It is useful during the migration period to be able to work with existing deeply nested un-normalized configs (e.g. diff against them or use them as a basis for generated configs).
Index ¶
- func Buildbucket(c context.Context, cfg *pb.BuildbucketCfg) error
- func CQ(c context.Context, cfg *pb.Config) error
- func Logdog(c context.Context, cfg *pb.ProjectConfig) error
- func Milo(c context.Context, cfg *pb.Project) error
- func Notify(c context.Context, cfg *pb.ProjectConfig) error
- func Project(c context.Context, cfg *pb.ProjectCfg) error
- func Scheduler(c context.Context, cfg *pb.ProjectConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Buildbucket ¶
func Buildbucket(c context.Context, cfg *pb.BuildbucketCfg) error
Buildbucket normalizes cr-buildbucket.cfg config.
func Logdog ¶
func Logdog(c context.Context, cfg *pb.ProjectConfig) error
Logdog normalizes logdog.cfg config.
func Notify ¶
func Notify(c context.Context, cfg *pb.ProjectConfig) error
Notify normalizes luci-notify.cfg config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.