Versions in this module Expand all Collapse all v1 v1.0.8 Oct 28, 2016 Changes in this version + const DefaultClientMaxBodySize + const EnvClientMaxBodySize type Config + ClientMaxBodySize string v1.0.7 Oct 26, 2016 Changes in this version + const DefaultAPIKeyHeader + const DefaultAPIKeySecret + const DefaultAPIKeySecretDataField + const DefaultAPIKeySecretLocation + const DefaultHostsAnnotation + const DefaultPathsAnnotation + const DefaultPort + const DefaultRoutableLabelSelector + const EnvVarAPIKeyHeader + const EnvVarAPIKeySecretLocation + const EnvVarHostsAnnotation + const EnvVarPathsAnnotation + const EnvVarPort + const EnvVarRoutableLabelSelector + const ErrMsgTmplInvalidAPIKeySecretLocation + const ErrMsgTmplInvalidAnnotationName + const ErrMsgTmplInvalidLabelSelector + const ErrMsgTmplInvalidPort + func ConvertSecretToModel(config *Config, secret *api.Secret) []byte + func GetRoutablePodList(config *Config, kubeClient *client.Client) (*api.PodList, error) + func GetRouterSecretList(config *Config, kubeClient *client.Client) (*api.SecretList, error) + func UpdatePodCacheForEvents(config *Config, cache map[string]*PodWithRoutes, events []watch.Event) bool + func UpdateSecretCacheForEvents(config *Config, cache map[string][]byte, events []watch.Event) bool + type Cache struct + Pods map[string]*PodWithRoutes + Secrets map[string][]byte + type Config struct + APIKeyHeader string + APIKeySecret string + APIKeySecretDataField string + HostsAnnotation string + PathsAnnotation string + Port int + RoutableLabelSelector labels.Selector + func ConfigFromEnv() (*Config, error) + type Incoming struct + Host string + Path string + type Outgoing struct + IP string + Port string + type PodWithRoutes struct + AnnotationHash uint64 + Name string + Namespace string + Routes []*Route + Status api.PodPhase + func ConvertPodToModel(config *Config, pod *api.Pod) *PodWithRoutes + type Route struct + Incoming *Incoming + Outgoing *Outgoing + func GetRoutes(config *Config, pod *api.Pod) []*Route + func (r *Route) String() string