-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcertificates_i.go
More file actions
29 lines (25 loc) · 1.42 KB
/
certificates_i.go
File metadata and controls
29 lines (25 loc) · 1.42 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"
)
// CertificatesSDK is a generated interface.
type CertificatesSDK interface {
// ListCertificate - List all Certificates
// List all Certificates
ListCertificate(ctx context.Context, request operations.ListCertificateRequest, opts ...operations.Option) (*operations.ListCertificateResponse, error)
// CreateCertificate - Create a new Certificate
// Create a new Certificate
CreateCertificate(ctx context.Context, controlPlaneID string, certificate components.Certificate, opts ...operations.Option) (*operations.CreateCertificateResponse, error)
// DeleteCertificate - Delete a Certificate
// Delete a Certificate
DeleteCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteCertificateResponse, error)
// GetCertificate - Get a Certificate
// Get a Certificate using ID.
GetCertificate(ctx context.Context, certificateID string, controlPlaneID string, opts ...operations.Option) (*operations.GetCertificateResponse, error)
// UpsertCertificate - Upsert a Certificate
// Create or Update Certificate using ID.
UpsertCertificate(ctx context.Context, request operations.UpsertCertificateRequest, opts ...operations.Option) (*operations.UpsertCertificateResponse, error)
}