test

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOIDCClients

type MockOIDCClients struct {
	OnError error

	AuthClient authtest.MockAuthClient
	OIDCClient oidctest.MockOIDCClient
	PingClient pingtest.MockPingServiceClients
}

func (MockOIDCClients) Auth

func (m MockOIDCClients) Auth() auth.AuthClient

func (MockOIDCClients) Close

func (m MockOIDCClients) Close() error

func (MockOIDCClients) OIDC

func (m MockOIDCClients) OIDC() oidc.Clients

func (MockOIDCClients) OIDCPing added in v0.1.5

func (m MockOIDCClients) OIDCPing() ping.Clients

type MockPlatformClients

type MockPlatformClients struct {
	OnError error

	IAMClient      iamtest.MockIAMClient
	TenantClient   tenanttest.MockTenantClient
	RegistryClient registrytest.MockRegistryClients
	AdvisoryClient advisorytest.MockSecurityAdvisoryClients
	PingClient     pingtest.MockPingServiceClients
}

func (MockPlatformClients) Advisory

func (m MockPlatformClients) Advisory() advisory.Clients

func (MockPlatformClients) Close

func (m MockPlatformClients) Close() error

func (MockPlatformClients) IAM

func (MockPlatformClients) Ping added in v0.1.2

func (m MockPlatformClients) Ping() ping.Clients

func (MockPlatformClients) Registry

func (m MockPlatformClients) Registry() registry.Clients

func (MockPlatformClients) Tenant

func (m MockPlatformClients) Tenant() tenant.Clients

type MockPlatformServer

type MockPlatformServer struct {
	GroupServer iamtest.MockGroupsServer
}

func (*MockPlatformServer) StartPlatformServer

func (m *MockPlatformServer) StartPlatformServer(_ context.Context, t *testing.T) string

StartPlatformServer starts the mock server and returns the connection string.

Jump to

Keyboard shortcuts

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