Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ TYPES_TO_MOCK := \
SNIs \
Targets \
Upstreams \
Vaults
Vaults \
EventGateways

.PHONY: generate.interfaces
generate.interfaces: ifacemaker
Expand Down
32 changes: 32 additions & 0 deletions eventgateways_i.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// 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"
)

// EventGatewaysSDK is a generated interface.
type EventGatewaysSDK interface {
// ListEventGateways - List all Event Gateways
// Returns an array of gateway objects containing information about the Konnect Event Gateways.
ListEventGateways(ctx context.Context, request operations.ListEventGatewaysRequest, opts ...operations.Option) (*operations.ListEventGatewaysResponse, error)
// CreateEventGateway - Create Event Gateway
// Create a Event gateway in the Konnect Organization.
CreateEventGateway(ctx context.Context, request components.CreateGatewayRequest, opts ...operations.Option) (*operations.CreateEventGatewayResponse, error)
// GetEventGateway - Get an Event Gateway
// Returns information about an individual Event gateway.
GetEventGateway(ctx context.Context, gatewayID string, opts ...operations.Option) (*operations.GetEventGatewayResponse, error)
// UpdateEventGateway - Update Event Gateway
// Update an individual gateway.
UpdateEventGateway(ctx context.Context, gatewayID string, updateGatewayRequest components.UpdateGatewayRequest, opts ...operations.Option) (*operations.UpdateEventGatewayResponse, error)
// PatchEventGateway - Partially Update Event Gateway
// Patch an individual gateway.
PatchEventGateway(ctx context.Context, gatewayID string, patchGatewayRequest components.PatchGatewayRequest, opts ...operations.Option) (*operations.PatchEventGatewayResponse, error)
// DeleteEventGateway - Delete Event Gateway
// Delete an individual gateway.
DeleteEventGateway(ctx context.Context, gatewayID string, opts ...operations.Option) (*operations.DeleteEventGatewayResponse, error)
}
Loading
Loading