...

Package podmanportforward

Overview ▾

type PFClient

type PFClient struct {
    // contains filtered or unexported fields
}

func NewPFClient

func NewPFClient(execClient exec.Client) *PFClient

func (*PFClient) GetForwardedPorts

func (o *PFClient) GetForwardedPorts() map[string][]v1alpha2.Endpoint

func (*PFClient) StartPortForwarding

func (o *PFClient) StartPortForwarding(
    ctx context.Context,
    devFileObj parser.DevfileObj,
    componentName string,
    debug bool,
    randomPorts bool,
    out io.Writer,
    errOut io.Writer,
    definedPorts []api.ForwardedPort,
    customAddress string,
) error

func (*PFClient) StopPortForwarding

func (o *PFClient) StopPortForwarding(ctx context.Context, componentName string)