secret

package
v0.0.0-...-7799e87 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Secret

type Secret struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
	Id    string      `json:"id"`
}

type Store

type Store interface {
	Exists(name string) bool
	GetLatestByName(name string) (Secret, error)
	GetByName(name string) ([]Secret, error)
	GetById(id string) (Secret, error)
	Set(name string, value interface{}) (string, error)
	DeleteByName(name string) error
	Healthy() bool
}

Jump to

Keyboard shortcuts

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