-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheventgatewaylistenerpolicies_i.go
More file actions
40 lines (36 loc) · 3.4 KB
/
Copy patheventgatewaylistenerpolicies_i.go
File metadata and controls
40 lines (36 loc) · 3.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
35
36
37
38
39
40
// Code generated by ifacemaker; DO NOT EDIT.
package sdkkonnectgo
import (
"context"
"github.com/Kong/sdk-konnect-go/models/operations"
)
// EventGatewayListenerPoliciesSDK is a generated interface.
type EventGatewayListenerPoliciesSDK interface {
// ListEventGatewayListenerPolicies - List Policies for Listener
// Returns a list of policies associated with the specified Event Gateway listener.
ListEventGatewayListenerPolicies(ctx context.Context, request operations.ListEventGatewayListenerPoliciesRequest, opts ...operations.Option) (*operations.ListEventGatewayListenerPoliciesResponse, error)
// CreateEventGatewayListenerPolicy - Create Policy for Listener
// Creates a new policy associated with the specified Event Gateway listener.
CreateEventGatewayListenerPolicy(ctx context.Context, request operations.CreateEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.CreateEventGatewayListenerPolicyResponse, error)
// GetEventGatewayListenerPolicy - Get a Policy for Listener
// Returns information about a specific policy associated with the Event Gateway listener.
GetEventGatewayListenerPolicy(ctx context.Context, request operations.GetEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.GetEventGatewayListenerPolicyResponse, error)
// UpdateEventGatewayListenerPolicy - Update Policy for Listener
// Updates an existing policy associated with the specified Event Gateway listener.
UpdateEventGatewayListenerPolicy(ctx context.Context, request operations.UpdateEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.UpdateEventGatewayListenerPolicyResponse, error)
// PatchEventGatewayListenerPolicy - Partially Update Policy for Listener
// Partially updates an existing policy associated with the specified Event Gateway listener.
PatchEventGatewayListenerPolicy(ctx context.Context, request operations.PatchEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.PatchEventGatewayListenerPolicyResponse, error)
// DeleteEventGatewayListenerPolicy - Delete Policy for Listener
// Deletes a specific policy associated with the Event Gateway listener.
DeleteEventGatewayListenerPolicy(ctx context.Context, request operations.DeleteEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.DeleteEventGatewayListenerPolicyResponse, error)
// MoveEventGatewayListenerPolicy - Move Policy
// Moves the position of a specific policy relative to the chain associated with the Event Gateway listener.
MoveEventGatewayListenerPolicy(ctx context.Context, request operations.MoveEventGatewayListenerPolicyRequest, opts ...operations.Option) (*operations.MoveEventGatewayListenerPolicyResponse, error)
// GetEventGatewayListenerPolicyChain - Get Policy Chain for Listener
// Get the policy chain for a listener composed of all the ids of the policies in order of execution.
GetEventGatewayListenerPolicyChain(ctx context.Context, gatewayID string, listenerID string, opts ...operations.Option) (*operations.GetEventGatewayListenerPolicyChainResponse, error)
// UpdateEventGatewayListenerPolicyChain - Update Policy Chain for Listener
// Update the policy chain for a listener by providing an ordered list of policy ids.
UpdateEventGatewayListenerPolicyChain(ctx context.Context, request operations.UpdateEventGatewayListenerPolicyChainRequest, opts ...operations.Option) (*operations.UpdateEventGatewayListenerPolicyChainResponse, error)
}