Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorProjectNotFound ¶
IsErrorProjectNotFound helper function to test for errorProjectNotFound error.
func NewProjectServiceClient ¶
func NewProjectServiceClient(clientOpts *apiclient.ClientOptions) (io.Closer, project.ProjectServiceClient)
NewProjectServiceClient creates a new API client from a set of config options, or fails fatally if the new client creation fails.
Types ¶
type ProjectServiceClient ¶
type ProjectServiceClient interface { // Create a new project Create(ctx context.Context, in *project.ProjectCreateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error) // Get returns a project by name Get(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*v1alpha1.AppProject, error) // Update updates a project Update(ctx context.Context, in *project.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error) // Delete deletes a project Delete(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*project.EmptyResponse, error) }
ProjectServiceClient wraps the functions to connect to argocd repositories
Click to show internal directories.
Click to hide internal directories.