mocks

package
v0.0.0-...-7e3aec1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoCD

type ArgoCD struct {
	mock.Mock
}

ArgoCD is an autogenerated mock type for the ArgoCD type

func NewArgoCD

func NewArgoCD(t interface {
	mock.TestingT
	Cleanup(func())
}) *ArgoCD

NewArgoCD creates a new instance of ArgoCD. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ArgoCD) GetApplication

func (_m *ArgoCD) GetApplication(ctx context.Context, appName string) (*v1alpha1.Application, error)

GetApplication provides a mock function with given fields: ctx, appName

func (*ArgoCD) ListApplications

func (_m *ArgoCD) ListApplications(labelSelector string) ([]v1alpha1.Application, error)

ListApplications provides a mock function with given fields:

func (*ArgoCD) UpdateSpec

UpdateSpec provides a mock function with given fields: ctx, spec

Jump to

Keyboard shortcuts

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