handler

package
v0.0.0-...-12c3ba9 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateMaxRequestSize      = 64 * 1024
	GithubAccessManagementURL = "https://github.com/settings/apps/authorizations"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(db *api.API, conf *config.Config, auth auth.Authenticator) (*Handler, error)

func (*Handler) CreateApp

func (h *Handler) CreateApp(ctx echo.Context, params codegen.CreateAppParams) error

func (*Handler) CreateChannel

func (h *Handler) CreateChannel(ctx echo.Context, appIDorProductID string) error

func (*Handler) CreateGroup

func (h *Handler) CreateGroup(ctx echo.Context, appIDorProductID string) error

func (*Handler) CreatePackage

func (h *Handler) CreatePackage(ctx echo.Context, appIDorProductID string) error

func (*Handler) DeleteApp

func (h *Handler) DeleteApp(ctx echo.Context, appIDorProductID string) error

func (*Handler) DeleteChannel

func (h *Handler) DeleteChannel(ctx echo.Context, appIDorProductID string, channelID string) error

func (*Handler) DeleteGroup

func (h *Handler) DeleteGroup(ctx echo.Context, appIDorProductID string, groupID string) error

func (*Handler) DeletePackage

func (h *Handler) DeletePackage(ctx echo.Context, appIDorProductID string, packageID string) error

func (*Handler) GetApp

func (h *Handler) GetApp(ctx echo.Context, appIDorProductID string) error

func (*Handler) GetChannel

func (h *Handler) GetChannel(ctx echo.Context, appIDorProductID string, channelID string) error

func (*Handler) GetConfig

func (h *Handler) GetConfig(ctx echo.Context) error

func (*Handler) GetGroup

func (h *Handler) GetGroup(ctx echo.Context, appIDorProductID string, groupID string) error

func (*Handler) GetGroupInstanceStats

func (h *Handler) GetGroupInstanceStats(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupInstanceStatsParams) error

func (*Handler) GetGroupInstances

func (h *Handler) GetGroupInstances(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupInstancesParams) error

func (*Handler) GetGroupInstancesCount

func (h *Handler) GetGroupInstancesCount(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupInstancesCountParams) error

func (*Handler) GetGroupStatusTimeline

func (h *Handler) GetGroupStatusTimeline(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupStatusTimelineParams) error

func (*Handler) GetGroupVersionBreakdown

func (h *Handler) GetGroupVersionBreakdown(ctx echo.Context, appIDorProductID string, groupID string) error

func (*Handler) GetGroupVersionTimeline

func (h *Handler) GetGroupVersionTimeline(ctx echo.Context, appIDorProductID string, groupID string, params codegen.GetGroupVersionTimelineParams) error

func (*Handler) GetInstance

func (h *Handler) GetInstance(ctx echo.Context, appIDorProductID string, groupID string, instanceID string) error

func (*Handler) GetInstanceStatusHistory

func (h *Handler) GetInstanceStatusHistory(ctx echo.Context, appIDorProductID string, groupID string, instanceID string, params codegen.GetInstanceStatusHistoryParams) error

func (*Handler) GetPackage

func (h *Handler) GetPackage(ctx echo.Context, appIDorProductID string, packageID string) error

func (*Handler) Health

func (h *Handler) Health(ctx echo.Context) error

func (*Handler) Login

func (h *Handler) Login(ctx echo.Context, params codegen.LoginParams) error

func (*Handler) LoginCb

func (h *Handler) LoginCb(ctx echo.Context) error

func (*Handler) LoginToken

func (h *Handler) LoginToken(ctx echo.Context) error

func (*Handler) LoginWebhook

func (h *Handler) LoginWebhook(ctx echo.Context, params codegen.LoginWebhookParams) error

func (*Handler) Omaha

func (h *Handler) Omaha(ctx echo.Context) error

func (*Handler) PaginateActivity

func (h *Handler) PaginateActivity(ctx echo.Context, params codegen.PaginateActivityParams) error

func (*Handler) PaginateApps

func (h *Handler) PaginateApps(ctx echo.Context, params codegen.PaginateAppsParams) error

func (*Handler) PaginateChannels

func (h *Handler) PaginateChannels(ctx echo.Context, appIDorProductID string, params codegen.PaginateChannelsParams) error

func (*Handler) PaginateGroups

func (h *Handler) PaginateGroups(ctx echo.Context, appIDorProductID string, params codegen.PaginateGroupsParams) error

func (*Handler) PaginatePackages

func (h *Handler) PaginatePackages(ctx echo.Context, appIDorProductID string, params codegen.PaginatePackagesParams) error

func (*Handler) UpdateApp

func (h *Handler) UpdateApp(ctx echo.Context, appIDorProductID string) error

func (*Handler) UpdateChannel

func (h *Handler) UpdateChannel(ctx echo.Context, appIDorProductID string, channelID string) error

func (*Handler) UpdateGroup

func (h *Handler) UpdateGroup(ctx echo.Context, appIDorProductID string, groupID string) error

func (*Handler) UpdateInstance

func (h *Handler) UpdateInstance(ctx echo.Context, instanceID string) error

func (*Handler) UpdatePackage

func (h *Handler) UpdatePackage(ctx echo.Context, appIDorProductID string, packageID string) error

func (*Handler) ValidateToken

func (h *Handler) ValidateToken(ctx echo.Context) error

Jump to

Keyboard shortcuts

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