Documentation
¶
Index ¶
- func CloneProtoMessage(t *testing.T, src proto.Message) proto.Message
- func LoadConfigFromFile(t *testing.T, path string, msg proto.Message)
- func LoadMiddlewareConfig(t *testing.T, configPath string) (*middlewarev1.Middlewares, error)
- func LoadYAMLConfig(filename string) ([]byte, error)
- func SaveConfigToFile(t *testing.T, msg proto.Message, path string, formatName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneProtoMessage ¶
CloneProtoMessage creates a deep copy of a protobuf message.
func LoadConfigFromFile ¶
LoadConfigFromFile loads a config file into a protobuf message.
func LoadMiddlewareConfig ¶
func LoadMiddlewareConfig(t *testing.T, configPath string) (*middlewarev1.Middlewares, error)
LoadMiddlewareConfig loads and parses middleware configuration file
func LoadYAMLConfig ¶
LoadYAMLConfig loads YAML configuration file and converts it to JSON format byte array
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.