serviceapi

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientIDKey        = "clientId"
	ClientSecretKey    = "clientSecret"
	UsernameKey        = "username"
	PasswordKey        = "password"
	TypeOAuth          = "OAuth"
	TypeBasic          = "Basic"
	TypeCertificateGen = "CertificateGen"
	PrivateKeyKey      = "key"
	CertificateKey     = "crt"
	CommonNameKey      = "commonName"

	HeadersKey         = "headers"
	QueryParametersKey = "queryParameters"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Read reads API from Application API definition. It also reads all additional information.
	Read(*applications.ServiceAPI) (*model.API, apperrors.AppError)
}

Service manages API definition of a service

func NewService

func NewService(secretsRepository secrets.Repository) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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