Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterceptModuleProcessor ¶
type InterceptModuleProcessor interface {
DeployDefaultModuleAndSidecarPair(client *client.Client, pair *modulesvc.ModulePair) error
DeployCustomSidecarForInterception(client *client.Client, pair *modulesvc.ModulePair) error
}
TODO Add testcontainers tests InterceptModuleProcessor defines the interface for module interception operations
type InterceptModuleSvc ¶
type InterceptModuleSvc struct {
Action *action.Action
ModuleSvc modulesvc.ModuleProcessor
ManagementSvc managementsvc.ManagementProcessor
}
InterceptModuleSvc provides functionality for intercepting and redirecting module traffic
func New ¶
func New(action *action.Action, ModuleSvc modulesvc.ModuleProcessor, managementSvc managementsvc.ManagementProcessor) *InterceptModuleSvc
New creates a new InterceptSvc instance
func (*InterceptModuleSvc) DeployCustomSidecarForInterception ¶
func (is *InterceptModuleSvc) DeployCustomSidecarForInterception(client *client.Client, pair *modulesvc.ModulePair) error
func (*InterceptModuleSvc) DeployDefaultModuleAndSidecarPair ¶
func (is *InterceptModuleSvc) DeployDefaultModuleAndSidecarPair(client *client.Client, pair *modulesvc.ModulePair) error
Click to show internal directories.
Click to hide internal directories.