cloud

package
v1.53.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSink

func NewSink(logger *zap.Logger, apiKey string, url string) (audit.Sink, error)

NewSink is the constructor for a Sink.

Types

type Sink

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

func (*Sink) Close

func (s *Sink) Close() error

Close implements audit.Sink.

func (*Sink) SendAudits

func (s *Sink) SendAudits(ctx context.Context, events []audit.Event) error

SendAudits implements audit.Sink.

func (*Sink) String

func (s *Sink) String() string

String implements audit.Sink.

Jump to

Keyboard shortcuts

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