Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
IsNotFound returns true if the error code is NotFound
Types ¶
type ServiceClient ¶
type ServiceClient interface { // Get returns an applicationset by name Get(ctx context.Context, in *applicationset.ApplicationSetGetQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationSet, error) // List returns list of applicationset List(ctx context.Context, in *applicationset.ApplicationSetListQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationSetList, error) // Create creates an applicationset Create(ctx context.Context, in *applicationset.ApplicationSetCreateRequest, opts ...grpc.CallOption) (*v1alpha1.ApplicationSet, error) // Delete deletes an application set Delete(ctx context.Context, in *applicationset.ApplicationSetDeleteRequest, opts ...grpc.CallOption) (*applicationset.ApplicationSetResponse, error) }
ServiceClient wraps the functions to connect to argocd repositories
func NewApplicationSetServiceClient ¶
func NewApplicationSetServiceClient(clientOpts *apiclient.ClientOptions) ServiceClient
NewApplicationSetServiceClient 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.