handler

package
v0.0.0-...-32f65d2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMemberToTeam

func AddMemberToTeam(w http.ResponseWriter, r *http.Request)

func CreateMember

func CreateMember(w http.ResponseWriter, r *http.Request)

func CreateTeam

func CreateTeam(w http.ResponseWriter, r *http.Request)

Types

type AddMemberToTeamResponse

type AddMemberToTeamResponse struct {
	Message string `json:"message"`
}

type CreateDatabaseRequestBody

type CreateDatabaseRequestBody struct {
	DBName           string `json:"dbName"`
	OrganizationName string `json:"organizationName"`
}

type CreateMemberRequestBody

type CreateMemberRequestBody struct {
	Name  string  `json:"name"`
	Email *string `json:"email"`
}

type CreateMemberResponse

type CreateMemberResponse struct {
	MemberId int64 `json:"member_id"`
}

type CreateTeamRequestBody

type CreateTeamRequestBody struct {
	TeamName string `json:"teamName"`
}

type CreateTeamResponse

type CreateTeamResponse struct {
	TeamId int64 `json:"team_id"`
}

type GithubInstallationRequestBody

type GithubInstallationRequestBody struct {
	InstallationID int64  `json:"installationId"`
	DBURL          string `json:"dbUrl"`
	DBDomainName   string `json:"dbDomainName"`
}

type TemporalHandler

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

func NewTemporalHandler

func NewTemporalHandler(temporalClient client.Client, config onboarding.Config) *TemporalHandler

func (*TemporalHandler) CreateTenantDB

func (th *TemporalHandler) CreateTenantDB(w http.ResponseWriter, r *http.Request)

func (*TemporalHandler) GithubInstallation

func (th *TemporalHandler) GithubInstallation(w http.ResponseWriter, r *http.Request)

func (*TemporalHandler) UsersCount

func (th *TemporalHandler) UsersCount(w http.ResponseWriter, r *http.Request)

type UsersCountResponse

type UsersCountResponse struct {
	Count int `json:"count"`
}

Jump to

Keyboard shortcuts

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