mocks

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 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 DB added in v1.8.8

type DB struct {
	mock.Mock
}

DB is an autogenerated mock type for the DB type

func NewDB added in v1.8.8

func NewDB(t interface {
	mock.TestingT
	Cleanup(func())
}) *DB

NewDB creates a new instance of DB. 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 (*DB) AddGPGPublicKey added in v1.8.8

func (_mock *DB) AddGPGPublicKey(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)

AddGPGPublicKey provides a mock function for the type DB

func (*DB) CreateCluster added in v1.8.8

func (_mock *DB) CreateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)

CreateCluster provides a mock function for the type DB

func (*DB) CreateRepoCertificate added in v1.8.8

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

CreateRepoCertificate provides a mock function for the type DB

func (*DB) CreateRepository added in v1.8.8

func (_mock *DB) CreateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

CreateRepository provides a mock function for the type DB

func (*DB) CreateRepositoryCredentials added in v1.8.8

func (_mock *DB) CreateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

CreateRepositoryCredentials provides a mock function for the type DB

func (*DB) CreateWriteRepository added in v1.8.8

func (_mock *DB) CreateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

CreateWriteRepository provides a mock function for the type DB

func (*DB) CreateWriteRepositoryCredentials added in v1.8.8

func (_mock *DB) CreateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

CreateWriteRepositoryCredentials provides a mock function for the type DB

func (*DB) DeleteCluster added in v1.8.8

func (_mock *DB) DeleteCluster(ctx context.Context, server string) error

DeleteCluster provides a mock function for the type DB

func (*DB) DeleteGPGPublicKey added in v1.8.8

func (_mock *DB) DeleteGPGPublicKey(ctx context.Context, keyID string) error

DeleteGPGPublicKey provides a mock function for the type DB

func (*DB) DeleteRepository added in v1.8.8

func (_mock *DB) DeleteRepository(ctx context.Context, name string, project string) error

DeleteRepository provides a mock function for the type DB

func (*DB) DeleteRepositoryCredentials added in v1.8.8

func (_mock *DB) DeleteRepositoryCredentials(ctx context.Context, name string) error

DeleteRepositoryCredentials provides a mock function for the type DB

func (*DB) DeleteWriteRepository added in v1.8.8

func (_mock *DB) DeleteWriteRepository(ctx context.Context, name string, project string) error

DeleteWriteRepository provides a mock function for the type DB

func (*DB) DeleteWriteRepositoryCredentials added in v1.8.8

func (_mock *DB) DeleteWriteRepositoryCredentials(ctx context.Context, name string) error

DeleteWriteRepositoryCredentials provides a mock function for the type DB

func (*DB) EXPECT added in v1.8.8

func (_m *DB) EXPECT() *DB_Expecter

func (*DB) GetAllHelmRepositoryCredentials added in v1.8.8

func (_mock *DB) GetAllHelmRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)

GetAllHelmRepositoryCredentials provides a mock function for the type DB

func (*DB) GetAllOCIRepositoryCredentials added in v1.8.8

func (_mock *DB) GetAllOCIRepositoryCredentials(ctx context.Context) ([]*v1alpha1.RepoCreds, error)

GetAllOCIRepositoryCredentials provides a mock function for the type DB

func (*DB) GetApplicationControllerReplicas added in v1.8.8

func (_mock *DB) GetApplicationControllerReplicas() int

GetApplicationControllerReplicas provides a mock function for the type DB

func (*DB) GetCluster added in v1.8.8

func (_mock *DB) GetCluster(ctx context.Context, server string) (*v1alpha1.Cluster, error)

GetCluster provides a mock function for the type DB

func (*DB) GetClusterServersByName added in v1.8.8

func (_mock *DB) GetClusterServersByName(ctx context.Context, name string) ([]string, error)

GetClusterServersByName provides a mock function for the type DB

func (*DB) GetProjectClusters added in v1.8.8

func (_mock *DB) GetProjectClusters(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)

GetProjectClusters provides a mock function for the type DB

func (*DB) GetProjectRepositories added in v1.8.8

func (_mock *DB) GetProjectRepositories(project string) ([]*v1alpha1.Repository, error)

GetProjectRepositories provides a mock function for the type DB

func (*DB) GetProjectWriteRepositories added in v1.8.8

func (_mock *DB) GetProjectWriteRepositories(project string) ([]*v1alpha1.Repository, error)

GetProjectWriteRepositories provides a mock function for the type DB

func (*DB) GetRepository added in v1.8.8

func (_mock *DB) GetRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)

GetRepository provides a mock function for the type DB

func (*DB) GetRepositoryCredentials added in v1.8.8

func (_mock *DB) GetRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)

GetRepositoryCredentials provides a mock function for the type DB

func (*DB) GetWriteRepository added in v1.8.8

func (_mock *DB) GetWriteRepository(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)

GetWriteRepository provides a mock function for the type DB

func (*DB) GetWriteRepositoryCredentials added in v1.8.8

func (_mock *DB) GetWriteRepositoryCredentials(ctx context.Context, name string) (*v1alpha1.RepoCreds, error)

GetWriteRepositoryCredentials provides a mock function for the type DB

