handler

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlacklistHandler added in v1.2.0

type BlacklistHandler interface {
	List(ctx context.Context) ([]string, error)
	Add(ctx context.Context, v string) error
	Remove(ctx context.Context, v string) error
}

type HostApplicationHandler added in v1.1.0

type HostApplicationHandler interface {
	List(ctx context.Context) ([]model.HostApplication, error)
	Add(ctx context.Context, appResBase model.HostApplicationBase) (string, error)
	Remove(ctx context.Context, aID string) error
}

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 MDNSDiscoveryHandler added in v1.4.0

type MDNSDiscoveryHandler interface {
	Query(ctx context.Context, service, domain string, window time.Duration) ([]model.MDNSEntry, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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