secrets

package
v1.23.6 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidName = util.NewInvalidArgumentErrorf("invalid secret name")
)

https://docs.github.com/en/actions/security-guides/encrypted-secrets#naming-your-secrets

Functions

func CreateOrUpdateSecret

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