Documentation ¶
Index ¶
- func New(name string, namespace string, configMapName string, nspServiceName string, ...) (types.Trench, error)
- type Trench
- func (t *Trench) AddConduit(ctx context.Context, conduit types.Conduit) error
- func (t *Trench) Delete(ctx context.Context) error
- func (t *Trench) Equals(trench *nspAPI.Trench) bool
- func (t *Trench) GetConduits(conduit *nspAPI.Conduit) []types.Conduit
- func (t *Trench) GetName() string
- func (t *Trench) GetNamespace() string
- func (t *Trench) GetTargetRegistryClient() nspAPI.TargetRegistryClient
- func (t *Trench) RemoveConduit(ctx context.Context, conduit types.Conduit) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trench ¶
type Trench struct { Name string NSPClient nspAPI.TargetRegistryClient Namespace string // contains filtered or unexported fields }
func (*Trench) AddConduit ¶
func (*Trench) GetNamespace ¶
func (*Trench) GetTargetRegistryClient ¶
func (t *Trench) GetTargetRegistryClient() nspAPI.TargetRegistryClient
Click to show internal directories.
Click to hide internal directories.