mocks

package
v0.0.0-...-6cc5b44 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRManager

type CRManager struct {
	mock.Mock
}

CRManager is an autogenerated mock type for the CRManager type

func (*CRManager) Create

Create provides a mock function with given fields: ctx, cc, options

func (*CRManager) Delete

func (_m *CRManager) Delete(ctx context.Context, name string, options v1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, options

func (*CRManager) Get

func (_m *CRManager) Get(ctx context.Context, name string, options v1.GetOptions) (*v1alpha1.CompassConnection, error)

Get provides a mock function with given fields: ctx, name, options

func (*CRManager) Update

Update provides a mock function with given fields: ctx, cc, options

type Connector

type Connector struct {
	mock.Mock
}

Connector is an autogenerated mock type for the Connector type

func (*Connector) EstablishConnection

func (_m *Connector) EstablishConnection(ctx context.Context, connectorURL string, token string) (compassconnection.EstablishedConnection, error)

EstablishConnection provides a mock function with given fields: ctx, connectorURL, token

func (*Connector) MaintainConnection

func (_m *Connector) MaintainConnection(ctx context.Context, renewCert bool, credentialsExist bool) (*certificates.Credentials, v1alpha1.ManagementInfo, error)

MaintainConnection provides a mock function with given fields: ctx, renewCert, credentialsExist

type Supervisor

type Supervisor struct {
	mock.Mock
}

Supervisor is an autogenerated mock type for the Supervisor type

func (*Supervisor) InitializeCompassConnection

func (_m *Supervisor) InitializeCompassConnection(ctx context.Context) (*v1alpha1.CompassConnection, error)

InitializeCompassConnection provides a mock function with given fields: ctx

func (*Supervisor) MaintainCompassConnection

func (_m *Supervisor) MaintainCompassConnection(ctx context.Context, connection *v1alpha1.CompassConnection) error

MaintainCompassConnection provides a mock function with given fields: ctx, connection

func (*Supervisor) SynchronizeWithCompass

func (_m *Supervisor) SynchronizeWithCompass(ctx context.Context, connection *v1alpha1.CompassConnection) (*v1alpha1.CompassConnection, error)

SynchronizeWithCompass provides a mock function with given fields: ctx, connection

Jump to

Keyboard shortcuts

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