store

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapLister

type ConfigMapLister struct {
	cache.Store
}

ConfigMapLister makes a Store that lists Configmaps.

func (*ConfigMapLister) GetByName

func (cml *ConfigMapLister) GetByName(name string) (*apiv1.ConfigMap, error)

GetByName searches for a configmap in the local configmaps Store

type EndpointLister

type EndpointLister struct {
	cache.Store
}

EndpointLister makes a Store that lists Endpoints.

func (*EndpointLister) GetServiceEndpoints

func (s *EndpointLister) GetServiceEndpoints(svc *apiv1.Service) (ep apiv1.Endpoints, err error)

GetServiceEndpoints returns the endpoints of a service, matched on service name.

type IngressLister

type IngressLister struct {
	cache.Store
}

IngressLister makes a Store that lists Ingress.

type NodeLister

type NodeLister struct {
	cache.Store
}

NodeLister makes a Store that lists Nodes.

type PodLister

type PodLister struct {
	cache.Store
}

PodLister makes a store that lists Pods.

func (*PodLister) GetPod

func (s *PodLister) GetPod(namespace, name string) (*apiv1.Pod, error)

GetPod returns the pod given it's namespace and name.

func (*PodLister) GetTerminatingServicePods

func (s *PodLister) GetTerminatingServicePods(svc *apiv1.Service) (pl []apiv1.Pod, err error)

GetTerminatingServicePods returns the pods that are terminating and belong (based on the Spec.Selector) to the supplied service.

type SecretLister

type SecretLister struct {
	cache.Store
}

SecretLister makes a Store that lists Secrets.

func (*SecretLister) GetByName

func (sl *SecretLister) GetByName(name string) (*apiv1.Secret, error)

GetByName searches for a secret in the local secrets Store

type ServiceLister

type ServiceLister struct {
	cache.Store
}

ServiceLister makes a Store that lists Services.

func (*ServiceLister) GetByName

func (sl *ServiceLister) GetByName(name string) (*apiv1.Service, error)

GetByName searches for a service in the local secrets Store

Jump to

Keyboard shortcuts

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