client

package module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 8 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) AddMDNSAdv added in v0.1.0

func (c *Client) AddMDNSAdv(ctx context.Context, serviceGroup model.ServiceGroup) error

func (*Client) DeleteMDNSAdv added in v0.1.0

func (c *Client) DeleteMDNSAdv(ctx context.Context, id 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) GetMDNSAdv added in v0.1.0

func (c *Client) GetMDNSAdv(ctx context.Context, id string) (model.ServiceGroup, error)

func (*Client) GetSrvInfo added in v0.3.4

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

func (*Client) ListHostResources added in v0.1.0

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

func (*Client) ListMDNSAdv added in v0.1.0

func (c *Client) ListMDNSAdv(ctx context.Context, filter model.ServiceGroupFilter) ([]model.ServiceGroup, error)

func (*Client) UpdateMDNSAdv added in v0.1.0

func (c *Client) UpdateMDNSAdv(ctx context.Context, serviceGroup model.ServiceGroup) error

Jump to

Keyboard shortcuts

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