cloudproxy

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardCreateFromServerOptions

type ForwardCreateFromServerOptions struct {
	ServerId string `required:"true"`

	Type        string `choices:"local|remote" required:"true"`
	BindPortReq int    `json:",omitzero"`
	RemotePort  string `required:"true"`

	LastSeenTimeout int `json:",omitzero"`

	Opaque string
}

func (*ForwardCreateFromServerOptions) Params

type ForwardCreateOptions

type ForwardCreateOptions struct {
	NAME string

	ProxyEndpointId string `required:"true"`
	ProxyAgentId    string
	BindPortReq     *int

	Type       string `choices:"local|remote" required:"true"`
	RemoteAddr string `required:"true"`
	RemotePort int    `required:"true"`

	LastSeenTimeout int `json:",omitzero"`

	Opaque string
}

func (*ForwardCreateOptions) Params

type ForwardDeleteOptions

type ForwardDeleteOptions struct {
	options.BaseIdOptions
}

type ForwardHeartbeatOptions

type ForwardHeartbeatOptions struct {
	ID string `json:"-"`
}

func (*ForwardHeartbeatOptions) GetId

func (o *ForwardHeartbeatOptions) GetId() string

func (*ForwardHeartbeatOptions) Params

type ForwardListOptions

type ForwardListOptions struct {
	options.BaseListOptions

	ProxyEndpointId string
	ProxyAgentId    string

	Type        string `choices:"local|remote"`
	RemoteAddr  string
	RemotePort  *int
	BindPortReq *int

	Opaque string
}

func (*ForwardListOptions) Params

type ForwardShowOptions

type ForwardShowOptions struct {
	options.BaseShowOptions
}

type ForwardUpdateOptions

type ForwardUpdateOptions struct {
	ID   string `json:"-"`
	Name string

	ProxyEndpointId string
	ProxyAgentId    string

	Type          string `choices:"local|remote"`
	RemoteAddr    string
	RemotePortReq *int
	BindPortReq   *int

	LastSeenTimeout int `json:",omitzero"`

	Opaque string
}

func (*ForwardUpdateOptions) GetId

func (o *ForwardUpdateOptions) GetId() string

func (*ForwardUpdateOptions) Params

type ProxyAgentCreateOptions

type ProxyAgentCreateOptions struct {
	NAME string

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

func (*ProxyAgentCreateOptions) Params

type ProxyAgentDeleteOptions

type ProxyAgentDeleteOptions struct {
	options.BaseIdOptions
}

type ProxyAgentListOptions

type ProxyAgentListOptions struct {
	options.BaseListOptions

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

func (*ProxyAgentListOptions) Params

type ProxyAgentPurgeForwardsOptions

type ProxyAgentPurgeForwardsOptions struct {
	options.BaseIdOptions
}

type ProxyAgentShowOptions

type ProxyAgentShowOptions struct {
	options.BaseShowOptions
}

type ProxyAgentUpdateOptions

type ProxyAgentUpdateOptions struct {
	ID   string `help:"ID or Name of resource to update"`
	Name string `help:"Name of resource to update"`

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

func (*ProxyAgentUpdateOptions) GetId

func (o *ProxyAgentUpdateOptions) GetId() string

func (*ProxyAgentUpdateOptions) Params

type ProxyEndpointCreateFromServerOptions

type ProxyEndpointCreateFromServerOptions struct {
	Name string

	ServerId string `required:"true"`
}

func (*ProxyEndpointCreateFromServerOptions) Params

type ProxyEndpointCreateOptions

type ProxyEndpointCreateOptions struct {
	NAME string

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

	IntranetIpAddr string `required:"true"`
}

func (*ProxyEndpointCreateOptions) Params

type ProxyEndpointDeleteOptions

type ProxyEndpointDeleteOptions struct {
	options.BaseShowOptions
}

type ProxyEndpointListOptions

type ProxyEndpointListOptions struct {
	options.BaseListOptions

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

	VpcId     string
	NetworkId string
}

func (*ProxyEndpointListOptions) Params

type ProxyEndpointShowOptions

type ProxyEndpointShowOptions struct {
	options.BaseShowOptions
}

type ProxyEndpointUpdateOptions

type ProxyEndpointUpdateOptions struct {
	ID   string `json:"-"`
	Name string

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

func (*ProxyEndpointUpdateOptions) GetId

func (opts *ProxyEndpointUpdateOptions) GetId() string

func (*ProxyEndpointUpdateOptions) Params

type ProxyMatchCreateOptions

type ProxyMatchCreateOptions struct {
	NAME string

	ProxyEndpointId string `required:"true"`
	MatchScope      string `required:"true" choices:"vpc|network"`
	MatchValue      string `required:"true"`
}

func (*ProxyMatchCreateOptions) Params

type ProxyMatchDeleteOptions

type ProxyMatchDeleteOptions struct {
	options.BaseShowOptions
}

type ProxyMatchListOptions

type ProxyMatchListOptions struct {
	options.BaseListOptions

	ProxyEndpointId string
	MatchScope      string `choices:"vpc|network"`
	MatchValue      string
}

func (*ProxyMatchListOptions) Params

func (opts *ProxyMatchListOptions) Params() (jsonutils.JSONObject, error)

type ProxyMatchShowOptions

type ProxyMatchShowOptions struct {
	options.BaseShowOptions
}

type ProxyMatchUpdateOptions

type ProxyMatchUpdateOptions struct {
	ID   string `json:"-"`
	Name string

	ProxyEndpointId string
	MatchScope      string `choices:"vpc|network"`
	MatchValue      string
}

func (*ProxyMatchUpdateOptions) GetId

func (opts *ProxyMatchUpdateOptions) GetId() string

func (*ProxyMatchUpdateOptions) Params

Jump to

Keyboard shortcuts

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