func (*DB) ListClusters added in v1.8.8

func (_mock *DB) ListClusters(ctx context.Context) (*v1alpha1.ClusterList, error)

ListClusters provides a mock function for the type DB

func (*DB) ListConfiguredGPGPublicKeys added in v1.8.8

func (_mock *DB) ListConfiguredGPGPublicKeys(ctx context.Context) (map[string]*v1alpha1.GnuPGPublicKey, error)

ListConfiguredGPGPublicKeys provides a mock function for the type DB

func (*DB) ListHelmRepositories added in v1.8.8

func (_mock *DB) ListHelmRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListHelmRepositories provides a mock function for the type DB

func (*DB) ListOCIRepositories added in v1.8.8

func (_mock *DB) ListOCIRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListOCIRepositories provides a mock function for the type DB

func (*DB) ListRepoCertificates added in v1.8.8

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

ListRepoCertificates provides a mock function for the type DB

func (*DB) ListRepositories added in v1.8.8

func (_mock *DB) ListRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListRepositories provides a mock function for the type DB

func (*DB) ListRepositoryCredentials added in v1.8.8

func (_mock *DB) ListRepositoryCredentials(ctx context.Context) ([]string, error)

ListRepositoryCredentials provides a mock function for the type DB

func (*DB) ListWriteRepositories added in v1.8.8

func (_mock *DB) ListWriteRepositories(ctx context.Context) ([]*v1alpha1.Repository, error)

ListWriteRepositories provides a mock function for the type DB

func (*DB) ListWriteRepositoryCredentials added in v1.8.8

func (_mock *DB) ListWriteRepositoryCredentials(ctx context.Context) ([]string, error)

ListWriteRepositoryCredentials provides a mock function for the type DB

func (*DB) RemoveRepoCertificates added in v1.8.8

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

RemoveRepoCertificates provides a mock function for the type DB

func (*DB) RepositoryExists added in v1.8.8

func (_mock *DB) RepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)

RepositoryExists provides a mock function for the type DB

func (*DB) UpdateCluster added in v1.8.8

func (_mock *DB) UpdateCluster(ctx context.Context, c *v1alpha1.Cluster) (*v1alpha1.Cluster, error)

UpdateCluster provides a mock function for the type DB

func (*DB) UpdateRepository added in v1.8.8

func (_mock *DB) UpdateRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

UpdateRepository provides a mock function for the type DB

func (*DB) UpdateRepositoryCredentials added in v1.8.8

func (_mock *DB) UpdateRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

UpdateRepositoryCredentials provides a mock function for the type DB

func (*DB) UpdateWriteRepository added in v1.8.8

func (_mock *DB) UpdateWriteRepository(ctx context.Context, r *v1alpha1.Repository) (*v1alpha1.Repository, error)

UpdateWriteRepository provides a mock function for the type DB

func (*DB) UpdateWriteRepositoryCredentials added in v1.8.8

func (_mock *DB) UpdateWriteRepositoryCredentials(ctx context.Context, r *v1alpha1.RepoCreds) (*v1alpha1.RepoCreds, error)

UpdateWriteRepositoryCredentials provides a mock function for the type DB

func (*DB) WatchClusters added in v1.8.8

func (_mock *DB) WatchClusters(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster), handleDeleteEvent func(clusterServer string)) error

WatchClusters provides a mock function for the type DB

func (*DB) WriteRepositoryExists added in v1.8.8

func (_mock *DB) WriteRepositoryExists(ctx context.Context, repoURL string, project string) (bool, error)

WriteRepositoryExists provides a mock function for the type DB

type DB_AddGPGPublicKey_Call added in v1.8.8

type DB_AddGPGPublicKey_Call struct {
	*mock.Call
}

DB_AddGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGPGPublicKey'

func (*DB_AddGPGPublicKey_Call) Return added in v1.8.8

func (_c *DB_AddGPGPublicKey_Call) Return(stringToGnuPGPublicKey map[string]*v1alpha1.GnuPGPublicKey, strings []string, err error) *DB_AddGPGPublicKey_Call

func (*DB_AddGPGPublicKey_Call) Run added in v1.8.8

func (_c *DB_AddGPGPublicKey_Call) Run(run func(ctx context.Context, keyData string)) *DB_AddGPGPublicKey_Call

func (*DB_AddGPGPublicKey_Call) RunAndReturn added in v1.8.8

func (_c *DB_AddGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyData string) (map[string]*v1alpha1.GnuPGPublicKey, []string, error)) *DB_AddGPGPublicKey_Call

type DB_CreateCluster_Call added in v1.8.8

type DB_CreateCluster_Call struct {
	*mock.Call
}

DB_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'

func (*DB_CreateCluster_Call) Return added in v1.8.8

func (*DB_CreateCluster_Call) Run added in v1.8.8

func (*DB_CreateCluster_Call) RunAndReturn added in v1.8.8

type DB_CreateRepoCertificate_Call added in v1.8.8

type DB_CreateRepoCertificate_Call struct {
	*mock.Call
}

DB_CreateRepoCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepoCertificate'

