Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockClient ¶
func NewMockClient(t testing.TB) (*APIClient, *MockServers)
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func (*APIClient) AuditLogs ¶
func (a *APIClient) AuditLogs() protoapi.AuditLogsClient
func (*APIClient) Reconcilers ¶
func (a *APIClient) Reconcilers() protoapi.ReconcilersClient
func (*APIClient) Teams ¶
func (a *APIClient) Teams() protoapi.TeamsClient
func (*APIClient) Users ¶
func (a *APIClient) Users() protoapi.UsersClient
type MockServers ¶
type MockServers struct { AuditLogs *protoapi.MockAuditLogsServer Reconcilers *protoapi.MockReconcilersServer Teams *protoapi.MockTeamsServer Users *protoapi.MockUsersServer }
type TestingHelpers ¶
func (*TestingHelpers) Errorf ¶
func (t *TestingHelpers) Errorf(format string, args ...interface{})
func (*TestingHelpers) Fail ¶
func (t *TestingHelpers) Fail()
func (*TestingHelpers) FailNow ¶
func (t *TestingHelpers) FailNow()
func (*TestingHelpers) Logf ¶
func (t *TestingHelpers) Logf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.