connector

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient() (*Client, error)

NewClient generates a client with the right configuration

func (*Client) GetIngresses

func (c *Client) GetIngresses() ([]extensions_v1beta1.Ingress, error)

GetIngresses gets all ingresses from all namespaces

func (*Client) GetServiceMap

func (c *Client) GetServiceMap() (map[string]core_v1.Service, error)

GetServiceMap gives all services in a map to look them up in (namespace)-(service) format

func (*Client) WatchIngressForChanges

func (c *Client) WatchIngressForChanges() (chan bool, error)

WatchIngressForChanges watches changes on ingrress inside Kubernetes

func (*Client) WatchServicesForChanges

func (c *Client) WatchServicesForChanges() (chan bool, error)

WatchServicesForChanges watches changes on services inside Kubernetes

Jump to

Keyboard shortcuts

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