typed

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: Apache-2.0 Imports: 5 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 FrontendConfigStore added in v1.6.0

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

FrontendConfigStore is a typed version of Store.

func WrapFrontendConfigStore added in v1.6.0

func WrapFrontendConfigStore(store cache.Store) *FrontendConfigStore

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

func (*FrontendConfigStore) Add added in v1.6.0

Add implements Store.

func (*FrontendConfigStore) Delete added in v1.6.0

Delete implements Store.

func (*FrontendConfigStore) Get added in v1.6.0

Get implements Store.

func (*FrontendConfigStore) GetByKey added in v1.6.0

GetByKey implements Store.

func (*FrontendConfigStore) List added in v1.6.0

List implements Store.

func (*FrontendConfigStore) ListKeys added in v1.6.0

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

ListKeys implements Store.

func (*FrontendConfigStore) Resync added in v1.6.0

func (s *FrontendConfigStore) Resync() error

Resync implements Store.

func (*FrontendConfigStore) Update added in v1.6.0

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 *v1.Ingress) error

Add implements Store.

func (*IngressStore) Delete

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

Delete implements Store.

func (*IngressStore) Get

func (s *IngressStore) Get(i *v1.Ingress) (*v1.Ingress, bool, error)

Get implements Store.

func (*IngressStore) GetByKey

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

GetByKey implements Store.

func (*IngressStore) List

func (s *IngressStore) List() []*v1.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 *v1.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