actions

package
v1.21.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVariable added in v1.21.0

func CreateVariable(ctx *context.Context, ownerID, repoID int64, redirectURL string)

func DeleteVariable added in v1.21.0

func DeleteVariable(ctx *context.Context, redirectURL string)

func ReserveLineBreakForTextarea added in v1.21.0

func ReserveLineBreakForTextarea(input string) string

func RunnerDeletePost

func RunnerDeletePost(ctx *context.Context, runnerID int64,
	successRedirectTo, failedRedirectTo string,
)

RunnerDeletePost response for deleting a runner

func RunnerDetails

func RunnerDetails(ctx *context.Context, page int, runnerID, ownerID, repoID int64)

RunnerDetails prepares data for runners edit page

func RunnerDetailsEditPost

func RunnerDetailsEditPost(ctx *context.Context, runnerID, ownerID, repoID int64, redirectTo string)

RunnerDetailsEditPost response for edit runner details

func RunnerResetRegistrationToken

func RunnerResetRegistrationToken(ctx *context.Context, ownerID, repoID int64, redirectTo string)

RunnerResetRegistrationToken reset registration token

func RunnersList

func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions)

RunnersList prepares data for runners list

func SetVariablesContext added in v1.21.0

func SetVariablesContext(ctx *context.Context, ownerID, repoID int64)

func UpdateVariable added in v1.21.0

func UpdateVariable(ctx *context.Context, redirectURL string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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