Documentation ¶
Index ¶
- type ForwardCreateFromServerOptions
- type ForwardCreateOptions
- type ForwardDeleteOptions
- type ForwardHeartbeatOptions
- type ForwardListOptions
- type ForwardShowOptions
- type ForwardUpdateOptions
- type ProxyAgentCreateOptions
- type ProxyAgentDeleteOptions
- type ProxyAgentListOptions
- type ProxyAgentPurgeForwardsOptions
- type ProxyAgentShowOptions
- type ProxyAgentUpdateOptions
- type ProxyEndpointCreateFromServerOptions
- type ProxyEndpointCreateOptions
- type ProxyEndpointDeleteOptions
- type ProxyEndpointListOptions
- type ProxyEndpointShowOptions
- type ProxyEndpointUpdateOptions
- type ProxyMatchCreateOptions
- type ProxyMatchDeleteOptions
- type ProxyMatchListOptions
- type ProxyMatchShowOptions
- type ProxyMatchUpdateOptions
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 ¶
func (opts *ForwardCreateFromServerOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ForwardCreateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ForwardHeartbeatOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ForwardListOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ForwardUpdateOptions) Params() (jsonutils.JSONObject, error)
type ProxyAgentCreateOptions ¶
type ProxyAgentCreateOptions struct { NAME string BindAddr string `json:"bind_addr"` AdvertiseAddr string `json:"advertise_addr"` }
func (*ProxyAgentCreateOptions) Params ¶
func (o *ProxyAgentCreateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ProxyAgentListOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (o *ProxyAgentUpdateOptions) Params() (jsonutils.JSONObject, error)
type ProxyEndpointCreateFromServerOptions ¶
func (*ProxyEndpointCreateFromServerOptions) Params ¶
func (opts *ProxyEndpointCreateFromServerOptions) Params() (jsonutils.JSONObject, error)
type ProxyEndpointCreateOptions ¶
type ProxyEndpointCreateOptions struct { NAME string User string Host string Port int `json:",omitzero"` PrivateKey string IntranetIpAddr string `required:"true"` }
func (*ProxyEndpointCreateOptions) Params ¶
func (opts *ProxyEndpointCreateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProxyEndpointListOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProxyEndpointUpdateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProxyMatchCreateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProxyMatchUpdateOptions) Params() (jsonutils.JSONObject, error)
Click to show internal directories.
Click to hide internal directories.