Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorApplicationNotFound ¶
IsErrorApplicationNotFound helper function to test for errorNotFound error.
Types ¶
type ServiceClient ¶
type ServiceClient interface { // Get returns an application by name Get(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error) // List returns list of applications List(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error) // Create creates an application Create(ctx context.Context, in *application.ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) // Update updates an application Update(ctx context.Context, in *application.ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error) // Delete deletes an application Delete(ctx context.Context, in *application.ApplicationDeleteRequest, opts ...grpc.CallOption) (*application.ApplicationResponse, error) }
ServiceClient wraps the functions to connect to argocd repositories
func NewApplicationServiceClient ¶
func NewApplicationServiceClient(clientOpts *apiclient.ClientOptions) ServiceClient
NewApplicationServiceClient creates a new API client from a set of config options, or fails fatally if the new client creation fails.
Click to show internal directories.
Click to hide internal directories.