libs

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library struct {
	Utils utils.UtilsInterface
}

func LibraryHandler

func LibraryHandler() *Library

func (*Library) DecryptValue

func (libs *Library) DecryptValue(value string) ([]byte, error)

DecryptValue ...

func (*Library) EncryptValue

func (libs *Library) EncryptValue(value string) ([]byte, error)

EncryptValue ...

func (*Library) GetClients

func (libs *Library) GetClients(path string) (*etcd.EtcdLibs, error)

GetClients ...

func (*Library) PutByPath

func (libs *Library) PutByPath(EnvPath string, data *entity.TemplatesModels) error

PutByPath ..

type LibraryInterface

type LibraryInterface interface {
	GetClients(path string) (*etcd.EtcdLibs, error)
	EncryptValue(value string) ([]byte, error)
	DecryptValue(value string) ([]byte, error)
	PutByPath(EnvPath string, data *entity.TemplatesModels) error
}

Jump to

Keyboard shortcuts

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