client

package module
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(httpClient base_client.HTTPClient, baseUrl string) *Client

func (*Client) AddHostApplication added in v1.1.0

func (c *Client) AddHostApplication(ctx context.Context, appResBase model.HostApplicationBase) (string, error)

func (*Client) GetHostInfo

func (c *Client) GetHostInfo(ctx context.Context) (model.HostInfo, error)

func (*Client) GetHostNet

func (c *Client) GetHostNet(ctx context.Context) (model.HostNet, error)

func (*Client) GetHostResource added in v0.1.0

func (c *Client) GetHostResource(ctx context.Context, id string) (model.HostResource, error)

func (*Client) GetNetItfBlacklist added in v1.2.0

func (c *Client) GetNetItfBlacklist(ctx context.Context) ([]string, error)

func (*Client) GetNetRngBlacklist added in v1.2.0

func (c *Client) GetNetRngBlacklist(ctx context.Context) ([]string, error)

func (*Client) GetSrvInfo added in v0.3.4

func (c *Client) GetSrvInfo(ctx context.Context) srv_info_lib.SrvInfo

func (*Client) ListHostApplications added in v1.1.0

func (c *Client) ListHostApplications(ctx context.Context) ([]model.HostApplication, error)

func (*Client) ListHostResources added in v0.1.0

func (c *Client) ListHostResources(ctx context.Context, filter model.HostResourceFilter) ([]model.HostResource, error)

func (*Client) MDNSQueryService added in v1.3.0

func (c *Client) MDNSQueryService(ctx context.Context, service, domain string, timeWindow time.Duration) ([]model.MDNSEntry, error)

func (*Client) NetItfBlacklistAdd added in v1.2.0

func (c *Client) NetItfBlacklistAdd(ctx context.Context, v string) error

func (*Client) NetItfBlacklistRemove added in v1.2.0

func (c *Client) NetItfBlacklistRemove(ctx context.Context, v string) error

func (*Client) NetRngBlacklistAdd added in v1.2.0

func (c *Client) NetRngBlacklistAdd(ctx context.Context, v string) error

func (*Client) NetRngBlacklistRemove added in v1.2.0

func (c *Client) NetRngBlacklistRemove(ctx context.Context, v string) error

func (*Client) RemoveHostApplication added in v1.1.0

func (c *Client) RemoveHostApplication(ctx context.Context, aID string) error

Jump to

Keyboard shortcuts

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