metadata

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package metadata contains components for accessing Kyma storage (Remote Environments, Minio)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 *serviceapi.API
	// Events of a service
	Events *Events
	// Documentation of service
	Documentation []byte
}

ServiceDefinition is an internal representation of a service.

type ServiceDefinitionService

type ServiceDefinitionService interface {
	// GetAPI gets API of a service with given ID
	GetAPI(serviceId string) (*serviceapi.API, apperrors.AppError)
}

ServiceDefinitionService is a service that manages ServiceDefinition objects.

func NewServiceDefinitionService

func NewServiceDefinitionService(serviceAPIService serviceapi.Service, remoteEnvironmentRepository remoteenv.ServiceRepository) ServiceDefinitionService

NewServiceDefinitionService creates new ServiceDefinitionService with provided dependencies.

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
Package remoteenv contains components for accessing/modifying Remote Environment CRD
Package remoteenv contains components for accessing/modifying Remote Environment CRD
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
Package secrets contains components for accessing/modifying client secrets
Package secrets contains components for accessing/modifying client secrets
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.
mocks
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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