Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProxiesCmd = &cobra.Command{ Use: "proxies", 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 ¶
func PrintTableNoPad ¶
PrintTableNoPad prints a table without padding
Types ¶
type ProxyCmd ¶
type ProxyCmd struct {
// contains filtered or unexported fields
}
ProxyCmd handles proxy operations independent of cobra.
type ProxyCreateInput ¶
type ProxyCreateInput struct {
Name string
Type string
Protocol string
// Datacenter/ISP config
Country string
// Residential/Mobile config
City string
State string
Zip string
ASN string
OS string
// Mobile specific
Carrier string
// Custom proxy config
Host string
Port int
Username string
Password string
}
type ProxyDeleteInput ¶
type ProxyGetInput ¶
type ProxyGetInput struct {
ID string
}
type ProxyService ¶
type ProxyService interface {
List(ctx context.Context, opts ...option.RequestOption) (res *[]kernel.ProxyListResponse, err error)
Get(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.ProxyGetResponse, err error)
New(ctx context.Context, body kernel.ProxyNewParams, opts ...option.RequestOption) (res *kernel.ProxyNewResponse, err error)
Delete(ctx context.Context, id string, opts ...option.RequestOption) (err error)
}
ProxyService defines the subset of the Kernel SDK proxy client that we use.
Click to show internal directories.
Click to hide internal directories.