client

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLoadNotificationPlugin = errors.New("failed to load notification plugin")
)

Functions

This section is empty.

Types

type Client

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

func New

func New(
	ctx context.Context,
	svcRegistry *cmkpluginregistry.Registry,
) (*Client, error)

func (*Client) CreateNotification

func (c *Client) CreateNotification(ctx context.Context, data Data) error

type Data

type Data struct {
	Recipients []string
	Subject    string
	Body       string
}

Jump to

Keyboard shortcuts

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