Documentation ¶
Index ¶
- func CompareIps(ips1 []string, ips2 []string) bool
- func New() types.TargetRegistry
- type TargetRegistryMemory
- func (trm *TargetRegistryMemory) Get(ctx context.Context, target *nspAPI.Target) ([]*nspAPI.Target, error)
- func (trm *TargetRegistryMemory) Remove(ctx context.Context, target *nspAPI.Target) error
- func (trm *TargetRegistryMemory) Set(ctx context.Context, target *nspAPI.Target) error
- func (trm *TargetRegistryMemory) Watch(ctx context.Context, target *nspAPI.Target) (types.TargetWatcher, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareIps ¶
func New ¶
func New() types.TargetRegistry
Types ¶
type TargetRegistryMemory ¶
type TargetRegistryMemory struct {
// contains filtered or unexported fields
}
func (*TargetRegistryMemory) Watch ¶
func (trm *TargetRegistryMemory) Watch(ctx context.Context, target *nspAPI.Target) (types.TargetWatcher, error)
Click to show internal directories.
Click to hide internal directories.