store

package
v0.0.0-...-1701bfc Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2017 License: Apache-2.0 Imports: 3 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 SecretLister

type SecretLister struct {
	cache.Store
}

SecretsLister 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