common

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Cluster cluster.Watcher
}

Context Gin Global Context

func (*Context) Client

func (c *Context) Client() (client kubernetes.Interface)

Client kubernetes rest client

func (*Context) Config

func (c *Context) Config() (config *rest.Config)

Config kubernetes config

func (*Context) EndpointsLister

func (c *Context) EndpointsLister() (lister v1.EndpointsLister)

EndpointsLister endpoint listener

func (*Context) NamespaceLister

func (c *Context) NamespaceLister() (lister v1.NamespaceLister)

NamespaceLister namespace listener

func (*Context) PodLister

func (c *Context) PodLister() (lister v1.PodLister)

PodLister pod listener

func (*Context) ServiceLister

func (c *Context) ServiceLister() (lister v1.ServiceLister)

ServiceLister service listener

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL