-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcacertificates_i.go
More file actions
29 lines (25 loc) · 1.49 KB
/
cacertificates_i.go
File metadata and controls
29 lines (25 loc) · 1.49 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
// Code generated by ifacemaker; DO NOT EDIT.
package sdkkonnectgo
import (
"context"
"github.com/Kong/sdk-konnect-go/models/components"
"github.com/Kong/sdk-konnect-go/models/operations"
)
// CACertificatesSDK is a generated interface.
type CACertificatesSDK interface {
// ListCaCertificate - List all CA Certificates
// List all CA Certificates
ListCaCertificate(ctx context.Context, request operations.ListCaCertificateRequest, opts ...operations.Option) (*operations.ListCaCertificateResponse, error)
// CreateCaCertificate - Create a new CA Certificate
// Create a new CA Certificate
CreateCaCertificate(ctx context.Context, controlPlaneID string, caCertificate components.CACertificate, opts ...operations.Option) (*operations.CreateCaCertificateResponse, error)
// DeleteCaCertificate - Delete a CA Certificate
// Delete a CA Certificate
DeleteCaCertificate(ctx context.Context, controlPlaneID string, caCertificateID string, opts ...operations.Option) (*operations.DeleteCaCertificateResponse, error)
// GetCaCertificate - Get a CA Certificate
// Get a CA Certificate using ID.
GetCaCertificate(ctx context.Context, caCertificateID string, controlPlaneID string, opts ...operations.Option) (*operations.GetCaCertificateResponse, error)
// UpsertCaCertificate - Upsert a CA Certificate
// Create or Update CA Certificate using ID.
UpsertCaCertificate(ctx context.Context, request operations.UpsertCaCertificateRequest, opts ...operations.Option) (*operations.UpsertCaCertificateResponse, error)
}