validate

package
v0.0.0-...-7d312d8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserializeProto

func DeserializeProto(encoded string) (*sheriff_configpb.SheriffConfig, error)

Transform Base64 encoded data into SheriffConfig proto. LUCI Config returns content encoded in base64. It then needs to be Unmarshaled into Sheriff Config proto.

func ValidateConfig

func ValidateConfig(config *sheriff_configpb.SheriffConfig) error

Does the following checks at config level: - There's at least 1 subscription defined. - All subscriptions have unique names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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