Documentation ¶
Index ¶
- type ArgoCD
- func (_m *ArgoCD) GetApplication(ctx context.Context, appName string) (*v1alpha1.Application, error)
- func (_m *ArgoCD) ListApplications(labelSelector string) ([]v1alpha1.Application, error)
- func (_m *ArgoCD) UpdateSpec(ctx context.Context, spec *application.ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgoCD ¶
ArgoCD is an autogenerated mock type for the ArgoCD type
func NewArgoCD ¶
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 ¶
func (_m *ArgoCD) UpdateSpec(ctx context.Context, spec *application.ApplicationUpdateSpecRequest) (*v1alpha1.ApplicationSpec, error)
UpdateSpec provides a mock function with given fields: ctx, spec
Click to show internal directories.
Click to hide internal directories.