Documentation ¶
Overview ¶
Package secret provides the ability for Vela to integrate with different supported Secret backends.
Usage:
import "github.com/go-vela/server/secret"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // Get defines a function that captures a secret. Get(string, string, string, string) (*library.Secret, error) // List defines a function that captures a list of secrets. List(string, string, string, int, int) ([]*library.Secret, error) // Count defines a function that counts a list of secrets. Count(string, string, string) (int64, error) // Create defines a function that creates a new secret. Create(string, string, string, *library.Secret) error // Update defines a function that updates an existing secret. Update(string, string, string, *library.Secret) error // Delete defines a function that deletes a secret. Delete(string, string, string, string) error }
Service represents the interface for Vela integrating with the different supported secret providers.
Directories ¶
Path | Synopsis |
---|---|
Package native provides the ability for Vela to integrate with the Database as a secret backend.
|
Package native provides the ability for Vela to integrate with the Database as a secret backend. |
Package vault provides the ability for Vela to integrate with HashiCorp Vault as a secret backend.
|
Package vault provides the ability for Vela to integrate with HashiCorp Vault as a secret backend. |
Click to show internal directories.
Click to hide internal directories.