apipb

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Provider_name = map[int32]string{
		0: "UNSET",
		1: "OCI",
		2: "ALICLOUD",
	}
	Provider_value = map[string]int32{
		"UNSET":    0,
		"OCI":      1,
		"ALICLOUD": 2,
	}
)

Enum value maps for Provider.

View Source
var File_cmd_api_apipb_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AliveRequest

type AliveRequest struct {
	Ip         string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Provider   Provider `protobuf:"varint,2,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"`
	InstanceId string   `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AliveRequest) Descriptor deprecated

func (*AliveRequest) Descriptor() ([]byte, []int)

Deprecated: Use AliveRequest.ProtoReflect.Descriptor instead.

func (*AliveRequest) GetInstanceId

func (x *AliveRequest) GetInstanceId() string

func (*AliveRequest) GetIp

func (x *AliveRequest) GetIp() string

func (*AliveRequest) GetProvider

func (x *AliveRequest) GetProvider() Provider

func (*AliveRequest) ProtoMessage

func (*AliveRequest) ProtoMessage()

func (*AliveRequest) ProtoReflect

func (x *AliveRequest) ProtoReflect() protoreflect.Message

func (*AliveRequest) Reset

func (x *AliveRequest) Reset()

func (*AliveRequest) String

func (x *AliveRequest) String() string

type AliveResponse

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

func (*AliveResponse) Descriptor deprecated

func (*AliveResponse) Descriptor() ([]byte, []int)

Deprecated: Use AliveResponse.ProtoReflect.Descriptor instead.

func (*AliveResponse) ProtoMessage

func (*AliveResponse) ProtoMessage()

func (*AliveResponse) ProtoReflect

func (x *AliveResponse) ProtoReflect() protoreflect.Message

func (*AliveResponse) Reset

func (x *AliveResponse) Reset()

func (*AliveResponse) String

func (x *AliveResponse) String() string

type ConfigResponse

type ConfigResponse struct {
	Configs []*ProxyConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigResponse) Descriptor deprecated

func (*ConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.

func (*ConfigResponse) GetConfigs

func (x *ConfigResponse) GetConfigs() []*ProxyConfig

func (*ConfigResponse) ProtoMessage

func (*ConfigResponse) ProtoMessage()

func (*ConfigResponse) ProtoReflect

func (x *ConfigResponse) ProtoReflect() protoreflect.Message

func (*ConfigResponse) Reset

func (x *ConfigResponse) Reset()

func (*ConfigResponse) String

func (x *ConfigResponse) String() string

type InventoryResponse

type InventoryResponse struct {
	Proxies []*InventoryResponse_Proxy `protobuf:"bytes,1,rep,name=proxies,proto3" json:"proxies,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryResponse) Descriptor deprecated

func (*InventoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use InventoryResponse.ProtoReflect.Descriptor instead.

func (*InventoryResponse) GetProxies

func (x *InventoryResponse) GetProxies() []*InventoryResponse_Proxy

func (*InventoryResponse) ProtoMessage

func (*InventoryResponse) ProtoMessage()

func (*InventoryResponse) ProtoReflect

func (x *InventoryResponse) ProtoReflect() protoreflect.Message

func (*InventoryResponse) Reset

func (x *InventoryResponse) Reset()

func (*InventoryResponse) String

func (x *InventoryResponse) String() string

type InventoryResponse_Proxy

type InventoryResponse_Proxy struct {
	Provider Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"`
	Ip       string   `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Assigned bool     `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"`
	LastPing string   `protobuf:"bytes,4,opt,name=last_ping,json=lastPing,proto3" json:"last_ping,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryResponse_Proxy) Descriptor deprecated

func (*InventoryResponse_Proxy) Descriptor() ([]byte, []int)

Deprecated: Use InventoryResponse_Proxy.ProtoReflect.Descriptor instead.

func (*InventoryResponse_Proxy) GetAssigned

func (x *InventoryResponse_Proxy) GetAssigned() bool

func (*InventoryResponse_Proxy) GetIp

func (x *InventoryResponse_Proxy) GetIp() string

func (*InventoryResponse_Proxy) GetLastPing

func (x *InventoryResponse_Proxy) GetLastPing() string

func (*InventoryResponse_Proxy) GetProvider

func (x *InventoryResponse_Proxy) GetProvider() Provider

func (*InventoryResponse_Proxy) ProtoMessage

func (*InventoryResponse_Proxy) ProtoMessage()

func (*InventoryResponse_Proxy) ProtoReflect

func (x *InventoryResponse_Proxy) ProtoReflect() protoreflect.Message

func (*InventoryResponse_Proxy) Reset

func (x *InventoryResponse_Proxy) Reset()

func (*InventoryResponse_Proxy) String

func (x *InventoryResponse_Proxy) String() string

type Provider

type Provider int32
const (
	Provider_UNSET    Provider = 0
	Provider_OCI      Provider = 1
	Provider_ALICLOUD Provider = 2
)

func (Provider) Descriptor

func (Provider) Descriptor() protoreflect.EnumDescriptor

func (Provider) Enum

func (x Provider) Enum() *Provider

func (Provider) EnumDescriptor deprecated

func (Provider) EnumDescriptor() ([]byte, []int)

Deprecated: Use Provider.Descriptor instead.

func (Provider) Number

func (x Provider) Number() protoreflect.EnumNumber

func (Provider) String

func (x Provider) String() string

func (Provider) Type

type ProxyConfig

type ProxyConfig struct {
	Name                              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Addr                              string            `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Cert                              string            `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
	AuthToken                         string            `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	Trusted                           bool              `protobuf:"varint,5,opt,name=trusted,proto3" json:"trusted,omitempty"`
	MaxPreconnect                     int32             `protobuf:"varint,6,opt,name=max_preconnect,json=maxPreconnect,proto3" json:"max_preconnect,omitempty"`
	Bias                              int32             `protobuf:"varint,7,opt,name=bias,proto3" json:"bias,omitempty"`
	PluggableTransport                string            `protobuf:"bytes,8,opt,name=pluggable_transport,json=pluggableTransport,proto3" json:"pluggable_transport,omitempty"`
	PluggableTransportSettings        map[string]string `` /* 229-byte string literal not displayed */
	ENHTTPURL                         string            `protobuf:"bytes,10,opt,name=ENHTTPURL,proto3" json:"ENHTTPURL,omitempty"`
	TLSDesktopOrderedCipherSuiteNames []string          `` /* 167-byte string literal not displayed */
	TLSMobileOrderedCipherSuiteNames  []string          `` /* 164-byte string literal not displayed */
	TLSServerNameIndicator            string            `` /* 130-byte string literal not displayed */
	TLSClientSessionCacheSize         int32             `` /* 142-byte string literal not displayed */
	TLSClientHelloID                  string            `protobuf:"bytes,15,opt,name=TLSClient_helloID,json=TLSClientHelloID,proto3" json:"TLSClient_helloID,omitempty"`
	TLSClientHelloSplitting           bool              `` /* 134-byte string literal not displayed */
	TLSClientSessionState             string            `` /* 127-byte string literal not displayed */
	Location                          *ProxyLocation    `protobuf:"bytes,18,opt,name=location,proto3" json:"location,omitempty"`
	MultipathEndpoint                 string            `protobuf:"bytes,19,opt,name=multipath_endpoint,json=multipathEndpoint,proto3" json:"multipath_endpoint,omitempty"`
	MultiplexedAddr                   string            `protobuf:"bytes,20,opt,name=multiplexed_addr,json=multiplexedAddr,proto3" json:"multiplexed_addr,omitempty"`
	MultiplexedPhysicalConns          int32             `` /* 137-byte string literal not displayed */
	MultiplexedProtocol               string            `protobuf:"bytes,22,opt,name=multiplexed_protocol,json=multiplexedProtocol,proto3" json:"multiplexed_protocol,omitempty"`
	MultiplexedSettings               map[string]string `` /* 207-byte string literal not displayed */
	Track                             string            `protobuf:"bytes,24,opt,name=track,proto3" json:"track,omitempty"`
	Region                            string            `protobuf:"bytes,25,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

ProxyConfig contains all the data for connecting to a given proxy.

func (*ProxyConfig) Descriptor deprecated

func (*ProxyConfig) Descriptor() ([]byte, []int)

Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.

func (*ProxyConfig) GetAddr

func (x *ProxyConfig) GetAddr() string

func (*ProxyConfig) GetAuthToken

func (x *ProxyConfig) GetAuthToken() string

func (*ProxyConfig) GetBias

func (x *ProxyConfig) GetBias() int32

func (*ProxyConfig) GetCert

func (x *ProxyConfig) GetCert() string

func (*ProxyConfig) GetENHTTPURL

func (x *ProxyConfig) GetENHTTPURL() string

func (*ProxyConfig) GetLocation

func (x *ProxyConfig) GetLocation() *ProxyLocation

func (*ProxyConfig) GetMaxPreconnect

func (x *ProxyConfig) GetMaxPreconnect() int32

func (*ProxyConfig) GetMultipathEndpoint

func (x *ProxyConfig) GetMultipathEndpoint() string

func (*ProxyConfig) GetMultiplexedAddr

func (x *ProxyConfig) GetMultiplexedAddr() string

func (*ProxyConfig) GetMultiplexedPhysicalConns

func (x *ProxyConfig) GetMultiplexedPhysicalConns() int32

func (*ProxyConfig) GetMultiplexedProtocol

func (x *ProxyConfig) GetMultiplexedProtocol() string

func (*ProxyConfig) GetMultiplexedSettings

func (x *ProxyConfig) GetMultiplexedSettings() map[string]string

func (*ProxyConfig) GetName

func (x *ProxyConfig) GetName() string

func (*ProxyConfig) GetPluggableTransport

func (x *ProxyConfig) GetPluggableTransport() string

func (*ProxyConfig) GetPluggableTransportSettings

func (x *ProxyConfig) GetPluggableTransportSettings() map[string]string

func (*ProxyConfig) GetRegion

func (x *ProxyConfig) GetRegion() string

func (*ProxyConfig) GetTLSClientHelloID

func (x *ProxyConfig) GetTLSClientHelloID() string

func (*ProxyConfig) GetTLSClientHelloSplitting

func (x *ProxyConfig) GetTLSClientHelloSplitting() bool

func (*ProxyConfig) GetTLSClientSessionCacheSize

func (x *ProxyConfig) GetTLSClientSessionCacheSize() int32

func (*ProxyConfig) GetTLSClientSessionState

func (x *ProxyConfig) GetTLSClientSessionState() string

func (*ProxyConfig) GetTLSDesktopOrderedCipherSuiteNames

func (x *ProxyConfig) GetTLSDesktopOrderedCipherSuiteNames() []string

func (*ProxyConfig) GetTLSMobileOrderedCipherSuiteNames

func (x *ProxyConfig) GetTLSMobileOrderedCipherSuiteNames() []string

func (*ProxyConfig) GetTLSServerNameIndicator

func (x *ProxyConfig) GetTLSServerNameIndicator() string

func (*ProxyConfig) GetTrack

func (x *ProxyConfig) GetTrack() string

func (*ProxyConfig) GetTrusted

func (x *ProxyConfig) GetTrusted() bool

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) ProtoReflect

func (x *ProxyConfig) ProtoReflect() protoreflect.Message

func (*ProxyConfig) Reset

func (x *ProxyConfig) Reset()

func (*ProxyConfig) String

func (x *ProxyConfig) String() string

type ProxyLocation

type ProxyLocation struct {
	City        string  `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"`
	Country     string  `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	CountryCode string  `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	Latitude    float32 `protobuf:"fixed32,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude   float32 `protobuf:"fixed32,5,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

ProxyLocation represents the location info embeded in proxy config.

func (*ProxyLocation) Descriptor deprecated

func (*ProxyLocation) Descriptor() ([]byte, []int)

Deprecated: Use ProxyLocation.ProtoReflect.Descriptor instead.

func (*ProxyLocation) GetCity

func (x *ProxyLocation) GetCity() string

func (*ProxyLocation) GetCountry

func (x *ProxyLocation) GetCountry() string

func (*ProxyLocation) GetCountryCode

func (x *ProxyLocation) GetCountryCode() string

func (*ProxyLocation) GetLatitude

func (x *ProxyLocation) GetLatitude() float32

func (*ProxyLocation) GetLongitude

func (x *ProxyLocation) GetLongitude() float32

func (*ProxyLocation) ProtoMessage

func (*ProxyLocation) ProtoMessage()

func (*ProxyLocation) ProtoReflect

func (x *ProxyLocation) ProtoReflect() protoreflect.Message

func (*ProxyLocation) Reset

func (x *ProxyLocation) Reset()

func (*ProxyLocation) String

func (x *ProxyLocation) String() string

type RegisterRequest

type RegisterRequest struct {
	Ip         string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Provider   Provider `protobuf:"varint,2,opt,name=provider,proto3,enum=Provider" json:"provider,omitempty"`
	InstanceId string   `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Track      string   `protobuf:"bytes,4,opt,name=track,proto3" json:"track,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetInstanceId

func (x *RegisterRequest) GetInstanceId() string

func (*RegisterRequest) GetIp

func (x *RegisterRequest) GetIp() string

func (*RegisterRequest) GetProvider

func (x *RegisterRequest) GetProvider() Provider

func (*RegisterRequest) GetTrack

func (x *RegisterRequest) GetTrack() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

func (x *RegisterRequest) ProtoReflect() protoreflect.Message

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	TrackConfig *TrackConfig `protobuf:"bytes,1,opt,name=track_config,json=trackConfig,proto3" json:"track_config,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

func (*RegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetTrackConfig

func (x *RegisterResponse) GetTrackConfig() *TrackConfig

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

func (x *RegisterResponse) ProtoReflect() protoreflect.Message

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type ResizePoolRequest

type ResizePoolRequest struct {
	Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizePoolRequest) Descriptor deprecated

func (*ResizePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResizePoolRequest.ProtoReflect.Descriptor instead.

func (*ResizePoolRequest) GetTarget

func (x *ResizePoolRequest) GetTarget() int32

func (*ResizePoolRequest) ProtoMessage

func (*ResizePoolRequest) ProtoMessage()

func (*ResizePoolRequest) ProtoReflect

func (x *ResizePoolRequest) ProtoReflect() protoreflect.Message

func (*ResizePoolRequest) Reset

func (x *ResizePoolRequest) Reset()

func (*ResizePoolRequest) String

func (x *ResizePoolRequest) String() string

type ResizePoolResponse

type ResizePoolResponse struct {
	Created   int32 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	Destroyed int32 `protobuf:"varint,2,opt,name=destroyed,proto3" json:"destroyed,omitempty"`
	// contains filtered or unexported fields
}

func (*ResizePoolResponse) Descriptor deprecated

func (*ResizePoolResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResizePoolResponse.ProtoReflect.Descriptor instead.

func (*ResizePoolResponse) GetCreated

func (x *ResizePoolResponse) GetCreated() int32

func (*ResizePoolResponse) GetDestroyed

func (x *ResizePoolResponse) GetDestroyed() int32

func (*ResizePoolResponse) ProtoMessage

func (*ResizePoolResponse) ProtoMessage()

func (*ResizePoolResponse) ProtoReflect

func (x *ResizePoolResponse) ProtoReflect() protoreflect.Message

func (*ResizePoolResponse) Reset

func (x *ResizePoolResponse) Reset()

func (*ResizePoolResponse) String

func (x *ResizePoolResponse) String() string

type TrackConfig

type TrackConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Contextual information required for the proxy to start goes here.
	// contains filtered or unexported fields
}

func (*TrackConfig) Descriptor deprecated

func (*TrackConfig) Descriptor() ([]byte, []int)

Deprecated: Use TrackConfig.ProtoReflect.Descriptor instead.

func (*TrackConfig) GetName

func (x *TrackConfig) GetName() string

func (*TrackConfig) ProtoMessage

func (*TrackConfig) ProtoMessage()

func (*TrackConfig) ProtoReflect

func (x *TrackConfig) ProtoReflect() protoreflect.Message

func (*TrackConfig) Reset

func (x *TrackConfig) Reset()

func (*TrackConfig) String

func (x *TrackConfig) String() string

Jump to

Keyboard shortcuts

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