testing

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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.

Jump to

Keyboard shortcuts

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