Documentation ¶
Index ¶
- type Mock
- func (c Mock) ApplicationsClient() applications.ApplicationsServiceClient
- func (c Mock) AuthzClient() iam.AuthorizationClient
- func (c Mock) CloseConnection() error
- func (c Mock) PoliciesClient() iam.PoliciesClient
- func (c Mock) ReportingClient() reporting.ReportingServiceClient
- func (c Mock) TeamsClient() iam.TeamsClient
- func (c Mock) TokensClient() iam.TokensClient
- func (c Mock) UsersClient() iam.UsersClient
- type ServerMocks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
type Mock struct {
// contains filtered or unexported fields
}
Mock is a mocked out APIClient.
func (Mock) ApplicationsClient ¶
func (c Mock) ApplicationsClient() applications.ApplicationsServiceClient
ApplicationsClient returns mock ApplicationsClient
func (Mock) AuthzClient ¶
func (c Mock) AuthzClient() iam.AuthorizationClient
AuthzClient returns mock AuthzClient
func (Mock) CloseConnection ¶
CloseConnection closes all connections opened by client
func (Mock) PoliciesClient ¶
func (c Mock) PoliciesClient() iam.PoliciesClient
PoliciesClient returns mock PoliciesClient
func (Mock) ReportingClient ¶
func (c Mock) ReportingClient() reporting.ReportingServiceClient
ReportingClient returns mock ReportingClient
func (Mock) TeamsClient ¶
func (c Mock) TeamsClient() iam.TeamsClient
TeamsClient returns mock TeamsClient
func (Mock) TokensClient ¶
func (c Mock) TokensClient() iam.TokensClient
TokensClient returns mock TokensClient
func (Mock) UsersClient ¶
func (c Mock) UsersClient() iam.UsersClient
UsersClient returns mock UsersClient
type ServerMocks ¶
type ServerMocks struct { AuthzMock *iam.AuthorizationServerMock PoliciesMock *iam.PoliciesServerMock TeamsMock *iam.TeamsServerMock TokensMock *iam.TokensServerMock UsersMock *iam.UsersServerMock }
ServerMocks are mocked out API servers
func CreateMockConn ¶
CreateMockConn returns a mocked version of APIClient that has clients that are connected to mock versions of the server.
Click to show internal directories.
Click to hide internal directories.