Documentation
¶
Index ¶
- func NewMockClient(t testing.TB) (*APIClient, *MockServers)
- type APIClient
- func (a *APIClient) Close() error
- func (a *APIClient) Groups() protoapi.GroupsClient
- func (a *APIClient) Reconcilers() protoapi.ReconcilersClient
- func (a *APIClient) SharedBucketsStopgap() protoapi.SharedBucketsStopgapClient
- func (a *APIClient) Teams() protoapi.TeamsClient
- func (a *APIClient) Users() protoapi.UsersClient
- type MockServers
- type TestingHelpers
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) Groups ¶
func (a *APIClient) Groups() protoapi.GroupsClient
func (*APIClient) Reconcilers ¶
func (a *APIClient) Reconcilers() protoapi.ReconcilersClient
func (*APIClient) SharedBucketsStopgap ¶
func (a *APIClient) SharedBucketsStopgap() protoapi.SharedBucketsStopgapClient
func (*APIClient) Teams ¶
func (a *APIClient) Teams() protoapi.TeamsClient
func (*APIClient) Users ¶
func (a *APIClient) Users() protoapi.UsersClient
type MockServers ¶
type MockServers struct {
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.