routes

package
v0.0.1-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccountProfile = "/profile"
	AccountSession = "/profile/session"
	AccountTeams   = "/profile/teams"
	AccountDelete  = "/profile/delete"
)
View Source
const (
	ApplicationBase = "application"

	AppNewGit       = "application/new/git"
	AppNewGithub    = "application/new/git/github"
	AppNewGitPublic = "application/new/git/git-public"
	AppNewRegistry  = "application/new/registry"
	AppNewDatabase  = "application/new/database"
	AppNewOneclick  = "application/new/oneclick"

	AppDeployments         = "deployments"
	AppMetrics             = "metrics"
	AppLogs                = "logs"
	AppTerminal            = "terminal"
	AppSource              = "source"
	AppVolume              = "volumes"
	AppVolumeDetach        = "detach"
	AppVolumeUnAttached    = "volumes/unattached"
	AppVolumeCreate        = "volumes/create"
	AppSettings            = "settings"
	AppVariables           = "variables"
	AppDelete              = "delete"
	AppNetworkPrivate      = "network/private"
	AppNetworkHTTP         = "network/http"
	AppNetworkHTTPGenerate = AppNetworkHTTP + "/generate"
	AppNetworkTCP          = "network/tcp"
	AppFavorite            = "favorite"

	AppNav = "/nav"

	//General Header
	AppIcon = "icon"
	AppName = "name"

	AppSourceGithub    = "source/github"
	AppSourceGitPublic = "source/git-public"
	AppSourceRegistry  = "source/registry"
)
View Source
const (
	EnvironmentBase        = "environment"
	EnvironmentApplication = "/application"
	EnvironmentSettings    = "/settings"
	EnvironmentDelete      = "/delete"
	EnvironmentVolumes     = "/volumes"
	EnvironmentNav         = "/nav"
)
View Source
const (
	InstanceAuthPassword = "/settings/auth/password"
	InstanceAuthDemo     = "/settings/auth/demo"
	InstanceAuthGithub   = "/settings/auth/github"
)
View Source
const (
	Login    = "/login"
	Logout   = "/logout"
	Profile  = "/profile"
	Register = "/register"
	NotFound = "/404"
	Error    = "/500"
)
View Source
const (
	ProjectBase        = "project"
	ProjectOverview    = "overview"
	ProjectEnvironment = "environment"
	ProjectSource      = "source"
	ProjectMembers     = "members"
	ProjectSettings    = "settings"
	ProjectDelete      = "delete"
	ProjectNav         = "/nav"

	ProjectSourceGithub = "source/github"
)
View Source
const (
	TenantBase = "team"

	TenantSettings      = "settings"
	TenantMembers       = "members"
	TenantLimits        = "limits"
	TenantDelete        = "delete"
	TenantMembersAction = "/members"
)
View Source
const (
	CallbackOAuthGithub = "/auth/github/callback"
)
View Source
const (
	DeploymentBase = "deployment"
)
View Source
const TargetMain = "main"
View Source
const TargetMainQuery = "?target=main"

Variables

This section is empty.

Functions

func Application

func Application(envUID, appUID int64) string

func ApplicationCreate

func ApplicationCreate(envUID int64) string

func ApplicationCtx

func ApplicationCtx(ctx context.Context) string

func ApplicationCtxUID

func ApplicationCtxUID(ctx context.Context, appUID int64) string

func ApplicationProject

func ApplicationProject(projectUID, envUID, appUID int64) string

func Deployment

func Deployment(uid int64) string

func DeploymentCtx

func DeploymentCtx(ctx context.Context) string

func DeploymentLog

func DeploymentLog(uid int64) string

func DeploymentLogStream

func DeploymentLogStream(uid int64) string

func Environment

func Environment(uid int64) string

func EnvironmentApplicationCtx

func EnvironmentApplicationCtx(ctx context.Context) string

func EnvironmentCreate

func EnvironmentCreate() string

func EnvironmentCtx

func EnvironmentCtx(ctx context.Context) string

func EnvironmentCtxUID

func EnvironmentCtxUID(ctx context.Context, envUID int64) string

func GetOAuthCallbackUrl

func GetOAuthCallbackUrl(provider enum.AuthProvider) string

func GetOAuthRedirectUrl

func GetOAuthRedirectUrl(provider enum.AuthProvider) string

func HasApplicationRoute

func HasApplicationRoute(url string, env *types.Environment) bool

func IsProjectUrl

func IsProjectUrl(url string) bool

func Project

func Project(uid int64) string

func ProjectCreate

func ProjectCreate() string

func ProjectCtx

func ProjectCtx(ctx context.Context) string

func ProjectCtxUID

func ProjectCtxUID(ctx context.Context, projectUID int64) string

func ProjectGithubCtx

func ProjectGithubCtx(ctx context.Context, ghApp *types.GithubApp) string

func Tenant

func Tenant(uid int64) string

func TenantCreate

func TenantCreate() string

func TenantCtx

func TenantCtx(ctx context.Context) string

func TenantMembersUrl

func TenantMembersUrl(ctx context.Context) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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