secret

package
v0.6.50 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package secret lets you add secrests. Language Go makes you write extra.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSecret

func NewCmdSecret(secretStore SecretStore, t *terminal.Terminal) *cobra.Command

Types

type SecretStore

type SecretStore interface {
	CreateSecret(req store.CreateSecretRequest) (*store.CreateSecretRequest, error)
	GetCurrentUser() (*entity.User, error)
	GetActiveOrganizationOrDefault() (*entity.Organization, error)
}

Jump to

Keyboard shortcuts

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