backend

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRepo

func GetRepo(configFile string, kind string) (repository, error)

Types

type FileRepo

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

func (FileRepo) DeleteState

func (r FileRepo) DeleteState() error

part of repository interface

type GetStateError

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

func (*GetStateError) Error

func (e *GetStateError) Error() string

type GopassConfig

type GopassConfig struct {
	Kind    string            `hcl:",label"`
	State   string            `hcl:"state"`
	Secrets map[string]string `hcl:"secret,optional"`
}

type GopassHcl

type GopassHcl struct {
	Repo GopassConfig `hcl:"repository,block"`
}

type GopassRepo

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

func (GopassRepo) DeleteState

func (r GopassRepo) DeleteState() error

part of repository interface

type Http

type Http struct {
	Port       string
	Kind       string
	ConfigFile string
}

func (Http) Run

func (h Http) Run() (url string, err error)

Jump to

Keyboard shortcuts

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