mocks

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 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 ArgoCDAppClientStub

type ArgoCDAppClientStub struct{}

ArgoCDAppClientStub is a general-purpose stub for the Argo CD Application Client

type MockArgoCDAppClientCalledWith

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

MockArgoCDAppClientCalledWith mocks the Argo CD Application client and registers calls to Sync

func (*MockArgoCDAppClientCalledWith) GetSyncedApps

func (c *MockArgoCDAppClientCalledWith) GetSyncedApps() []string

func (*MockArgoCDAppClientCalledWith) Sync

type MockArgoCDAppClientSyncNotOK

type MockArgoCDAppClientSyncNotOK struct{}

MockArgoCDAppClientSyncOK mocks the Argo CD Application client with a failed invocation of Sync

func (*MockArgoCDAppClientSyncNotOK) Sync

type MockArgoCDAppClientSyncOK

type MockArgoCDAppClientSyncOK struct{}

MockArgoCDAppClientSyncOK mocks the Argo CD Application client with a successful invocation of Sync

func (*MockArgoCDAppClientSyncOK) Sync

Jump to

Keyboard shortcuts

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