Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WatchNamespace is the constant for env variable WATCH_NAMESPACE // which specifies the Namespace to watch. // An empty value means the operator is running with cluster scope. WatchNamespace = "WATCH_NAMESPACE" // TykMode defines what environment the operator is running. The values are ce // for community edition and pro for pro version TykMode = "TYK_MODE" // TykURL holds the url to either tyk gateway or tyk dashboard TykURL = "TYK_URL" // TykAuth holds the authorization token used to make api calls to the // gateway/dashboard TykAuth = "TYK_AUTH" // TykORG holds the org id which perform api tasks with TykORG = "TYK_ORG" // SkipVerify the client will skip tls verification if this is true SkipVerify = "TYK_TLS_INSECURE_SKIP_VERIFY" // IngressClass overides the default class to watch for ingress IngressClass = "WATCH_INGRESS_CLASS" IngressTLSPort = "TYK_HTTPS_INGRESS_PORT" IngressHTTPPort = "TYK_HTTP_INGRESS_PORT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { Namespace string Mode string InsecureSkipVerify bool URL string Auth string Org string IngressClass string IngressTLSPort int IngressHTTPPort int }
Env holds values needed to talk to the gateway or the dashboard API
Click to show internal directories.
Click to hide internal directories.