Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResource ¶
type ApiResource struct {
Verbs []string `yaml:"Verbs"`
Namespaced bool `yaml:"Namespaced"`
ShortNames []string `yaml:"ShortNames"`
Kind string `yaml:"Kind"`
SingularName string `yaml:"SingularName"`
Name string `yaml:"Name"`
Version string `yaml:"Version"`
}
ApiResource is the struct that holds the api resource config
type Config ¶
type Config struct {
ApiResource []ApiResource `yaml:"ApiResource"`
GrpcServer GrpcServer `yaml:"GrpcServer"`
EtcdServer EtcdServer `yaml:"EtcdServer"`
}
Config is the struct that holds the config file
func LoadConfig ¶
LoadConfig loads the config file and returns a Config struct
type EtcdServer ¶
type EtcdServer struct {
Host []string `yaml:"Host"`
}
EtcdServer is the struct that holds the etcd server config
type GrpcServer ¶
type GrpcServer struct {
Host string `yaml:"Host"`
}
GrpcServer is the struct that holds the grpc server config
Click to show internal directories.
Click to hide internal directories.