secrets

package
v3.1.56 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateGlobalSecret added in v3.1.55

func CreateOrUpdateGlobalSecret(ctx context.Context, name, data, description string) (*secret_model.Secret, bool, error)

CreateOrUpdateGlobalSecret creates or updates a global secret (OwnerID=0, RepoID=0) Global secrets are available to all workflows system-wide

func CreateOrUpdateSecret

func CreateOrUpdateSecret(ctx context.Context, ownerID, repoID int64, name, data, description string) (*secret_model.Secret, bool, error)

func DeleteGlobalSecretByID added in v3.1.55

func DeleteGlobalSecretByID(ctx context.Context, secretID int64) error

DeleteGlobalSecretByID deletes a global secret by ID

func DeleteSecretByID

func DeleteSecretByID(ctx context.Context, ownerID, repoID, secretID int64) error

func DeleteSecretByName

func DeleteSecretByName(ctx context.Context, ownerID, repoID int64, name string) error

func ValidateName

func ValidateName(name string) error

Types

This section is empty.

Source Files

  • secrets.go
  • validation.go

Jump to

Keyboard shortcuts

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