Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorRepositoryNotFound ¶
IsErrorRepositoryNotFound helper function to test for errorRepositoryNotFound error.
func NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(clientOpts *apiclient.ClientOptions) (io.Closer, repository.RepositoryServiceClient)
NewRepositoryServiceClient creates a new API client from a set of config options, or fails fatally if the new client creation fails.
Types ¶
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // Get returns a repository or its credentials Get(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.Repository, error) // ListRepositories gets a list of all configured repositories ListRepositories(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.RepositoryList, error) // Create creates a repo or a repo credential set CreateRepository(ctx context.Context, in *repository.RepoCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error) // Update updates a repo or repo credential set UpdateRepository(ctx context.Context, in *repository.RepoUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error) // Delete deletes a repository from the configuration DeleteRepository(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*repository.RepoResponse, error) }
RepositoryServiceClient wraps the functions to connect to argocd repositories
Click to show internal directories.
Click to hide internal directories.