Documentation ¶
Overview ¶
Package secret implements the secret handlers.
Index ¶
- type SecretController
- func (s *SecretController) Create(c *gin.Context)
- func (s *SecretController) Delete(c *gin.Context)
- func (s *SecretController) DeleteCollection(c *gin.Context)
- func (s *SecretController) Get(c *gin.Context)
- func (s *SecretController) List(c *gin.Context)
- func (s *SecretController) Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretController ¶ added in v1.0.5
type SecretController struct {
// contains filtered or unexported fields
}
SecretController create a secret handler used to handle request for secret resource.
func NewSecretController ¶ added in v1.0.5
func NewSecretController(store store.Factory) *SecretController
NewSecretController creates a secret handler.
func (*SecretController) Create ¶ added in v1.0.5
func (s *SecretController) Create(c *gin.Context)
Create add new secret key pairs to the storage.
func (*SecretController) Delete ¶ added in v1.0.5
func (s *SecretController) Delete(c *gin.Context)
Delete delete a secret by the secret identifier.
func (*SecretController) DeleteCollection ¶ added in v1.0.5
func (s *SecretController) DeleteCollection(c *gin.Context)
DeleteCollection delete secrets by secret names.
func (*SecretController) Get ¶ added in v1.0.5
func (s *SecretController) Get(c *gin.Context)
Get get an policy by the secret identifier.
func (*SecretController) List ¶ added in v1.0.5
func (s *SecretController) List(c *gin.Context)
List list all the secrets.
func (*SecretController) Update ¶ added in v1.0.5
func (s *SecretController) Update(c *gin.Context)
Update update a key by the secret key identifier.
Click to show internal directories.
Click to hide internal directories.