Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
GetService(ctx context.Context, serviceID string) (*types.VirtualService, error)
PutService(context.Context, *types.VirtualService) error
DeleteService(ctx context.Context, serviceID string) error
GetServer(ctx context.Context, serviceID string, key *types.RealServer_Key) (*types.RealServer, error)
PutServer(ctx context.Context, server *types.RealServer) error
DeleteServer(ctx context.Context, serviceID string, key *types.RealServer_Key) error
ListServices(context.Context) ([]*types.VirtualService, error)
ListServers(ctx context.Context, serviceID string) ([]*types.RealServer, error)
// Subscribe to changes. subscriber is called whenever a change occurs in the store.
Subscribe(subscriber func(), stopCh <-chan struct{})
}
Store for saving desired IPVS state.
Click to show internal directories.
Click to hide internal directories.