path

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Prefix = "/app"

Prefix is the site-wide prefix added to all web UI paths requiring authentication.

Variables

This section is empty.

Functions

func Admin

func Admin() string

func AdminLogin

func AdminLogin() string

func CompleteGithubApp

func CompleteGithubApp() string

func Create

func Create(kind resource.Kind, parentID resource.ID) string

Create returns the path for creating a resource of the given kind, with the given parent ID.

func CreateGithubApp

func CreateGithubApp() string

func CreateOrganizationToken

func CreateOrganizationToken(org resource.ID) string

func CreateToken

func CreateToken() string

func CreateVariableSetVariable

func CreateVariableSetVariable(vs resource.ID) string

func Delete

func Delete(id resource.ID) string

Delete returns the path for deleting a resource of the given kind.

func DeleteGithubApp

func DeleteGithubApp(githubApp any) string

func DeleteInstallGithubApp

func DeleteInstallGithubApp(githubApp any) string

func DeleteOrganizationToken

func DeleteOrganizationToken(org resource.ID) string

func DeleteToken

func DeleteToken() string

func DeleteVariableSetVariable

func DeleteVariableSetVariable(id resource.ID) string

func Edit

func Edit(id resource.ID) string

Edit returns the path for editing a resource of the given kind.

func EditGithubApp

func EditGithubApp(githubApp any) string

func EditVariableSetVariable

func EditVariableSetVariable(id resource.ID) string

func ExchangeCodeGithubApp

func ExchangeCodeGithubApp() string

func Get

func Get(id resource.ID) string

Get returns the path for retrieving a single resource.

func GithubApp

func GithubApp(githubApp any) string

func GithubApps

func GithubApps() string

func List

func List(kind resource.Kind, parentID resource.ID) string

List returns the path for retrieving a collection of resources.

func Login

func Login() string

func Logout

func Logout() string

func New

func New(kind resource.Kind, parentID resource.ID) string

New returns the path for constructing a resource of the given kind, with the given parent ID.

func NewGithubApp

func NewGithubApp() string

func NewToken

func NewToken() string

func NewVariableSetVariable

func NewVariableSetVariable(vs resource.ID) string

func OrganizationToken

func OrganizationToken(org resource.ID) string

func Profile

func Profile() string

func Resource

func Resource(action resource.Action, id resource.ID) string

Resource returns a routable unique path for a single resource with the given action and ID.

func Resources

func Resources(action resource.Action, kind resource.Kind, parentID resource.ID) string

Resources returns a routable unique path for a collection of resources of the given kind with the given action and parent ID. If the kind doesn't have a parent then set parentID to nil.

func SelectGhappOwner

func SelectGhappOwner() string

func Tokens

func Tokens() string

func Update

func Update(id resource.ID) string

Update returns the path for updating a resource of the given kind.

func UpdateGithubApp

func UpdateGithubApp(githubApp any) string

func UpdateVariableSetVariable

func UpdateVariableSetVariable(id resource.ID) string

func VariableSetVariable

func VariableSetVariable(id resource.ID) string

func VariableSetVariables

func VariableSetVariables(vs resource.ID) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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