telegrafs

package
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	clients.CLI
	api.TelegrafsApi
	api.OrganizationsApi
}

func (Client) Create

func (c Client) Create(ctx context.Context, params *CreateParams) error

func (Client) List

func (c Client) List(ctx context.Context, params *ListParams) error

func (Client) Remove

func (c Client) Remove(ctx context.Context, params *RemoveParams) error

func (Client) Update

func (c Client) Update(ctx context.Context, params *UpdateParams) error

type CreateParams

type CreateParams struct {
	clients.OrgParams
	Desc   string
	Config string
	Name   string
}

type ListParams

type ListParams struct {
	clients.OrgParams
	Id string
}

type RemoveParams

type RemoveParams struct {
	Ids []string
}

type UpdateParams

type UpdateParams struct {
	Desc   string
	Config string
	Name   string
	Id     string
}

Jump to

Keyboard shortcuts

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