model

package
v0.0.0-...-7d69bf5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// TargetUrl points to API.
	TargetUrl string
	// Credentials is a credentials of API.
	Credentials *authorization.Credentials
	// Spec contains specification of an API.
	Spec []byte
	// RequestParameters will be used with request send by the Application Gateway
	RequestParameters *authorization.RequestParameters
}

API is an internal representation of a service's API.

type Events

type Events struct {
	// Spec contains data of events specification.
	Spec []byte
}

Events contains specification for events.

type ServiceDefinition

type ServiceDefinition struct {
	// ID of service
	ID string
	// Name of a service
	Name string
	// Provider of a service
	Provider string
	// Description of a service
	Description string
	// Api of a service
	Api *API
	// Events of a service
	Events *Events
	// Documentation of service
	Documentation []byte
}

ServiceDefinition is an internal representation of a service.

Jump to

Keyboard shortcuts

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