tests

package
v0.0.0-...-8353e37 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCfg

func GenerateCfg(t *testing.T)

GenerateCfg creates a configuration file with the default values

Types

type CoreClientMock

type CoreClientMock struct {
	mock.Mock
}

CoreClientMock is a mock for the DRLM core gRPC client

func (*CoreClientMock) AgentAdd

AgentAdd mocks the AgentAdd gRPC method

func (*CoreClientMock) AgentDelete

AgentDelete mocks the AgentDelete gRPC method

func (*CoreClientMock) AgentGet

AgentGet mocks the AgentGet gRPC method

func (*CoreClientMock) AgentInstall

AgentInstall mocks the AgentInstall gRPC method AgentInstall(ctx context.Context, opts ...grpc.CallOption) (DRLM_AgentInstallClient, error)

func (*CoreClientMock) AgentList

AgentList mocks the AgentList gRPC method

func (*CoreClientMock) JobCancel

JobCancel mocks the JobCancel gRPC method

func (*CoreClientMock) JobList

JobList mocks the JobList gRPC method

func (*CoreClientMock) JobNotify

JobNotify mocks the JobNotify gRPC method

func (*CoreClientMock) JobSchedule

JobSchedule mocks the JobSchedule gRPC method

func (*CoreClientMock) UserAdd

UserAdd mocks the UserAdd gRPC method

func (*CoreClientMock) UserDelete

UserDelete mocks the UserDelete gRPC method

func (*CoreClientMock) UserList

UserList mocks the UserList gRPC method

func (*CoreClientMock) UserLogin

UserLogin mocks the UserLogin gRPC method

func (*CoreClientMock) UserTokenRenew

UserTokenRenew mocks the UserTokenRenew gRPC method

Jump to

Keyboard shortcuts

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