Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenBasket ¶
func NewTokenBasket(kubeClient client.Client) token.TokenBasket
Types ¶
type Server ¶
type Server struct { // To build certmanager logger Name string Logger logr.Logger // Host is the address that the server will listen on. // Defaults to "" - all addresses. Host string // Port is the port number that the server will serve. // It will be defaulted to 443 if unspecified. Port int // CertDir is the directory that contains the server key and certificate. The // server key and certificate. CertDir string // CertName is the server certificate name. Defaults to tls.crt. CertName string // CertName is the server key name. Defaults to tls.key. KeyName string // Configure the server in plain text (http://). UNSAFE: Use with care, avoid in production` NoSsl bool // WebhookMux is the multiplexer that handles different handlerByPath. //Mux *http.ServeMux Router *mux.Router Manager ctrlrt.Manager // contains filtered or unexported fields }
func (*Server) NeedLeaderElection ¶
Click to show internal directories.
Click to hide internal directories.