Documentation ¶
Index ¶
- type APIDevice
- type APIDevicesApplyInput
- type APIDevicesDeleteInput
- type APIDevicesGetInput
- type APIDevicesGetOutput
- type APIRoleConfigInput
- type APIRoleConfigOutput
- type APISubnet
- type APISubnetsDeleteInput
- type APISubnetsGetInput
- type APISubnetsGetOutput
- type APISubnetsPutInput
- type APISubnetsStartInput
- type Device
- type Role
- func (r *Role) APIDevicesApply() usecase.Interactor
- func (r *Role) APIDevicesDelete() usecase.Interactor
- func (r *Role) APIDevicesGet() usecase.Interactor
- func (r *Role) APIRoleConfigGet() usecase.Interactor
- func (r *Role) APIRoleConfigPut() usecase.Interactor
- func (r *Role) APISubnetsDelete() usecase.Interactor
- func (r *Role) APISubnetsGet() usecase.Interactor
- func (r *Role) APISubnetsPut() usecase.Interactor
- func (r *Role) APISubnetsStart() usecase.Interactor
- func (r *Role) NewSubnet(name string) *Subnet
- func (r *Role) Start(ctx context.Context, config []byte) error
- func (r *Role) Stop()
- type RoleConfig
- type Subnet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDevicesApplyInput ¶
type APIDevicesDeleteInput ¶
type APIDevicesDeleteInput struct {
Name string `query:"identifier"`
}
type APIDevicesGetInput ¶ added in v0.4.6
type APIDevicesGetInput struct {
Identifier string `query:"identifier" description:"Optionally get device by identifier"`
}
type APIDevicesGetOutput ¶
type APIDevicesGetOutput struct {
Devices []APIDevice `json:"devices"`
}
type APIRoleConfigInput ¶
type APIRoleConfigInput struct {
Config RoleConfig `json:"config" required:"true"`
}
type APIRoleConfigOutput ¶
type APIRoleConfigOutput struct {
Config RoleConfig `json:"config" required:"true"`
}
type APISubnetsDeleteInput ¶
type APISubnetsDeleteInput struct {
Name string `query:"identifier"`
}
type APISubnetsGetInput ¶ added in v0.4.6
type APISubnetsGetInput struct {
Name string `query:"name" description:"Optionally get Subnet by name"`
}
type APISubnetsGetOutput ¶
type APISubnetsGetOutput struct {
Subnets []APISubnet `json:"subnets"`
}
type APISubnetsPutInput ¶
type APISubnetsStartInput ¶
type APISubnetsStartInput struct {
Name string `query:"identifier" required:"true"`
}
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
func (*Role) APIDevicesApply ¶
func (r *Role) APIDevicesApply() usecase.Interactor
func (*Role) APIDevicesDelete ¶
func (r *Role) APIDevicesDelete() usecase.Interactor
func (*Role) APIDevicesGet ¶
func (r *Role) APIDevicesGet() usecase.Interactor
func (*Role) APIRoleConfigGet ¶
func (r *Role) APIRoleConfigGet() usecase.Interactor
func (*Role) APIRoleConfigPut ¶
func (r *Role) APIRoleConfigPut() usecase.Interactor
func (*Role) APISubnetsDelete ¶
func (r *Role) APISubnetsDelete() usecase.Interactor
func (*Role) APISubnetsGet ¶
func (r *Role) APISubnetsGet() usecase.Interactor
func (*Role) APISubnetsPut ¶
func (r *Role) APISubnetsPut() usecase.Interactor
func (*Role) APISubnetsStart ¶
func (r *Role) APISubnetsStart() usecase.Interactor
type RoleConfig ¶
type RoleConfig struct {
Enabled bool `json:"enabled"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.