mocks

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockOCIService

func NewMockOCIService(opts ...MockOCIServiceOption) oci.Service

func NewMockRegistryAPIClient

func NewMockRegistryAPIClient(opts ...MockRegistryAPIClientOption) registryapi.Client

Types

type MockOCIServiceOption

type MockOCIServiceOption func(*MockOCIServiceOptions)

func WithDigests

func WithDigests(digests map[string]string) MockOCIServiceOption

func WithLabels

func WithLabels(labels map[string]map[string]string) MockOCIServiceOption

type MockOCIServiceOptions

type MockOCIServiceOptions struct {
	// contains filtered or unexported fields
}

type MockRegistryAPIClientOption

type MockRegistryAPIClientOption func(*MockRegistryAPIClientOptions)

func WithServerListResponses

func WithServerListResponses(serverListResponses map[string]v0.ServerListResponse) MockRegistryAPIClientOption

func WithServerResponses

func WithServerResponses(serverResponses map[string]v0.ServerResponse) MockRegistryAPIClientOption

type MockRegistryAPIClientOptions

type MockRegistryAPIClientOptions struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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