Documentation ¶
Index ¶
- type ArgoDB
- func (_m *ArgoDB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_m *ArgoDB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_m *ArgoDB) DeleteCluster(ctx context.Context, name string) error
- func (_m *ArgoDB) DeleteRepository(ctx context.Context, name string) error
- func (_m *ArgoDB) GetCluster(ctx context.Context, name string) (*v1alpha1.Cluster, error)
- func (_m *ArgoDB) GetRepository(ctx context.Context, repoURL string) (*v1alpha1.Repository, error)
- func (_m *ArgoDB) ListClusters(ctx context.Context) (*v1alpha1.ClusterList, error)
- func (_m *ArgoDB) ListHelmRepos(ctx context.Context) ([]*v1alpha1.HelmRepository, error)
- func (_m *ArgoDB) ListRepoURLs(ctx context.Context) ([]string, error)
- func (_m *ArgoDB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (_m *ArgoDB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)
- func (_m *ArgoDB) WatchClusters(ctx context.Context, callback func(*db.ClusterEvent)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgoDB ¶
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) 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) DeleteCluster ¶
DeleteCluster provides a mock function with given fields: ctx, name
func (*ArgoDB) DeleteRepository ¶
DeleteRepository provides a mock function with given fields: ctx, name
func (*ArgoDB) GetCluster ¶
GetCluster provides a mock function with given fields: ctx, name
func (*ArgoDB) GetRepository ¶
GetRepository provides a mock function with given fields: ctx, repoURL
func (*ArgoDB) ListClusters ¶
ListClusters provides a mock function with given fields: ctx
func (*ArgoDB) ListHelmRepos ¶
ListHelmRepos provides a mock function with given fields: ctx
func (*ArgoDB) ListRepoURLs ¶
ListRepoURLs provides a mock function with given fields: ctx
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) WatchClusters ¶
WatchClusters provides a mock function with given fields: ctx, callback