Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientSet ¶
func NewClientSet(kubeconfig string) (*kubernetes.Clientset, error)
NewClientSet returns a new kubernetes clientSet
Types ¶
type GWController ¶
type GWController struct { GWS GWServicer EtcdCli *client.Client // contains filtered or unexported fields }
GWController -
func NewGWController ¶
func NewGWController(ctx context.Context, cfg *option.Config, mc metric.Collector) (*GWController, error)
NewGWController new Gateway controller
func (*GWController) Check ¶
func (g *GWController) Check(_ *http.Request) error
Check returns if the nginx healthz endpoint is returning ok (status code 200)
func (*GWController) Start ¶
func (gwc *GWController) Start(errCh chan error) error
Start starts Gateway
Click to show internal directories.
Click to hide internal directories.