func (*DB_CreateRepoCertificate_Call) Return added in v1.8.8

func (*DB_CreateRepoCertificate_Call) Run added in v1.8.8

func (*DB_CreateRepoCertificate_Call) RunAndReturn added in v1.8.8

type DB_CreateRepositoryCredentials_Call added in v1.8.8

type DB_CreateRepositoryCredentials_Call struct {
	*mock.Call
}

DB_CreateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepositoryCredentials'

func (*DB_CreateRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_CreateRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_CreateRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_CreateRepository_Call added in v1.8.8

type DB_CreateRepository_Call struct {
	*mock.Call
}

DB_CreateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'

func (*DB_CreateRepository_Call) Return added in v1.8.8

func (*DB_CreateRepository_Call) Run added in v1.8.8

func (*DB_CreateRepository_Call) RunAndReturn added in v1.8.8

type DB_CreateWriteRepositoryCredentials_Call added in v1.8.8

type DB_CreateWriteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_CreateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepositoryCredentials'

func (*DB_CreateWriteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_CreateWriteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_CreateWriteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_CreateWriteRepository_Call added in v1.8.8

type DB_CreateWriteRepository_Call struct {
	*mock.Call
}

DB_CreateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWriteRepository'

func (*DB_CreateWriteRepository_Call) Return added in v1.8.8

func (*DB_CreateWriteRepository_Call) Run added in v1.8.8

func (*DB_CreateWriteRepository_Call) RunAndReturn added in v1.8.8

type DB_DeleteCluster_Call added in v1.8.8

type DB_DeleteCluster_Call struct {
	*mock.Call
}

DB_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'

func (*DB_DeleteCluster_Call) Return added in v1.8.8

func (*DB_DeleteCluster_Call) Run added in v1.8.8

func (_c *DB_DeleteCluster_Call) Run(run func(ctx context.Context, server string)) *DB_DeleteCluster_Call

func (*DB_DeleteCluster_Call) RunAndReturn added in v1.8.8

func (_c *DB_DeleteCluster_Call) RunAndReturn(run func(ctx context.Context, server string) error) *DB_DeleteCluster_Call

type DB_DeleteGPGPublicKey_Call added in v1.8.8

type DB_DeleteGPGPublicKey_Call struct {
	*mock.Call
}

DB_DeleteGPGPublicKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGPGPublicKey'

func (*DB_DeleteGPGPublicKey_Call) Return added in v1.8.8

func (*DB_DeleteGPGPublicKey_Call) Run added in v1.8.8

func (*DB_DeleteGPGPublicKey_Call) RunAndReturn added in v1.8.8

func (_c *DB_DeleteGPGPublicKey_Call) RunAndReturn(run func(ctx context.Context, keyID string) error) *DB_DeleteGPGPublicKey_Call

type DB_DeleteRepositoryCredentials_Call added in v1.8.8

type DB_DeleteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_DeleteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepositoryCredentials'

func (*DB_DeleteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_DeleteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_DeleteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_DeleteRepository_Call added in v1.8.8

type DB_DeleteRepository_Call struct {
	*mock.Call
}

DB_DeleteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRepository'

func (*DB_DeleteRepository_Call) Return added in v1.8.8

func (*DB_DeleteRepository_Call) Run added in v1.8.8

func (_c *DB_DeleteRepository_Call) Run(run func(ctx context.Context, name string, project string)) *DB_DeleteRepository_Call

func (*DB_DeleteRepository_Call) RunAndReturn added in v1.8.8

func (_c *DB_DeleteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteRepository_Call

type DB_DeleteWriteRepositoryCredentials_Call added in v1.8.8

type DB_DeleteWriteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_DeleteWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepositoryCredentials'

func (*DB_DeleteWriteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_DeleteWriteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_DeleteWriteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_DeleteWriteRepository_Call added in v1.8.8

type DB_DeleteWriteRepository_Call struct {
	*mock.Call
}

DB_DeleteWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteWriteRepository'

func (*DB_DeleteWriteRepository_Call) Return added in v1.8.8

func (*DB_DeleteWriteRepository_Call) Run added in v1.8.8

func (*DB_DeleteWriteRepository_Call) RunAndReturn added in v1.8.8

func (_c *DB_DeleteWriteRepository_Call) RunAndReturn(run func(ctx context.Context, name string, project string) error) *DB_DeleteWriteRepository_Call

type DB_Expecter added in v1.8.8

type DB_Expecter struct {
	// contains filtered or unexported fields
}

func (*DB_Expecter) AddGPGPublicKey added in v1.8.8

func (_e *DB_Expecter) AddGPGPublicKey(ctx any, keyData any) *DB_AddGPGPublicKey_Call

AddGPGPublicKey is a helper method to define mock.On call

  • ctx context.Context
  • keyData string

func (*DB_Expecter) CreateCluster added in v1.8.8

func (_e *DB_Expecter) CreateCluster(ctx any, c any) *DB_CreateCluster_Call

CreateCluster is a helper method to define mock.On call

  • ctx context.Context
  • c *v1alpha1.Cluster

func (*DB_Expecter) CreateRepoCertificate added in v1.8.8

func (_e *DB_Expecter) CreateRepoCertificate(ctx any, certificate any, upsert any) *DB_CreateRepoCertificate_Call

CreateRepoCertificate is a helper method to define mock.On call

  • ctx context.Context
  • certificate *v1alpha1.RepositoryCertificateList
  • upsert bool

func (*DB_Expecter) CreateRepository added in v1.8.8

func (_e *DB_Expecter) CreateRepository(ctx any, r any) *DB_CreateRepository_Call

CreateRepository is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.Repository

func (*DB_Expecter) CreateRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) CreateRepositoryCredentials(ctx any, r any) *DB_CreateRepositoryCredentials_Call

CreateRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.RepoCreds

func (*DB_Expecter) CreateWriteRepository added in v1.8.8

func (_e *DB_Expecter) CreateWriteRepository(ctx any, r any) *DB_CreateWriteRepository_Call

CreateWriteRepository is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.Repository

func (*DB_Expecter) CreateWriteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) CreateWriteRepositoryCredentials(ctx any, r any) *DB_CreateWriteRepositoryCredentials_Call

CreateWriteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.RepoCreds

func (*DB_Expecter) DeleteCluster added in v1.8.8

func (_e *DB_Expecter) DeleteCluster(ctx any, server any) *DB_DeleteCluster_Call

DeleteCluster is a helper method to define mock.On call

  • ctx context.Context
  • server string

func (*DB_Expecter) DeleteGPGPublicKey added in v1.8.8

func (_e *DB_Expecter) DeleteGPGPublicKey(ctx any, keyID any) *DB_DeleteGPGPublicKey_Call

DeleteGPGPublicKey is a helper method to define mock.On call

  • ctx context.Context
  • keyID string

func (*DB_Expecter) DeleteRepository added in v1.8.8

func (_e *DB_Expecter) DeleteRepository(ctx any, name any, project any) *DB_DeleteRepository_Call

DeleteRepository is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • project string

func (*DB_Expecter) DeleteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) DeleteRepositoryCredentials(ctx any, name any) *DB_DeleteRepositoryCredentials_Call

DeleteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*DB_Expecter) DeleteWriteRepository added in v1.8.8

func (_e *DB_Expecter) DeleteWriteRepository(ctx any, name any, project any) *DB_DeleteWriteRepository_Call

DeleteWriteRepository is a helper method to define mock.On call

  • ctx context.Context
  • name string
  • project string

func (*DB_Expecter) DeleteWriteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) DeleteWriteRepositoryCredentials(ctx any, name any) *DB_DeleteWriteRepositoryCredentials_Call

DeleteWriteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*DB_Expecter) GetAllHelmRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) GetAllHelmRepositoryCredentials(ctx any) *DB_GetAllHelmRepositoryCredentials_Call

GetAllHelmRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) GetAllOCIRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) GetAllOCIRepositoryCredentials(ctx any) *DB_GetAllOCIRepositoryCredentials_Call

GetAllOCIRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) GetApplicationControllerReplicas added in v1.8.8

func (_e *DB_Expecter) GetApplicationControllerReplicas() *DB_GetApplicationControllerReplicas_Call

GetApplicationControllerReplicas is a helper method to define mock.On call

func (*DB_Expecter) GetCluster added in v1.8.8

func (_e *DB_Expecter) GetCluster(ctx any, server any) *DB_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • ctx context.Context
  • server string

func (*DB_Expecter) GetClusterServersByName added in v1.8.8

func (_e *DB_Expecter) GetClusterServersByName(ctx any, name any) *DB_GetClusterServersByName_Call

GetClusterServersByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*DB_Expecter) GetProjectClusters added in v1.8.8

func (_e *DB_Expecter) GetProjectClusters(ctx any, project any) *DB_GetProjectClusters_Call

GetProjectClusters is a helper method to define mock.On call

  • ctx context.Context
  • project string

func (*DB_Expecter) GetProjectRepositories added in v1.8.8

func (_e *DB_Expecter) GetProjectRepositories(project any) *DB_GetProjectRepositories_Call

GetProjectRepositories is a helper method to define mock.On call

  • project string

func (*DB_Expecter) GetProjectWriteRepositories added in v1.8.8

func (_e *DB_Expecter) GetProjectWriteRepositories(project any) *DB_GetProjectWriteRepositories_Call

GetProjectWriteRepositories is a helper method to define mock.On call

  • project string

func (*DB_Expecter) GetRepository added in v1.8.8

func (_e *DB_Expecter) GetRepository(ctx any, url any, project any) *DB_GetRepository_Call

GetRepository is a helper method to define mock.On call

  • ctx context.Context
  • url string
  • project string

func (*DB_Expecter) GetRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) GetRepositoryCredentials(ctx any, name any) *DB_GetRepositoryCredentials_Call

GetRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*DB_Expecter) GetWriteRepository added in v1.8.8

func (_e *DB_Expecter) GetWriteRepository(ctx any, url any, project any) *DB_GetWriteRepository_Call

GetWriteRepository is a helper method to define mock.On call

  • ctx context.Context
  • url string
  • project string

