interfaces

package
v0.0.2-0...-b38e615 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulCatalog

type ConsulCatalog interface {
	Service(service, tag string, q *api.QueryOptions) ([]*api.CatalogService, *api.QueryMeta, error)
}

type VaultClient

type VaultClient interface {
	GetEndpoint() string
	WithToken(token string) VaultClient
	CreateToken(opts *api.TokenCreateRequest) (*api.Secret, error)
	WriteSecret(path string, data map[string]interface{}) (*api.Secret, error)
}

type VaultLogical

type VaultLogical interface {
	Read(path string) (*api.Secret, error)
	Write(path string, data map[string]interface{}) (*api.Secret, error)
}

type VaultTokenAuth

type VaultTokenAuth interface {
	Create(opts *api.TokenCreateRequest) (*api.Secret, error)
}

Jump to

Keyboard shortcuts

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