mocks

package
v1.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 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 ArgoDB

type ArgoDB struct {
	mock.Mock
}

ArgoDB is an autogenerated mock type for the ArgoDB type

func (*ArgoDB) CreateCluster

func (_m *ArgoDB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)

CreateCluster provides a mock function with given fields: ctx, c

func (*ArgoDB) CreateRepoCertificate added in v1.3.3

func (_m *ArgoDB) CreateRepoCertificate(ctx context.Context, certificate *v1alpha1.RepositoryCertificateList, upsert bool) (*v1alpha1.RepositoryCertificateList, error)

CreateRepoCertificate provides a mock function with given fields: ctx, certificate, upsert

func (*ArgoDB) CreateRepository

func (_m *ArgoDB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

CreateRepository provides a mock function with given fields: ctx, r

func (*ArgoDB) CreateRepositoryCredentials added in v1.4.0

func (_m *ArgoDB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

CreateRepositoryCredentials provides a mock function with given fields: ctx, r

func (*ArgoDB) DeleteCluster

func (_m *ArgoDB) DeleteCluster(ctx context.Context, server string) error

DeleteCluster provides a mock function with given fields: ctx, server

func (*ArgoDB) DeleteRepository

func (_m *ArgoDB) DeleteRepository(ctx context.Context, name string) error

DeleteRepository provides a mock function with given fields: ctx, name

func (*ArgoDB) DeleteRepositoryCredentials added in v1.4.0

func (_m *ArgoDB) DeleteRepositoryCredentials(ctx context.Context, name string) error

DeleteRepositoryCredentials provides a mock function with given fields: ctx, name

func (*ArgoDB) GetCluster

func (_m *ArgoDB) GetCluster(ctx context.Context, server string) (*v1alpha1.Cluster, error)

GetCluster provides a mock function with given fields: ctx, server

func (*ArgoDB) GetRepository

func (_m *ArgoDB) GetRepository(ctx context.Context, url string) (*v1alpha1.Repository, error)

GetRepository provides a mock function with given fields: ctx, url

func (*ArgoDB) GetRepositoryCredentials added in v1.4.0

func (_m *ArgoDB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)

GetRepositoryCredentials provides a mock function with given fields: ctx, name

func (*ArgoDB) ListClusters

func (_m *ArgoDB) ListClusters(ctx context.Context) (*v1alpha1.ClusterList, error)

ListClusters provides a mock function with given fields: ctx

func (*ArgoDB) ListHelmRepositories added in v1.3.3

func (_m *ArgoDB) ListHelmRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListHelmRepositories provides a mock function with given fields: ctx

func (*ArgoDB) ListRepoCertificates added in v1.3.3

func (_m *ArgoDB) ListRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)

ListRepoCertificates provides a mock function with given fields: ctx, selector

func (*ArgoDB) ListRepositories added in v1.3.0

func (_m *ArgoDB) ListRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListRepositories provides a mock function with given fields: ctx

func (*ArgoDB) ListRepositoryCredentials added in v1.4.0

func (_m *ArgoDB) ListRepositoryCredentials(ctx context.Context) ([]string, error)

ListRepositoryCredentials provides a mock function with given fields: ctx

func (*ArgoDB) RemoveRepoCertificates added in v1.3.3

func (_m *ArgoDB) RemoveRepoCertificates(ctx context.Context, selector *db.CertificateListSelector) (*v1alpha1.RepositoryCertificateList, error)

RemoveRepoCertificates provides a mock function with given fields: ctx, selector

func (*ArgoDB) UpdateCluster

func (_m *ArgoDB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)

UpdateCluster provides a mock function with given fields: ctx, c

func (*ArgoDB) UpdateRepository

func (_m *ArgoDB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

UpdateRepository provides a mock function with given fields: ctx, r

func (*ArgoDB) UpdateRepositoryCredentials added in v1.4.0

func (_m *ArgoDB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

UpdateRepositoryCredentials provides a mock function with given fields: ctx, r

func (*ArgoDB) WatchClusters

func (_m *ArgoDB) WatchClusters(ctx context.Context, callback func(*db.ClusterEvent)) error

WatchClusters provides a mock function with given fields: ctx, callback

Jump to

Keyboard shortcuts

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