buildsecrets

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeBuildSecret

func ChangeBuildSecret(accounts models.Accounts, w http.ResponseWriter, r *http.Request)

ChangeBuildSecret Modifies an application build secret

func GetBuildSecrets

func GetBuildSecrets(accounts models.Accounts, w http.ResponseWriter, r *http.Request)

GetBuildSecrets Lists build secrets

func NewBuildSecretsController

func NewBuildSecretsController() models.Controller

NewBuildSecretsController Constructor

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler Instance variables

func Init

func Init(accounts sharedModels.Accounts) Handler

Init Constructor

func (Handler) ChangeBuildSecret

func (sh Handler) ChangeBuildSecret(appName, secretName, secretValue string) error

ChangeBuildSecret handler to modify the build secret

func (Handler) GetBuildSecrets

func (sh Handler) GetBuildSecrets(appName string) ([]buildSecretsModels.BuildSecret, error)

GetBuildSecrets Lists build secrets for application

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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