Documentation ¶
Index ¶
- type BackendConfigStore
- func (s *BackendConfigStore) Add(b *backendconfigv1.BackendConfig) error
- func (s *BackendConfigStore) Delete(b *backendconfigv1.BackendConfig) error
- func (s *BackendConfigStore) Get(b *backendconfigv1.BackendConfig) (*backendconfigv1.BackendConfig, bool, error)
- func (s *BackendConfigStore) GetByKey(key string) (*backendconfigv1.BackendConfig, bool, error)
- func (s *BackendConfigStore) List() []*backendconfigv1.BackendConfig
- func (s *BackendConfigStore) ListKeys() []string
- func (s *BackendConfigStore) Resync() error
- func (s *BackendConfigStore) Update(b *backendconfigv1.BackendConfig) error
- type FrontendConfigStore
- func (s *FrontendConfigStore) Add(b *frontendconfigv1beta1.FrontendConfig) error
- func (s *FrontendConfigStore) Delete(b *frontendconfigv1beta1.FrontendConfig) error
- func (s *FrontendConfigStore) Get(b *frontendconfigv1beta1.FrontendConfig) (*frontendconfigv1beta1.FrontendConfig, bool, error)
- func (s *FrontendConfigStore) GetByKey(key string) (*frontendconfigv1beta1.FrontendConfig, bool, error)
- func (s *FrontendConfigStore) List() []*frontendconfigv1beta1.FrontendConfig
- func (s *FrontendConfigStore) ListKeys() []string
- func (s *FrontendConfigStore) Resync() error
- func (s *FrontendConfigStore) Update(b *frontendconfigv1beta1.FrontendConfig) error
- type IngressStore
- func (s *IngressStore) Add(i *v1beta1.Ingress) error
- func (s *IngressStore) Delete(i *v1beta1.Ingress) error
- func (s *IngressStore) Get(i *v1beta1.Ingress) (*v1beta1.Ingress, bool, error)
- func (s *IngressStore) GetByKey(key string) (*v1beta1.Ingress, bool, error)
- func (s *IngressStore) List() []*v1beta1.Ingress
- func (s *IngressStore) ListKeys() []string
- func (s *IngressStore) Resync() error
- func (s *IngressStore) Update(i *v1beta1.Ingress) error
- type ServiceStore
- func (s *ServiceStore) Add(svc *api_v1.Service) error
- func (s *ServiceStore) Delete(svc *api_v1.Service) error
- func (s *ServiceStore) Get(c *api_v1.Service) (*api_v1.Service, bool, error)
- func (s *ServiceStore) GetByKey(key string) (*api_v1.Service, bool, error)
- func (s *ServiceStore) List() []*api_v1.Service
- func (s *ServiceStore) ListKeys() []string
- func (s *ServiceStore) Resync() error
- func (s *ServiceStore) Update(svc *api_v1.Service) error
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 ¶
func (s *BackendConfigStore) Add(b *backendconfigv1.BackendConfig) error
Add implements Store.
func (*BackendConfigStore) Delete ¶
func (s *BackendConfigStore) Delete(b *backendconfigv1.BackendConfig) error
Delete implements Store.
func (*BackendConfigStore) Get ¶
func (s *BackendConfigStore) Get(b *backendconfigv1.BackendConfig) (*backendconfigv1.BackendConfig, bool, error)
Get implements Store.
func (*BackendConfigStore) GetByKey ¶
func (s *BackendConfigStore) GetByKey(key string) (*backendconfigv1.BackendConfig, bool, error)
GetByKey implements Store.
func (*BackendConfigStore) List ¶
func (s *BackendConfigStore) List() []*backendconfigv1.BackendConfig
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 ¶
func (s *BackendConfigStore) Update(b *backendconfigv1.BackendConfig) error
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
func (s *FrontendConfigStore) Add(b *frontendconfigv1beta1.FrontendConfig) error
Add implements Store.
func (*FrontendConfigStore) Delete ¶ added in v1.6.0
func (s *FrontendConfigStore) Delete(b *frontendconfigv1beta1.FrontendConfig) error
Delete implements Store.
func (*FrontendConfigStore) Get ¶ added in v1.6.0
func (s *FrontendConfigStore) Get(b *frontendconfigv1beta1.FrontendConfig) (*frontendconfigv1beta1.FrontendConfig, bool, error)
Get implements Store.
func (*FrontendConfigStore) GetByKey ¶ added in v1.6.0
func (s *FrontendConfigStore) GetByKey(key string) (*frontendconfigv1beta1.FrontendConfig, bool, error)
GetByKey implements Store.
func (*FrontendConfigStore) List ¶ added in v1.6.0
func (s *FrontendConfigStore) List() []*frontendconfigv1beta1.FrontendConfig
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
func (s *FrontendConfigStore) Update(b *frontendconfigv1beta1.FrontendConfig) error
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 *v1beta1.Ingress) error
Add implements Store.
func (*IngressStore) Delete ¶
func (s *IngressStore) Delete(i *v1beta1.Ingress) error
Delete implements Store.
func (*IngressStore) ListKeys ¶
func (s *IngressStore) ListKeys() []string
ListKeys 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) ListKeys ¶
func (s *ServiceStore) ListKeys() []string
ListKeys implements Store.