service

package
v0.0.0-...-7376e40 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamoDBItemDeleter

type DynamoDBItemDeleter interface {
	DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteItemOutput, error)
}

DynamoDBItemDeleter is an interface for dynamodb.Client.DeleteItem.

type DynamoDBItemGetter

type DynamoDBItemGetter interface {
	GetItem(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)
}

DynamoDBItemGetter is an interface for dynamodb.Client.GetItem.

type DynamoDBItemPutter

type DynamoDBItemPutter interface {
	PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error)
}

DynamoDBItemPutter is an interface for dynamodb.Client.PutItem.

type DynamoDBItemUpdater

type DynamoDBItemUpdater interface {
	UpdateItem(ctx context.Context, params *dynamodb.UpdateItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.UpdateItemOutput, error)
}

DynamoDBItemUpdater is an interface for dynamodb.Client.UpdateItem.

type GetOAuthV2ResponseInput

type GetOAuthV2ResponseInput struct {
	ClientID     string
	ClientSecret string
	Code         string
	RedirectURI  string
}

type GetOAuthV2ResponseOutput

type GetOAuthV2ResponseOutput struct {
	AccessToken  string
	TokenType    string
	Scope        string
	BotUserID    string
	TeamID       string
	TeamName     string
	RefreshToken string
	ExpiresIn    int
}

type GitHubIDTokenParser

type GitHubIDTokenParser interface {
	ParseGitHubIDToken(ctx context.Context, input *ParseGitHubIDTokenInput) (*ParseGitHubIDTokenOutput, error)
}

type LambdaInvoker

type LambdaInvoker interface {
	Invoke(ctx context.Context, input *lambda.InvokeInput, optFns ...func(*lambda.Options)) (*lambda.InvokeOutput, error)
}

LambdaInvoker is an interface for lambda.Client.Invoke.

type OAuthV2ResponseGetter

type OAuthV2ResponseGetter interface {
	GetOAuthV2Response(ctx context.Context, input *GetOAuthV2ResponseInput) (*GetOAuthV2ResponseOutput, error)
}

SlackOAuthV2ResponseGetter is an interface for slack.GetOAuthV2Response.

type OAuthV2ResponseRefresher

type OAuthV2ResponseRefresher interface {
	RefreshOAuthV2Response(ctx context.Context, input *RefreshOAuthV2ResponseInput) (*RefreshOAuthV2ResponseOutput, error)
}

OAuthV2ResponseRefresher is an interface for slack.RefreshOAuthV2Token.

type ParseGitHubIDTokenInput

type ParseGitHubIDTokenInput struct {
	Audience string
	IDToken  string
}

type ParseGitHubIDTokenOutput

type ParseGitHubIDTokenOutput struct {
	Claims *model.ActionsIDToken
}

type PostSlackMessageInput

type PostSlackMessageInput struct {
	Token   string
	Message map[string]any
}

type PostSlackMessageOutput

type PostSlackMessageOutput struct {
}

type PostSlackWebhookInput

type PostSlackWebhookInput struct {
	WebhookURL   string
	Text         string
	ResponseType string
}

type PostSlackWebhookOutput

type PostSlackWebhookOutput struct {
}

type RefreshOAuthV2ResponseInput

type RefreshOAuthV2ResponseInput struct {
	ClientID     string
	ClientSecret string
	RefreshToken string
}

type RefreshOAuthV2ResponseOutput

type RefreshOAuthV2ResponseOutput struct {
	AccessToken  string
	TokenType    string
	Scope        string
	BotUserID    string
	TeamID       string
	RefreshToken string
	ExpiresIn    int
}

type SSMParameterGetter

type SSMParameterGetter interface {
	GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
}

SSMParameterGetter is an interface for ssm.Client.GetParameter.

type SlackMessagePoster

type SlackMessagePoster interface {
	PostSlackMessage(ctx context.Context, input *PostSlackMessageInput) (*PostSlackMessageOutput, error)
}

SlackMessagePoster is an interface for slack.PostMessage.

type SlackWebhookPoster

type SlackWebhookPoster interface {
	PostSlackWebhook(ctx context.Context, input *PostSlackWebhookInput) (*PostSlackWebhookOutput, error)
}

SlackWebhookPoster is an interface for slack.Webhook.Post.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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