func (*DB_Expecter) GetWriteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) GetWriteRepositoryCredentials(ctx any, name any) *DB_GetWriteRepositoryCredentials_Call

GetWriteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*DB_Expecter) ListClusters added in v1.8.8

func (_e *DB_Expecter) ListClusters(ctx any) *DB_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListConfiguredGPGPublicKeys added in v1.8.8

func (_e *DB_Expecter) ListConfiguredGPGPublicKeys(ctx any) *DB_ListConfiguredGPGPublicKeys_Call

ListConfiguredGPGPublicKeys is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListHelmRepositories added in v1.8.8

func (_e *DB_Expecter) ListHelmRepositories(ctx any) *DB_ListHelmRepositories_Call

ListHelmRepositories is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListOCIRepositories added in v1.8.8

func (_e *DB_Expecter) ListOCIRepositories(ctx any) *DB_ListOCIRepositories_Call

ListOCIRepositories is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListRepoCertificates added in v1.8.8

func (_e *DB_Expecter) ListRepoCertificates(ctx any, selector any) *DB_ListRepoCertificates_Call

ListRepoCertificates is a helper method to define mock.On call

  • ctx context.Context
  • selector *db.CertificateListSelector

func (*DB_Expecter) ListRepositories added in v1.8.8

func (_e *DB_Expecter) ListRepositories(ctx any) *DB_ListRepositories_Call

ListRepositories is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) ListRepositoryCredentials(ctx any) *DB_ListRepositoryCredentials_Call

ListRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListWriteRepositories added in v1.8.8

func (_e *DB_Expecter) ListWriteRepositories(ctx any) *DB_ListWriteRepositories_Call

ListWriteRepositories is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) ListWriteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) ListWriteRepositoryCredentials(ctx any) *DB_ListWriteRepositoryCredentials_Call

ListWriteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context

func (*DB_Expecter) RemoveRepoCertificates added in v1.8.8

func (_e *DB_Expecter) RemoveRepoCertificates(ctx any, selector any) *DB_RemoveRepoCertificates_Call

RemoveRepoCertificates is a helper method to define mock.On call

  • ctx context.Context
  • selector *db.CertificateListSelector

func (*DB_Expecter) RepositoryExists added in v1.8.8

func (_e *DB_Expecter) RepositoryExists(ctx any, repoURL any, project any) *DB_RepositoryExists_Call

RepositoryExists is a helper method to define mock.On call

  • ctx context.Context
  • repoURL string
  • project string

func (*DB_Expecter) UpdateCluster added in v1.8.8

func (_e *DB_Expecter) UpdateCluster(ctx any, c any) *DB_UpdateCluster_Call

UpdateCluster is a helper method to define mock.On call

  • ctx context.Context
  • c *v1alpha1.Cluster

func (*DB_Expecter) UpdateRepository added in v1.8.8

func (_e *DB_Expecter) UpdateRepository(ctx any, r any) *DB_UpdateRepository_Call

UpdateRepository is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.Repository

func (*DB_Expecter) UpdateRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) UpdateRepositoryCredentials(ctx any, r any) *DB_UpdateRepositoryCredentials_Call

UpdateRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.RepoCreds

func (*DB_Expecter) UpdateWriteRepository added in v1.8.8

func (_e *DB_Expecter) UpdateWriteRepository(ctx any, r any) *DB_UpdateWriteRepository_Call

UpdateWriteRepository is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.Repository

func (*DB_Expecter) UpdateWriteRepositoryCredentials added in v1.8.8

func (_e *DB_Expecter) UpdateWriteRepositoryCredentials(ctx any, r any) *DB_UpdateWriteRepositoryCredentials_Call

UpdateWriteRepositoryCredentials is a helper method to define mock.On call

  • ctx context.Context
  • r *v1alpha1.RepoCreds

func (*DB_Expecter) WatchClusters added in v1.8.8

func (_e *DB_Expecter) WatchClusters(ctx any, handleAddEvent any, handleModEvent any, handleDeleteEvent any) *DB_WatchClusters_Call

WatchClusters is a helper method to define mock.On call

  • ctx context.Context
  • handleAddEvent func(cluster *v1alpha1.Cluster)
  • handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster)
  • handleDeleteEvent func(clusterServer string)

func (*DB_Expecter) WriteRepositoryExists added in v1.8.8

func (_e *DB_Expecter) WriteRepositoryExists(ctx any, repoURL any, project any) *DB_WriteRepositoryExists_Call

WriteRepositoryExists is a helper method to define mock.On call

  • ctx context.Context
  • repoURL string
  • project string

type DB_GetAllHelmRepositoryCredentials_Call added in v1.8.8

type DB_GetAllHelmRepositoryCredentials_Call struct {
	*mock.Call
}

DB_GetAllHelmRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllHelmRepositoryCredentials'

func (*DB_GetAllHelmRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_GetAllHelmRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_GetAllHelmRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_GetAllOCIRepositoryCredentials_Call added in v1.8.8

type DB_GetAllOCIRepositoryCredentials_Call struct {
	*mock.Call
}

DB_GetAllOCIRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllOCIRepositoryCredentials'

func (*DB_GetAllOCIRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_GetAllOCIRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_GetAllOCIRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_GetApplicationControllerReplicas_Call added in v1.8.8

type DB_GetApplicationControllerReplicas_Call struct {
	*mock.Call
}

DB_GetApplicationControllerReplicas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApplicationControllerReplicas'

func (*DB_GetApplicationControllerReplicas_Call) Return added in v1.8.8

func (*DB_GetApplicationControllerReplicas_Call) Run added in v1.8.8

func (*DB_GetApplicationControllerReplicas_Call) RunAndReturn added in v1.8.8

type DB_GetClusterServersByName_Call added in v1.8.8

type DB_GetClusterServersByName_Call struct {
	*mock.Call
}

DB_GetClusterServersByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterServersByName'

func (*DB_GetClusterServersByName_Call) Return added in v1.8.8

func (*DB_GetClusterServersByName_Call) Run added in v1.8.8

func (*DB_GetClusterServersByName_Call) RunAndReturn added in v1.8.8

type DB_GetCluster_Call added in v1.8.8

type DB_GetCluster_Call struct {
	*mock.Call
}

DB_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'

func (*DB_GetCluster_Call) Return added in v1.8.8

func (_c *DB_GetCluster_Call) Return(cluster *v1alpha1.Cluster, err error) *DB_GetCluster_Call

func (*DB_GetCluster_Call) Run added in v1.8.8

func (_c *DB_GetCluster_Call) Run(run func(ctx context.Context, server string)) *DB_GetCluster_Call

func (*DB_GetCluster_Call) RunAndReturn added in v1.8.8

func (_c *DB_GetCluster_Call) RunAndReturn(run func(ctx context.Context, server string) (*v1alpha1.Cluster, error)) *DB_GetCluster_Call

type DB_GetProjectClusters_Call added in v1.8.8

type DB_GetProjectClusters_Call struct {
	*mock.Call
}

DB_GetProjectClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectClusters'

func (*DB_GetProjectClusters_Call) Return added in v1.8.8

func (*DB_GetProjectClusters_Call) Run added in v1.8.8

func (*DB_GetProjectClusters_Call) RunAndReturn added in v1.8.8

func (_c *DB_GetProjectClusters_Call) RunAndReturn(run func(ctx context.Context, project string) ([]*v1alpha1.Cluster, error)) *DB_GetProjectClusters_Call

type DB_GetProjectRepositories_Call added in v1.8.8

type DB_GetProjectRepositories_Call struct {
	*mock.Call
}

DB_GetProjectRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectRepositories'

func (*DB_GetProjectRepositories_Call) Return added in v1.8.8

func (*DB_GetProjectRepositories_Call) Run added in v1.8.8

func (*DB_GetProjectRepositories_Call) RunAndReturn added in v1.8.8

type DB_GetProjectWriteRepositories_Call added in v1.8.8

type DB_GetProjectWriteRepositories_Call struct {
	*mock.Call
}

DB_GetProjectWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProjectWriteRepositories'

func (*DB_GetProjectWriteRepositories_Call) Return added in v1.8.8

func (*DB_GetProjectWriteRepositories_Call) Run added in v1.8.8

func (*DB_GetProjectWriteRepositories_Call) RunAndReturn added in v1.8.8

type DB_GetRepositoryCredentials_Call added in v1.8.8

type DB_GetRepositoryCredentials_Call struct {
	*mock.Call
}

DB_GetRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepositoryCredentials'

func (*DB_GetRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_GetRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_GetRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_GetRepository_Call added in v1.8.8

type DB_GetRepository_Call struct {
	*mock.Call
}

DB_GetRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepository'

func (*DB_GetRepository_Call) Return added in v1.8.8

func (*DB_GetRepository_Call) Run added in v1.8.8

func (_c *DB_GetRepository_Call) Run(run func(ctx context.Context, url string, project string)) *DB_GetRepository_Call

func (*DB_GetRepository_Call) RunAndReturn added in v1.8.8

func (_c *DB_GetRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *DB_GetRepository_Call

type DB_GetWriteRepositoryCredentials_Call added in v1.8.8

type DB_GetWriteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_GetWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepositoryCredentials'

func (*DB_GetWriteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_GetWriteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_GetWriteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_GetWriteRepository_Call added in v1.8.8

type DB_GetWriteRepository_Call struct {
	*mock.Call
}

DB_GetWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWriteRepository'

func (*DB_GetWriteRepository_Call) Return added in v1.8.8

func (*DB_GetWriteRepository_Call) Run added in v1.8.8

func (_c *DB_GetWriteRepository_Call) Run(run func(ctx context.Context, url string, project string)) *DB_GetWriteRepository_Call

func (*DB_GetWriteRepository_Call) RunAndReturn added in v1.8.8

func (_c *DB_GetWriteRepository_Call) RunAndReturn(run func(ctx context.Context, url string, project string) (*v1alpha1.Repository, error)) *DB_GetWriteRepository_Call

type DB_ListClusters_Call added in v1.8.8

type DB_ListClusters_Call struct {
	*mock.Call
}

DB_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*DB_ListClusters_Call) Return added in v1.8.8

func (_c *DB_ListClusters_Call) Return(clusterList *v1alpha1.ClusterList, err error) *DB_ListClusters_Call

func (*DB_ListClusters_Call) Run added in v1.8.8

func (_c *DB_ListClusters_Call) Run(run func(ctx context.Context)) *DB_ListClusters_Call

func (*DB_ListClusters_Call) RunAndReturn added in v1.8.8

func (_c *DB_ListClusters_Call) RunAndReturn(run func(ctx context.Context) (*v1alpha1.ClusterList, error)) *DB_ListClusters_Call

type DB_ListConfiguredGPGPublicKeys_Call added in v1.8.8

type DB_ListConfiguredGPGPublicKeys_Call struct {
	*mock.Call
}

DB_ListConfiguredGPGPublicKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConfiguredGPGPublicKeys'

func (*DB_ListConfiguredGPGPublicKeys_Call) Return added in v1.8.8

func (*DB_ListConfiguredGPGPublicKeys_Call) Run added in v1.8.8

func (*DB_ListConfiguredGPGPublicKeys_Call) RunAndReturn added in v1.8.8

type DB_ListHelmRepositories_Call added in v1.8.8

type DB_ListHelmRepositories_Call struct {
	*mock.Call
}

DB_ListHelmRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListHelmRepositories'

func (*DB_ListHelmRepositories_Call) Return added in v1.8.8

func (*DB_ListHelmRepositories_Call) Run added in v1.8.8

func (*DB_ListHelmRepositories_Call) RunAndReturn added in v1.8.8

type DB_ListOCIRepositories_Call added in v1.8.8

type DB_ListOCIRepositories_Call struct {
	*mock.Call
}

DB_ListOCIRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOCIRepositories'

func (*DB_ListOCIRepositories_Call) Return added in v1.8.8

func (*DB_ListOCIRepositories_Call) Run added in v1.8.8

func (*DB_ListOCIRepositories_Call) RunAndReturn added in v1.8.8

type DB_ListRepoCertificates_Call added in v1.8.8

type DB_ListRepoCertificates_Call struct {
	*mock.Call
}

DB_ListRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepoCertificates'

func (*DB_ListRepoCertificates_Call) Return added in v1.8.8

func (*DB_ListRepoCertificates_Call) Run added in v1.8.8

func (*DB_ListRepoCertificates_Call) RunAndReturn added in v1.8.8

type DB_ListRepositories_Call added in v1.8.8

type DB_ListRepositories_Call struct {
	*mock.Call
}

DB_ListRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositories'

func (*DB_ListRepositories_Call) Return added in v1.8.8

func (*DB_ListRepositories_Call) Run added in v1.8.8

func (*DB_ListRepositories_Call) RunAndReturn added in v1.8.8

type DB_ListRepositoryCredentials_Call added in v1.8.8

type DB_ListRepositoryCredentials_Call struct {
	*mock.Call
}

DB_ListRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRepositoryCredentials'

func (*DB_ListRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_ListRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_ListRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_ListWriteRepositories_Call added in v1.8.8

type DB_ListWriteRepositories_Call struct {
	*mock.Call
}

DB_ListWriteRepositories_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositories'

func (*DB_ListWriteRepositories_Call) Return added in v1.8.8

func (*DB_ListWriteRepositories_Call) Run added in v1.8.8

func (*DB_ListWriteRepositories_Call) RunAndReturn added in v1.8.8

type DB_ListWriteRepositoryCredentials_Call added in v1.8.8

type DB_ListWriteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_ListWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWriteRepositoryCredentials'

func (*DB_ListWriteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_ListWriteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_ListWriteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_RemoveRepoCertificates_Call added in v1.8.8

type DB_RemoveRepoCertificates_Call struct {
	*mock.Call
}

DB_RemoveRepoCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveRepoCertificates'

func (*DB_RemoveRepoCertificates_Call) Return added in v1.8.8

func (*DB_RemoveRepoCertificates_Call) Run added in v1.8.8

func (*DB_RemoveRepoCertificates_Call) RunAndReturn added in v1.8.8

type DB_RepositoryExists_Call added in v1.8.8

type DB_RepositoryExists_Call struct {
	*mock.Call
}

DB_RepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepositoryExists'

func (*DB_RepositoryExists_Call) Return added in v1.8.8

func (*DB_RepositoryExists_Call) Run added in v1.8.8

func (_c *DB_RepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_RepositoryExists_Call

func (*DB_RepositoryExists_Call) RunAndReturn added in v1.8.8

func (_c *DB_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_RepositoryExists_Call

type DB_UpdateCluster_Call added in v1.8.8

type DB_UpdateCluster_Call struct {
	*mock.Call
}

DB_UpdateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCluster'

func (*DB_UpdateCluster_Call) Return added in v1.8.8

func (*DB_UpdateCluster_Call) Run added in v1.8.8

func (*DB_UpdateCluster_Call) RunAndReturn added in v1.8.8

type DB_UpdateRepositoryCredentials_Call added in v1.8.8

type DB_UpdateRepositoryCredentials_Call struct {
	*mock.Call
}

DB_UpdateRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepositoryCredentials'

func (*DB_UpdateRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_UpdateRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_UpdateRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_UpdateRepository_Call added in v1.8.8

type DB_UpdateRepository_Call struct {
	*mock.Call
}

DB_UpdateRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRepository'

func (*DB_UpdateRepository_Call) Return added in v1.8.8

func (*DB_UpdateRepository_Call) Run added in v1.8.8

func (*DB_UpdateRepository_Call) RunAndReturn added in v1.8.8

type DB_UpdateWriteRepositoryCredentials_Call added in v1.8.8

type DB_UpdateWriteRepositoryCredentials_Call struct {
	*mock.Call
}

DB_UpdateWriteRepositoryCredentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepositoryCredentials'

func (*DB_UpdateWriteRepositoryCredentials_Call) Return added in v1.8.8

func (*DB_UpdateWriteRepositoryCredentials_Call) Run added in v1.8.8

func (*DB_UpdateWriteRepositoryCredentials_Call) RunAndReturn added in v1.8.8

type DB_UpdateWriteRepository_Call added in v1.8.8

type DB_UpdateWriteRepository_Call struct {
	*mock.Call
}

DB_UpdateWriteRepository_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWriteRepository'

func (*DB_UpdateWriteRepository_Call) Return added in v1.8.8

func (*DB_UpdateWriteRepository_Call) Run added in v1.8.8

func (*DB_UpdateWriteRepository_Call) RunAndReturn added in v1.8.8

type DB_WatchClusters_Call added in v1.8.8

type DB_WatchClusters_Call struct {
	*mock.Call
}

DB_WatchClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WatchClusters'

func (*DB_WatchClusters_Call) Return added in v1.8.8

func (*DB_WatchClusters_Call) Run added in v1.8.8

func (_c *DB_WatchClusters_Call) Run(run func(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster), handleDeleteEvent func(clusterServer string))) *DB_WatchClusters_Call

func (*DB_WatchClusters_Call) RunAndReturn added in v1.8.8

func (_c *DB_WatchClusters_Call) RunAndReturn(run func(ctx context.Context, handleAddEvent func(cluster *v1alpha1.Cluster), handleModEvent func(oldCluster *v1alpha1.Cluster, newCluster *v1alpha1.Cluster), handleDeleteEvent func(clusterServer string)) error) *DB_WatchClusters_Call

type DB_WriteRepositoryExists_Call added in v1.8.8

type DB_WriteRepositoryExists_Call struct {
	*mock.Call
}

DB_WriteRepositoryExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteRepositoryExists'

func (*DB_WriteRepositoryExists_Call) Return added in v1.8.8

func (*DB_WriteRepositoryExists_Call) Run added in v1.8.8

func (_c *DB_WriteRepositoryExists_Call) Run(run func(ctx context.Context, repoURL string, project string)) *DB_WriteRepositoryExists_Call

func (*DB_WriteRepositoryExists_Call) RunAndReturn added in v1.8.8

func (_c *DB_WriteRepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repoURL string, project string) (bool, error)) *DB_WriteRepositoryExists_Call

type RepoCredsDB added in v1.8.8

type RepoCredsDB struct {
	mock.Mock
}

RepoCredsDB is an autogenerated mock type for the RepoCredsDB type

func NewRepoCredsDB added in v1.8.8

func NewRepoCredsDB(t interface {
	mock.TestingT
	Cleanup(func())
}) *RepoCredsDB

NewRepoCredsDB creates a new instance of RepoCredsDB. 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 (*RepoCredsDB) EXPECT added in v1.8.8

func (_m *RepoCredsDB) EXPECT() *RepoCredsDB_Expecter

func (*RepoCredsDB) GetRepoCredsBySecretName added in v1.8.8

func (_mock *RepoCredsDB) GetRepoCredsBySecretName(context1 context.Context, secretName string) (*v1alpha1.RepoCreds, error)

GetRepoCredsBySecretName provides a mock function for the type RepoCredsDB

type RepoCredsDB_Expecter added in v1.8.8

type RepoCredsDB_Expecter struct {
	// contains filtered or unexported fields
}

func (*RepoCredsDB_Expecter) GetRepoCredsBySecretName added in v1.8.8

func (_e *RepoCredsDB_Expecter) GetRepoCredsBySecretName(context1 any, secretName any) *RepoCredsDB_GetRepoCredsBySecretName_Call

GetRepoCredsBySecretName is a helper method to define mock.On call

  • context1 context.Context
  • secretName string

type RepoCredsDB_GetRepoCredsBySecretName_Call added in v1.8.8

type RepoCredsDB_GetRepoCredsBySecretName_Call struct {
	*mock.Call
}

RepoCredsDB_GetRepoCredsBySecretName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRepoCredsBySecretName'

func (*RepoCredsDB_GetRepoCredsBySecretName_Call) Return added in v1.8.8

func (*RepoCredsDB_GetRepoCredsBySecretName_Call) Run added in v1.8.8

func (*RepoCredsDB_GetRepoCredsBySecretName_Call) RunAndReturn added in v1.8.8

Jump to

Keyboard shortcuts

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