Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
ListDevices(ctx context.Context) ([]models.Device, error)
GetDevice(ctx context.Context, uid models.UID) (*models.Device, error)
DeleteDevice(ctx context.Context, uid models.UID) error
RenameDevice(ctx context.Context, uid models.UID, name string) error
LookupDevice(ctx context.Context, namespace, name string) (*models.Device, error)
UpdateDeviceStatus(ctx context.Context, uid models.UID, online bool) error
}
func NewService ¶
Click to show internal directories.
Click to hide internal directories.