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
func (*ArgoCDAppClientStub) Sync ¶
func (*ArgoCDAppClientStub) Sync(ctx context.Context, in *applicationpkg.ApplicationSyncRequest, opts ...grpc.CallOption) (*argov1alpha1.Application, error)
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 ¶
func (c *MockArgoCDAppClientCalledWith) Sync(ctx context.Context, in *applicationpkg.ApplicationSyncRequest, opts ...grpc.CallOption) (*argov1alpha1.Application, error)
type MockArgoCDAppClientSyncNotOK ¶
type MockArgoCDAppClientSyncNotOK struct{}
MockArgoCDAppClientSyncOK mocks the Argo CD Application client with a failed invocation of Sync
func (*MockArgoCDAppClientSyncNotOK) Sync ¶
func (c *MockArgoCDAppClientSyncNotOK) Sync(ctx context.Context, in *applicationpkg.ApplicationSyncRequest, opts ...grpc.CallOption) (*argov1alpha1.Application, error)
type MockArgoCDAppClientSyncOK ¶
type MockArgoCDAppClientSyncOK struct{}
MockArgoCDAppClientSyncOK mocks the Argo CD Application client with a successful invocation of Sync
func (*MockArgoCDAppClientSyncOK) Sync ¶
func (c *MockArgoCDAppClientSyncOK) Sync(ctx context.Context, in *applicationpkg.ApplicationSyncRequest, opts ...grpc.CallOption) (*argov1alpha1.Application, error)
Click to show internal directories.
Click to hide internal directories.