-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdpcertificates_i.go
More file actions
26 lines (22 loc) · 2.15 KB
/
dpcertificates_i.go
File metadata and controls
26 lines (22 loc) · 2.15 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
// 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"
)
// DPCertificatesSDK is a generated interface.
type DPCertificatesSDK interface {
// ListDpClientCertificates - List DP Client Certificates
// Returns a list of pinned dataplane client certificates that are associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
ListDpClientCertificates(ctx context.Context, controlPlaneID string, opts ...operations.Option) (*operations.ListDpClientCertificatesResponse, error)
// CreateDataplaneCertificate - Pin New DP Client Certificate
// Pin a new DP Client Certificate to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
CreateDataplaneCertificate(ctx context.Context, controlPlaneID string, dataPlaneClientCertificateRequest *components.DataPlaneClientCertificateRequest, opts ...operations.Option) (*operations.CreateDataplaneCertificateResponse, error)
// GetDataplaneCertificate - Get a DP Client Certificate
// Retrieve a pinned dataplane client certificate associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
GetDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.GetDataplaneCertificateResponse, error)
// DeleteDataplaneCertificate - Delete DP Client Certificate
// Remove a pinned dataplane client certificate associated to this control plane. Removing a pinned dataplane certificate would invalidate any dataplanes currently connected to this control plane using this certificate.
DeleteDataplaneCertificate(ctx context.Context, controlPlaneID string, certificateID string, opts ...operations.Option) (*operations.DeleteDataplaneCertificateResponse, error)
}