Documentation ¶
Index ¶
Constants ¶
View Source
const ( GitHubWorkflowSecretsTableName = "GitHubWorkflowSecrets" GitHubRunId = "runId" GitHubOwner = "owner" GitHubRepo = "repo" )
Variables ¶
This section is empty.
Functions ¶
func DeleteSecrets ¶
func DeleteSecrets(authHeader string, svc dynamodbiface.DynamoDBAPI) error
func SetSecrets ¶
func SetSecrets(body string, svc dynamodbiface.DynamoDBAPI) error
Types ¶
type GitHubWorkflowSecrets ¶
type GitHubWorkflowSecrets struct { Repo string `json:"repo"` RunId string `json:"runId"` AreSecretsSet bool `json:"areSecretsSet"` Secrets []Secret `json:"secrets"` Ref string `json:"ref"` RefType string `json:"ref_type"` Workflow string `json:"workflow"` EventName string `json:"event_name"` JobWorkflowRef string `json:"job_workflow_ref"` }
func GetSecrets ¶
func GetSecrets(queryStringParams map[string]string, authHeader string, svc dynamodbiface.DynamoDBAPI, skipValidation bool) (*GitHubWorkflowSecrets, error)
func InitSecrets ¶
func InitSecrets(body string, authHeader string, svc dynamodbiface.DynamoDBAPI) (*GitHubWorkflowSecrets, error)
Click to show internal directories.
Click to hide internal directories.