repository

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowSlackPermissionInput

type AllowSlackPermissionInput struct {
	TeamID    string
	ChannelID string
	Repos     []string
}

type AllowSlackPermissionOutput

type AllowSlackPermissionOutput struct {
}

type DeleteSessionInput

type DeleteSessionInput struct {
	SessionID string
}

type DeleteSessionOutput

type DeleteSessionOutput struct {
}

type GetSessionInput

type GetSessionInput struct {
	SessionID string
}

type GetSessionOutput

type GetSessionOutput struct {
	SessionID string
	State     string // state for OAuth2
	TeamID    string // team ID for Slack
	TeamName  string // team name for Slack
}

type GetSlackAccessTokenInput

type GetSlackAccessTokenInput struct {
	TeamID string
}

type GetSlackAccessTokenOutput

type GetSlackAccessTokenOutput struct {
	TeamID       string
	BotUserID    string
	AccessToken  string
	Scope        string
	RefreshToken string
	ExpiresAt    time.Time
}

type GetSlackClientIDInput

type GetSlackClientIDInput struct{}

type GetSlackClientIDOutput

type GetSlackClientIDOutput struct {
	SlackClientID string
}

type GetSlackClientSecretInput

type GetSlackClientSecretInput struct{}

type GetSlackClientSecretOutput

type GetSlackClientSecretOutput struct {
	SlackClientSecret string
}

type GetSlackPermissionInput

type GetSlackPermissionInput struct {
	TeamID    string
	ChannelID string
}

type GetSlackPermissionOutput

type GetSlackPermissionOutput struct {
	TeamID    string
	ChannelID string
	Repos     []string
}

type GetSlackSigningSecretInput

type GetSlackSigningSecretInput struct{}

type GetSlackSigningSecretOutput

type GetSlackSigningSecretOutput struct {
	SlackSigningSecret string
}

type PutSessionInput

type PutSessionInput struct {
	SessionID string
	State     string // state for OAuth2
	TeamID    string // team ID for Slack
	TeamName  string // team name for Slack
}

type PutSessionOutput

type PutSessionOutput struct {
}

type PutSlackAccessTokenInput

type PutSlackAccessTokenInput struct {
	TeamID       string
	BotUserID    string
	AccessToken  string
	Scope        string
	RefreshToken string
	ExpiresAt    time.Time
}

type PutSlackAccessTokenOutput

type PutSlackAccessTokenOutput struct {
}

type SessionDeleter

type SessionDeleter interface {
	DeleteSession(ctx context.Context, input *DeleteSessionInput) (*DeleteSessionOutput, error)
}

SessionDeleter is an interface for deleting session.

type SessionGetter

type SessionGetter interface {
	GetSession(ctx context.Context, input *GetSessionInput) (*GetSessionOutput, error)
}

SessionGetter is an interface for getting session.

type SessionPutter

type SessionPutter interface {
	PutSession(ctx context.Context, input *PutSessionInput) (*PutSessionOutput, error)
}

SessionPutter is an interface for putting session.

type SlackAccessTokenGetter

type SlackAccessTokenGetter interface {
	GetSlackAccessToken(ctx context.Context, input *GetSlackAccessTokenInput) (*GetSlackAccessTokenOutput, error)
}

type SlackAccessTokenPutter

type SlackAccessTokenPutter interface {
	PutSlackAccessToken(ctx context.Context, input *PutSlackAccessTokenInput) (*PutSlackAccessTokenOutput, error)
}

type SlackClientIDGetter

type SlackClientIDGetter interface {
	GetSlackClientID(ctx context.Context, input *GetSlackClientIDInput) (*GetSlackClientIDOutput, error)
}

type SlackClientSecretGetter

type SlackClientSecretGetter interface {
	GetSlackClientSecret(ctx context.Context, input *GetSlackClientSecretInput) (*GetSlackClientSecretOutput, error)
}

type SlackPermissionAllower

type SlackPermissionAllower interface {
	AllowSlackPermission(ctx context.Context, input *AllowSlackPermissionInput) (*AllowSlackPermissionOutput, error)
}

type SlackPermissionGetter

type SlackPermissionGetter interface {
	GetSlackPermission(ctx context.Context, input *GetSlackPermissionInput) (*GetSlackPermissionOutput, error)
}

SlackPermissionGetter is an interface for getting slack permission.

type SlackSigningSecretGetter

type SlackSigningSecretGetter interface {
	GetSlackSigningSecret(ctx context.Context, input *GetSlackSigningSecretInput) (*GetSlackSigningSecretOutput, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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