mocks

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRegistryClient

type ContainerRegistryClient struct {
	Calls                       map[string][]ContainerRegistryClientCallerInfo
	MockCreateProjectForAccount func(ctx context.Context, in *container_registry.CreateProjectIn, opts ...grpc.CallOption) (*container_registry.CreateProjectOut, error)
	MockGetSvcCredentials       func(ctx context.Context, in *container_registry.GetSvcCredentialsIn, opts ...grpc.CallOption) (*container_registry.GetSvcCredentialsOut, error)
}

func NewContainerRegistryClient

func NewContainerRegistryClient() *ContainerRegistryClient

func (*ContainerRegistryClient) CreateProjectForAccount

func (*ContainerRegistryClient) GetSvcCredentials

type ContainerRegistryClientCallerInfo

type ContainerRegistryClientCallerInfo struct {
	Args []any
}

type ContainerRegistryServer

type ContainerRegistryServer struct {
	Calls                       map[string][]ContainerRegistryServerCallerInfo
	MockCreateProjectForAccount func(ka context.Context, kb *container_registry.CreateProjectIn) (*container_registry.CreateProjectOut, error)
	MockGetSvcCredentials       func(kc context.Context, kd *container_registry.GetSvcCredentialsIn) (*container_registry.GetSvcCredentialsOut, error)
}

func NewContainerRegistryServer

func NewContainerRegistryServer() *ContainerRegistryServer

func (*ContainerRegistryServer) CreateProjectForAccount

type ContainerRegistryServerCallerInfo

type ContainerRegistryServerCallerInfo struct {
	Args []any
}

Jump to

Keyboard shortcuts

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