handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostInfoHandler

type HostInfoHandler interface {
	GetNet(ctx context.Context) (model.HostNet, error)
	GetCPU(ctx context.Context) error
	GetRAM(ctx context.Context) error
	GetOS(ctx context.Context) error
}

type HostResourceHandler added in v0.1.0

type HostResourceHandler interface {
	List(ctx context.Context, filter model.HostResourceFilter) ([]model.HostResource, error)
	Get(ctx context.Context, rID string) (model.HostResource, error)
}

type MDNSAdvHandler added in v0.1.0

type MDNSAdvHandler interface {
	List(ctx context.Context, filter model.ServiceGroupFilter) ([]model.ServiceGroup, error)
	Add(ctx context.Context, sg model.ServiceGroup) error
	Get(ctx context.Context, id string) (model.ServiceGroup, error)
	Update(ctx context.Context, sg model.ServiceGroup) error
	Delete(ctx context.Context, id string) error
}

Directories

Path Synopsis
mdns_hdl

Jump to

Keyboard shortcuts

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