proxies

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProxiesCmd = &cobra.Command{
	Use:     "proxies",
	Aliases: []string{"proxy"},
	Short:   "Manage proxy configurations",
	Long:    "Commands for managing proxy configurations for browser sessions",
	Run: func(cmd *cobra.Command, args []string) {

		_ = cmd.Help()
	},
}

ProxiesCmd is the parent command for proxy operations

Functions

This section is empty.

Types

type ProxyCheckInput added in v0.14.0

type ProxyCheckInput struct {
	ID     string
	URL    string
	Output string
}

type ProxyCmd

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

ProxyCmd handles proxy operations independent of cobra.

func (ProxyCmd) Check added in v0.14.0

func (p ProxyCmd) Check(ctx context.Context, in ProxyCheckInput) error

func (ProxyCmd) Create

func (p ProxyCmd) Create(ctx context.Context, in ProxyCreateInput) error

func (ProxyCmd) Delete

func (p ProxyCmd) Delete(ctx context.Context, in ProxyDeleteInput) error

func (ProxyCmd) Get

func (p ProxyCmd) Get(ctx context.Context, in ProxyGetInput) error

func (ProxyCmd) List

func (p ProxyCmd) List(ctx context.Context, in ProxyListInput) error

func (ProxyCmd) Update added in v0.25.0

func (p ProxyCmd) Update(ctx context.Context, in ProxyUpdateInput) error

type ProxyCreateInput

type ProxyCreateInput struct {
	Name     string
	Type     string
	Protocol string
	// Hostnames that should bypass the parent proxy and connect directly.
	BypassHosts []string
	// ISP config
	Country string
	// Residential/Mobile config
	City  string
	State string
	Zip   string
	ASN   string
	OS    string
	// Custom proxy config
	Host         string
	Port         int
	Username     string
	Password     string
	CaBundleFile string
	Output       string
}

type ProxyDeleteInput

type ProxyDeleteInput struct {
	ID          string
	SkipConfirm bool
}

type ProxyGetInput

type ProxyGetInput struct {
	ID     string
	Output string
}

type ProxyListInput

type ProxyListInput struct {
	Name   string
	Query  string
	Limit  int
	Offset int
	Output string
}

Input types for proxy operations

type ProxyService

ProxyService defines the subset of the Kernel SDK proxy client that we use.

type ProxyUpdateInput added in v0.25.0

type ProxyUpdateInput struct {
	ID     string
	Name   string
	Output string
}

Jump to

Keyboard shortcuts

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