secret

package
v0.23.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package secret provides the secret handlers for the Vela API.

Usage:

import "github.com/go-vela/server/api/secret"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSecret

func CreateSecret(c *gin.Context)

CreateSecret represents the API handler to create a secret in the configured backend.

func DeleteSecret

func DeleteSecret(c *gin.Context)

DeleteSecret deletes a secret from the provided secrets service.

func GetSecret

func GetSecret(c *gin.Context)

GetSecret gets a secret from the provided secrets service.

func ListSecrets

func ListSecrets(c *gin.Context)

ListSecrets represents the API handler to capture a list of secrets from the configured backend.

func UpdateSecret

func UpdateSecret(c *gin.Context)

UpdateSecret updates a secret for the provided secrets service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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