Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	AlertType    string `json:"alertType"`
	ResourceName string `json:"resourceName"`
	Header       string `json:"header"`
	Msg          string `json:"msg"`
	RFC3339Time  string `json:"rfc3339Time"`
}

type AlertID

type AlertID string

type Client

type Client interface {
	SendAlert(ctx context.Context, alert Alert) (AlertID, error)
}

func ProvideClient

func ProvideClient() Client

func ProvideFakeClient

func ProvideFakeClient() Client

Jump to

Keyboard shortcuts

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