cloudproxy

package
v0.3.10-0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

View Source
const (
	PM_SCOPE_VPC     = "vpc"
	PM_SCOPE_NETWORK = "network"
)
View Source
const (
	FORWARD_TYPE_LOCAL  = "local"
	FORWARD_TYPE_REMOTE = "remote"
)
View Source
const (
	BindPortMin = 20000
	BindPortMax = 60000
)

Variables

Functions

This section is empty.

Types

type ForwardCreateFromServerInput

type ForwardCreateFromServerInput struct {
	ServerId string

	Type        string
	BindPortReq int `json:",omitzero"`
	RemotePort  int `json:",omitzero"`

	LastSeenTimeout int `json:",omitzero"`
}

type ForwardCreateInput

type ForwardCreateInput struct {
	apis.VirtualResourceCreateInput

	ProxyEndpointId string
	ProxyAgentId    string
	Type            string
	BindPortReq     int `json:",omitzero"`
	RemoteAddr      string
	RemotePort      string

	LastSeenTimeout int `json:",omitzero"`

	Opaque string
}

type ForwardDetails

type ForwardDetails struct {
	ProxyEndpoint   string
	ProxyEndpointId string
	ProxyAgent      string
	ProxyAgentId    string

	Type        string
	BindPortReq int
	BindPort    int
	RemoteAddr  string
	RemotePort  int

	LastSeen        time.Time
	LastSeenTimeout int

	Opaque string

	BindAddr string
}

type ForwardHeartbeatInput

type ForwardHeartbeatInput struct{}

type ForwardListInput

type ForwardListInput struct {
	ProxyAgentId    string
	ProxyEndpointId string

	Type        string
	RemoteAddr  string
	RemotePort  *int
	BindPortReq *int

	Opaque string
}

type ProxyAgentDetails

type ProxyAgentDetails struct {
	apis.StandaloneResourceDetails

	Id string `json:"id"`

	BindAddr      string `json:"bind_addr"`
	AdvertiseAddr string `json:"advertise_addr"`
}

type ProxyAgentUpdateInput

type ProxyAgentUpdateInput struct {
	apis.StandaloneResourceBaseUpdateInput

	BindAddr      string `json:"bind_addr"`
	AdvertiseAddr string `json:"advertise_addr"`
}

type ProxyEndpointCreateFromServerInput

type ProxyEndpointCreateFromServerInput struct {
	Name         string
	GenerateName string

	ServerId string
}

type ProxyEndpointCreateInput

type ProxyEndpointCreateInput struct {
	apis.VirtualResourceCreateInput

	User       string
	Host       string
	Port       int `json:",omitzero"`
	PrivateKey string

	IntranetIpAddr string
}

type ProxyEndpointListInput

type ProxyEndpointListInput struct {
	apis.VirtualResourceListInput

	VpcId     string
	NetworkId string
}

type ProxyEndpointUpdateInput

type ProxyEndpointUpdateInput struct {
	apis.VirtualResourceBaseUpdateInput

	User       string `json:"user"`
	Host       string `json:"host"`
	Port       *int   `json:"port"`
	PrivateKey string `json:"private_key"`
}

type ProxyMatchListInput

type ProxyMatchListInput struct {
	apis.VirtualResourceListInput

	// 代理节点(ID或Name)
	ProxyEndpointId string `json:"proxy_endpoint_id"`
	// swagger:ignore
	// Deprecated
	// Filter by proxy endpoint Id
	ProxyEndpoint string `json:"proxy_endpoint" yunion-deprecated-by:"proxy_endpoint_id"`
}

Jump to

Keyboard shortcuts

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