Versions in this module Expand all Collapse all v2 v2.0.0 Apr 23, 2023 Changes in this version + const CtrlServerPort + func DisableRuntimeErrorHandler() + func ForwardCtrlServer(ctx context.Context, ns, managerSvc string) (context.CancelFunc, uint16, error) + func ForwardSvcPorts(ctx context.Context, ns, svc string, port uint16) (context.CancelFunc, uint16, error) + type CommonRestClientGetter struct + func NewCommonRestClientGetter() *CommonRestClientGetter + func (it *CommonRestClientGetter) ToRESTConfig() (*rest.Config, error) + type CtrlClient struct + QueryClient *graphql.Client + SubscriptionClient *graphql.SubscriptionClient + func NewCtrlClient(url string) *CtrlClient + func (c *CtrlClient) CleanIptables(ctx context.Context, namespace, name string, chains []string) ([]string, error) + func (c *CtrlClient) CleanTcs(ctx context.Context, namespace, name string, devices []string) ([]string, error) + func (c *CtrlClient) KillProcesses(ctx context.Context, namespace, name string, pids []string) ([]string, error) + func (c *CtrlClient) ListNamespace(ctx context.Context) ([]string, error)