test

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntitlementsOnCreate

type EntitlementsOnCreate struct {
	Given   *ecosystems.CreateEntitlementRequest
	Created *ecosystems.Entitlement
	Error   error
}

type EntitlementsOnDelete

type EntitlementsOnDelete struct {
	Given *ecosystems.DeleteEntitlementRequest
	Error error
}

type EntitlementsOnList

type EntitlementsOnList struct {
	Given *ecosystems.EntitlementFilter
	List  *ecosystems.EntitlementList
	Error error
}

type MockEcosystemsClients

type MockEcosystemsClients struct {
	EntitlementsClient MockEntitlementsClient

	OnClose error
}

func (MockEcosystemsClients) Close

func (m MockEcosystemsClients) Close() error

func (MockEcosystemsClients) Entitlements

type MockEntitlementsClient

type MockEntitlementsClient struct {
	ecosystems.EntitlementsClient

	OnCreate []EntitlementsOnCreate
	OnDelete []EntitlementsOnDelete
	OnList   []EntitlementsOnList
}

func (MockEntitlementsClient) Create

func (MockEntitlementsClient) Delete

func (MockEntitlementsClient) List

Jump to

Keyboard shortcuts

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