mockfederation

package
v0.0.0-...-97bc29d Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPublisher

type MockPublisher struct {
	mock.Mock
}

func (*MockPublisher) Close

func (m *MockPublisher) Close() error

func (*MockPublisher) Publish

func (m *MockPublisher) Publish(ctx context.Context, unleash *unleashv1.Unleash, apiToken string) error

type MockSubscriber

type MockSubscriber struct {
	mock.Mock
}

func (*MockSubscriber) Close

func (m *MockSubscriber) Close() error

func (*MockSubscriber) Subscribe

func (m *MockSubscriber) Subscribe(ctx context.Context, handler federation.Handler) error

Jump to

Keyboard shortcuts

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