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.
Click to show internal directories.
Click to hide internal directories.