list

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2024 Paulo Almeida <almeidapaulopt@gmail.com> SPDX-License-Identifier: MIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client struct implements TargetProvider

func New

func New(log zerolog.Logger, name string, provider *config.FilesTargetProviderConfig) (*Client, error)

New function returns a new Files TargetProvider

func (*Client) AddTarget

func (c *Client) AddTarget(id string) (*proxyconfig.Config, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) DeleteProxy

func (c *Client) DeleteProxy(id string) error

func (*Client) GetDefaultProxyProviderName

func (c *Client) GetDefaultProxyProviderName() string

func (*Client) WatchEvents

func (c *Client) WatchEvents(_ context.Context, eventsChan chan targetproviders.TargetEvent, errChan chan error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL