satellites

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetSatellites() []satellite.Client
	GetSatellite(name string) satellite.Client
}

func NewClient

func NewClient(config Config) (Client, error)

type Config

type Config []satellite.Config

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func NewMockClient

func NewMockClient(t testing.TB) *MockClient

NewMockClient creates a new instance of MockClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockClient) GetSatellite

func (_m *MockClient) GetSatellite(name string) satellite.Client

GetSatellite provides a mock function with given fields: name

func (*MockClient) GetSatellites

func (_m *MockClient) GetSatellites() []satellite.Client

GetSatellites provides a mock function with given fields:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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