-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbasicauthcredentials_i.go
More file actions
34 lines (30 loc) · 2.4 KB
/
basicauthcredentials_i.go
File metadata and controls
34 lines (30 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Code generated by ifacemaker; DO NOT EDIT.
package sdkkonnectgo
import (
"context"
"github.com/Kong/sdk-konnect-go/models/operations"
)
// BasicAuthCredentialsSDK is a generated interface.
type BasicAuthCredentialsSDK interface {
// ListBasicAuth - List all Basic-auth credentials
// List all Basic-auth credentials
ListBasicAuth(ctx context.Context, request operations.ListBasicAuthRequest, opts ...operations.Option) (*operations.ListBasicAuthResponse, error)
// GetBasicAuth - Get a Basic-auth credential
// Get a Basic-auth credential using ID.
GetBasicAuth(ctx context.Context, basicAuthID string, controlPlaneID string, opts ...operations.Option) (*operations.GetBasicAuthResponse, error)
// ListBasicAuthWithConsumer - List all Basic-auth credentials associated with a Consumer
// List all Basic-auth credentials associated with a Consumer
ListBasicAuthWithConsumer(ctx context.Context, request operations.ListBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.ListBasicAuthWithConsumerResponse, error)
// CreateBasicAuthWithConsumer - Create a new Basic-auth credential associated with a Consumer
// Create a new Basic-auth credential associated with a Consumer
CreateBasicAuthWithConsumer(ctx context.Context, request operations.CreateBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.CreateBasicAuthWithConsumerResponse, error)
// DeleteBasicAuthWithConsumer - Delete a a Basic-auth credential associated with a Consumer
// Delete a a Basic-auth credential associated with a Consumer using ID.
DeleteBasicAuthWithConsumer(ctx context.Context, request operations.DeleteBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.DeleteBasicAuthWithConsumerResponse, error)
// GetBasicAuthWithConsumer - Get a Basic-auth credential associated with a Consumer
// Get a Basic-auth credential associated with a Consumer using ID.
GetBasicAuthWithConsumer(ctx context.Context, request operations.GetBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.GetBasicAuthWithConsumerResponse, error)
// UpsertBasicAuthWithConsumer - Upsert a Basic-auth credential associated with a Consumer
// Create or Update a Basic-auth credential associated with a Consumer using ID.
UpsertBasicAuthWithConsumer(ctx context.Context, request operations.UpsertBasicAuthWithConsumerRequest, opts ...operations.Option) (*operations.UpsertBasicAuthWithConsumerResponse, error)
}