Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store knows how to keep internal state as part of a WorkloadEntry resource.
func NewStore ¶
func NewStore(store model.ConfigStoreController, cb StoreCallbacks) *Store
NewStore returns a new Store instance.
func (*Store) DeleteHealthCondition ¶
DeleteHealthCondition updates WorkloadEntry of a workload that is not using auto-registration to remove information about the health status (since we can no longer be certain about it).
func (*Store) UpdateHealth ¶
func (s *Store) UpdateHealth(proxyID, entryName, entryNs string, condition *v1alpha1.IstioCondition) error
UpdateHealth updates the associated WorkloadEntries health status based on the corresponding health check performed by istio-agent.
type StoreCallbacks ¶
type StoreCallbacks interface { // IsControllerOf returns true if a given WorkloadEntry is connected // to this istiod instance. IsControllerOf(wle *config.Config) bool }
StoreCallbacks represents a contract between a Store and a autoregistration.Controller.
Click to show internal directories.
Click to hide internal directories.