pod

package
v1.5.3-rc4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPodExcepted

func IsPodExcepted(podLabels map[string]string, exceptionList []aadpodid.AzurePodIdentityException) bool

IsPodExcepted returns true if pod label is part of exception crd

Types

type Client

type Client struct {
	PodWatcher informersv1.PodInformer
}

func (*Client) GetPods

func (c *Client) GetPods() (pods []*corev1.Pod, err error)

GetPods returns list of all pods

func (*Client) Start

func (c *Client) Start(exit <-chan struct{})

Start ...

type ClientInt

type ClientInt interface {
	GetPods() (pods []*corev1.Pod, err error)
	Start(exit <-chan struct{})
}

func NewPodClient

func NewPodClient(i informers.SharedInformerFactory, eventCh chan aadpodid.EventType) (c ClientInt)

Jump to

Keyboard shortcuts

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