internal

package
v0.0.4-dev Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClientError

type APIClientError struct {
	Err     error
	Message string
	Data    string
}

func (*APIClientError) Error

func (e *APIClientError) Error() string

type APIErrorResponse

type APIErrorResponse struct {
	Messages []string
	Success  bool
}

type APIResponse

type APIResponse struct {
	HTTPResponse *http.Response
	Body         []byte
}

type SecretResponseBody

type SecretResponseBody struct {
	Name  string `json:"name,omitempty"`
	Value struct {
		Raw      *string `json:"raw"`
		Computed *string `json:"computed"`
	} `json:"value,omitempty"`
	Messages *[]string `json:"messages,omitempty"`
	Success  bool      `json:"success"`
}

type SecretResult

type SecretResult struct {
	Name  string
	Value string
}

type Secrets

type Secrets map[string]string

Secrets is a collection of secrets from a config

func SortSecrets

func SortSecrets(secrets Secrets) Secrets

type SecretsDownloadResult

type SecretsDownloadResult struct {
	File     string
	Modified bool
	ETag     string
}

type SecretsResult

type SecretsResult struct {
	Secrets  Secrets
	Modified bool
	ETag     string
}

Jump to

Keyboard shortcuts

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