serviceapi

package
v0.0.0-...-f942f97 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// New handles a new API. It creates all required resources.
	New(application string, appUID types.UID, id, displayName string, api *model.API) (*applications.ServiceAPI, apperrors.AppError)
	// Read reads API from Application API definition. It also reads all additional information.
	Read(application string, serviceApi *applications.ServiceAPI) (*model.API, apperrors.AppError)
	// Delete removes API with given id.
	Delete(application, id string) apperrors.AppError
	// Update replaces existing API with a new one.
	Update(application string, appUID types.UID, id, displayName string, api *model.API) (*applications.ServiceAPI, apperrors.AppError)
}

Service manages API definition of a service

func NewService

func NewService(
	nameResolver k8sconsts.NameResolver,
	accessServiceManager accessservice.AccessServiceManager,
	secretsService secrets.Service,
	requestParametersSecretsService secrets.RequestParametersService) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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