Documentation ¶
Index ¶
- type MeshNetworkActionRealizeOptions
- type MeshNetworkCreateOptions
- type MeshNetworkDeleteOptions
- type MeshNetworkGetOptions
- type MeshNetworkListOptions
- type MeshNetworkUpdateOptions
- type RouteCreateOptions
- type RouteDeleteOptions
- type RouteGetOptions
- type RouteListOptions
- type RouteUpdateOptions
- type RouterActionJoinMeshNetworkOptions
- type RouterActionLeaveMeshNetworkOptions
- type RouterActionRealizeOptions
- type RouterActionRegisterIfnameOptions
- type RouterActionUnregisterIfnameOptions
- type RouterCreateOptions
- type RouterDeleteOptions
- type RouterGetOptions
- type RouterListOptions
- type RouterUpdateOptions
- type RuleCreateOptions
- type RuleDeleteOptions
- type RuleGetOptions
- type RuleListOptions
- type RuleUpdateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeshNetworkActionRealizeOptions ¶
type MeshNetworkActionRealizeOptions struct {
ID string `json:"-"`
}
type MeshNetworkCreateOptions ¶
type MeshNetworkCreateOptions struct {
NAME string
}
type MeshNetworkDeleteOptions ¶
type MeshNetworkDeleteOptions struct {
ID string `json:"-"`
}
type MeshNetworkGetOptions ¶
type MeshNetworkGetOptions struct {
ID string `json:"-"`
}
type MeshNetworkListOptions ¶
type MeshNetworkListOptions struct {
options.BaseListOptions
}
type RouteCreateOptions ¶
type RouteDeleteOptions ¶
type RouteDeleteOptions struct {
ID string `json:"-"`
}
type RouteGetOptions ¶
type RouteGetOptions struct {
ID string `json:"-"`
}
type RouteListOptions ¶
type RouteListOptions struct { options.BaseListOptions Iface string Network string Gateway string }
type RouteUpdateOptions ¶
type RouterActionRealizeOptions ¶
type RouterActionRealizeOptions struct {
ID string `json:"-"`
}
type RouterCreateOptions ¶
type RouterCreateOptions struct { NAME string User string Host string Port int PrivateKey string RealizeWgIfaces string `choices:"on|off" default:"on" help:"apply wg ifaces config on realization"` RealizeRoutes string `choices:"on|off" default:"on" help:"apply routes config on realization"` RealizeRules string `choices:"on|off" default:"on" help:"apply firewall rules on realization"` }
func (*RouterCreateOptions) Params ¶
func (opts *RouterCreateOptions) Params() (jsonutils.JSONObject, error)
type RouterDeleteOptions ¶
type RouterDeleteOptions struct {
ID string `json:"-"`
}
type RouterGetOptions ¶
type RouterGetOptions struct {
ID string `json:"-"`
}
type RouterListOptions ¶
type RouterListOptions struct {
options.BaseListOptions
}
type RouterUpdateOptions ¶
type RouterUpdateOptions struct { ID string `json:"-"` Name string User string Host string Port int `json:",omitzero"` PrivateKey string RealizeWgIfaces string `json:",omitzero" choices:"on|off" help:"apply wg ifaces config on realization"` RealizeRoutes string `json:",omitzero" choices:"on|off" help:"apply routes config on realization"` RealizeRules string `json:",omitzero" choices:"on|off" help:"apply firewall rules on realization"` }
func (*RouterUpdateOptions) Params ¶
func (opts *RouterUpdateOptions) Params() (jsonutils.JSONObject, error)
type RuleCreateOptions ¶
type RuleDeleteOptions ¶
type RuleDeleteOptions struct {
ID string `json:"-"`
}
type RuleGetOptions ¶
type RuleGetOptions struct {
ID string `json:"-"`
}
type RuleListOptions ¶
Click to show internal directories.
Click to hide internal directories.