interfaces

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmazonS3

type AmazonS3 interface {
	NewReader(ctx context.Context, region, bucket, key string) (io.ReadCloser, error)
	NewWriter(ctx context.Context, region, bucket, key string) (io.WriteCloser, error)
}

type AzureBlobStorage

type AzureBlobStorage interface {
	NewReader(ctx context.Context, storageAccountName, containerName, blobName string) (io.ReadCloser, error)
}

type GoogleCloudStorage

type GoogleCloudStorage interface {
	NewReader(ctx context.Context, bucketName, objectName string) (io.ReadCloser, error)
	NewWriter(ctx context.Context, bucketName, objectName string) (io.WriteCloser, error)
}

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

type UseCase

type UseCase interface {
	ValidateAzureEventGrid(ctx context.Context, callbackURL string) error

	HandleAzureCloudEvent(ctx context.Context, ev *model.CloudEventSchema) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL