services_providers

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Copyright © 2021-2023 Nikita Ivanovski info@slnt-opp.xyz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2021-2023 Nikita Ivanovski info@slnt-opp.xyz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitoringRoutineConf

type MonitoringRoutineConf struct {
	Frequency int `json:"freq"` // Frequency in Seconds
}

func MakeConf

func MakeConf(ctx context.Context, log *zap.Logger, upd chan bool) (conf MonitoringRoutineConf)

type Routine

type Routine struct {
	Name     string
	LastExec string
	Running  bool
}

type ServicesProviderServer

type ServicesProviderServer struct {
	sppb.UnimplementedServicesProvidersServiceServer
	// contains filtered or unexported fields
}

func NewServicesProviderServer

func NewServicesProviderServer(log *zap.Logger, db driver.Database, rbmq *amqp.Connection) *ServicesProviderServer

func (*ServicesProviderServer) BindPlan

func (*ServicesProviderServer) Create

func (*ServicesProviderServer) Delete

func (*ServicesProviderServer) Get

func (s *ServicesProviderServer) Get(ctx context.Context, request *sppb.GetRequest) (res *sppb.ServicesProvider, err error)

func (*ServicesProviderServer) Invoke

func (*ServicesProviderServer) List

func (*ServicesProviderServer) ListExtentions

func (s *ServicesProviderServer) ListExtentions(ctx context.Context, req *sppb.ListRequest) (res *sppb.ListExtentionsResponse, err error)

func (*ServicesProviderServer) MonitoringRoutine

func (s *ServicesProviderServer) MonitoringRoutine(ctx context.Context)

func (*ServicesProviderServer) MonitoringRoutineState

func (s *ServicesProviderServer) MonitoringRoutineState() Routine

func (*ServicesProviderServer) Prep added in v0.0.18

func (*ServicesProviderServer) RegisterDriver

func (s *ServicesProviderServer) RegisterDriver(type_key string, client driverpb.DriverServiceClient)

func (*ServicesProviderServer) RegisterExtentionServer

func (s *ServicesProviderServer) RegisterExtentionServer(type_key string, client sppb.ServicesProvidersExtentionsServiceClient)

func (*ServicesProviderServer) Test

func (*ServicesProviderServer) UnbindPlan

func (*ServicesProviderServer) UnregisterExtentions

func (s *ServicesProviderServer) UnregisterExtentions(ctx context.Context, log *zap.Logger, sp *graph.ServicesProvider)

func (*ServicesProviderServer) Update

Jump to

Keyboard shortcuts

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