typed

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfigStore

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

BackendConfigStore is a typed version of Store.

func WrapBackendConfigStore

func WrapBackendConfigStore(store cache.Store) *BackendConfigStore

WrapBackendConfigStore wraps a generic store so the API is type-safe

func (*BackendConfigStore) Add

Add implements Store.

func (*BackendConfigStore) Delete

Delete implements Store.

func (*BackendConfigStore) Get

Get implements Store.

func (*BackendConfigStore) GetByKey

GetByKey implements Store.

func (*BackendConfigStore) List

List implements Store.

func (*BackendConfigStore) ListKeys

func (s *BackendConfigStore) ListKeys() []string

ListKeys implements Store.

func (*BackendConfigStore) Resync

func (s *BackendConfigStore) Resync() error

Resync implements Store.

func (*BackendConfigStore) Update

Update implements Store.

type IngressStore

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

IngressStore is a typed version of Store.

func WrapIngressStore

func WrapIngressStore(store cache.Store) *IngressStore

WrapIngressStore wraps a generic store so the API is type-safe.

func (*IngressStore) Add

func (s *IngressStore) Add(i *extensions.Ingress) error

Add implements Store.

func (*IngressStore) Delete

func (s *IngressStore) Delete(i *extensions.Ingress) error

Delete implements Store.

func (*IngressStore) Get

Get implements Store.

func (*IngressStore) GetByKey

func (s *IngressStore) GetByKey(key string) (*extensions.Ingress, bool, error)

GetByKey implements Store.

func (*IngressStore) List

func (s *IngressStore) List() []*extensions.Ingress

List implements Store.

func (*IngressStore) ListKeys

func (s *IngressStore) ListKeys() []string

ListKeys implements Store.

func (*IngressStore) Resync

func (s *IngressStore) Resync() error

Resync implements Store.

func (*IngressStore) Update

func (s *IngressStore) Update(i *extensions.Ingress) error

Update implements Store.

type ServiceStore

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

ServiceStore is a typed version of Store.

func WrapServiceStore

func WrapServiceStore(store cache.Store) *ServiceStore

WrapServiceStore wraps a generic store so the API is type-safe.

func (*ServiceStore) Add

func (s *ServiceStore) Add(svc *api_v1.Service) error

Add implements Store.

func (*ServiceStore) Delete

func (s *ServiceStore) Delete(svc *api_v1.Service) error

Delete implements Store.

func (*ServiceStore) Get

Get implements Store.

func (*ServiceStore) GetByKey

func (s *ServiceStore) GetByKey(key string) (*api_v1.Service, bool, error)

GetByKey implements Store.

func (*ServiceStore) List

func (s *ServiceStore) List() []*api_v1.Service

List implements Store.

func (*ServiceStore) ListKeys

func (s *ServiceStore) ListKeys() []string

ListKeys implements Store.

func (*ServiceStore) Resync

func (s *ServiceStore) Resync() error

Resync implements Store.

func (*ServiceStore) Update

func (s *ServiceStore) Update(svc *api_v1.Service) error

Update implements Store.

Jump to

Keyboard shortcuts

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