testing

package
Version: v0.0.0-...-d19fc40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testing provides a fake logadmin client for test purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestClientCreator

func TestClientCreator(value interface{}) glogadmin.CreateFn

TestClientCreator returns a logadmin.CreateFn used to construct the test logadmin client.

Types

type TestClientConfiguration

type TestClientConfiguration struct {
	CreateClientErr error
	CloseErr        error
	CreateSinkErr   error
	DeleteSinkErr   error
	SinkErr         error
}

TestClientConfiguration is the data used to configure the fake logadmin client.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL