monitor

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocationDescriptor

func LocationDescriptor(sd *form_v1.LocationDescriptor) zapcore.Field

func LocationDescriptorError

func LocationDescriptorError(err error) zapcore.Field

func Service

func Service(sd *creator_v1.Service) zapcore.Field

func ServiceDescriptor

func ServiceDescriptor(sd *comp_v1.ServiceDescriptor) zapcore.Field

func ServiceDescriptorError

func ServiceDescriptorError(err error) zapcore.Field

func ServiceError

func ServiceError(err error) zapcore.Field

func ServiceInstance

func ServiceInstance(si *v1beta1.ServiceInstance) zapcore.Field

func ServiceInstanceError

func ServiceInstanceError(err error) zapcore.Field

Types

type Monitor

type Monitor struct {
	ServiceDescriptorName  string
	Logger                 *zap.Logger
	Location               voyager.Location
	ExpectedProcessingTime time.Duration
	ServiceSpec            creator_v1.ServiceSpec
	ServiceDescriptor      *comp_v1.ServiceDescriptor

	ServiceDescriptorClient  comp_v1_client.ServiceDescriptorInterface
	ServiceCatalogClient     sc_v1b1_client.Interface
	CreatorServiceClient     creator_v1_client.ServiceInterface
	LocationDescriptorClient form_v1_client.LocationDescriptorInterface
}

func (*Monitor) Run

func (m *Monitor) Run(ctx context.Context) (retErr error)

Jump to

Keyboard shortcuts

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