handler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 6 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 struct {
	v1.UnimplementedServiceServer
	Environment    *logic.Environment
	Server         *logic.Server
	Resource       *logic.Resource
	ResourceServer *logic.ResourceServer
	ResourceValue  *logic.ResourceValue
	Business       *logic.Business
	BusinessValue  *logic.BusinessValue
	Template       *logic.Template
}

Service is a greeter service.

func New

func New(config *config.Config) *Service

func (*Service) AddBusiness

func (s *Service) AddBusiness(ctx context.Context, in *v1.AddBusinessRequest) (*emptypb.Empty, error)

func (*Service) AddBusinessValue

func (s *Service) AddBusinessValue(ctx context.Context, in *v1.AddBusinessValueRequest) (*emptypb.Empty, error)

func (*Service) AddEnvironment

func (s *Service) AddEnvironment(ctx context.Context, in *v1.AddEnvironmentRequest) (*emptypb.Empty, error)

func (*Service) AddResource

func (s *Service) AddResource(ctx context.Context, in *v1.AddResourceRequest) (*emptypb.Empty, error)

func (*Service) AddResourceServer

func (s *Service) AddResourceServer(ctx context.Context, in *v1.AddResourceServerRequest) (*emptypb.Empty, error)

func (*Service) AddResourceValue

func (s *Service) AddResourceValue(ctx context.Context, in *v1.AddResourceValueRequest) (*emptypb.Empty, error)

func (*Service) AddServer

func (s *Service) AddServer(ctx context.Context, in *v1.AddServerRequest) (*emptypb.Empty, error)

func (*Service) AddTemplate

func (s *Service) AddTemplate(ctx context.Context, in *v1.AddTemplateRequest) (*emptypb.Empty, error)

func (*Service) AllBusinessValue

func (s *Service) AllBusinessValue(ctx context.Context, in *v1.AllBusinessValueRequest) (*v1.AllBusinessValueReply, error)

func (*Service) AllEnvironment

func (s *Service) AllEnvironment(ctx context.Context, in *emptypb.Empty) (*v1.AllEnvironmentReply, error)

func (*Service) AllResourceServer

func (s *Service) AllResourceServer(ctx context.Context, in *v1.AllResourceServerRequest) (*v1.AllResourceServerReply, error)

func (*Service) AllResourceValue

func (s *Service) AllResourceValue(ctx context.Context, in *v1.AllResourceValueRequest) (*v1.AllResourceValueReply, error)

func (*Service) AllServerResource

func (s *Service) AllServerResource(ctx context.Context, in *v1.AllServerResourceRequest) (*v1.AllServerResourceReply, error)

func (*Service) CurrentTemplate

func (s *Service) CurrentTemplate(ctx context.Context, in *v1.CurrentTemplateRequest) (*v1.CurrentTemplateReply, error)

func (*Service) DeleteBusiness

func (s *Service) DeleteBusiness(ctx context.Context, in *v1.DeleteBusinessRequest) (*emptypb.Empty, error)

func (*Service) DeleteEnvironment

func (s *Service) DeleteEnvironment(ctx context.Context, in *v1.DeleteEnvironmentRequest) (*emptypb.Empty, error)

func (*Service) DeleteResource

func (s *Service) DeleteResource(ctx context.Context, in *v1.DeleteResourceRequest) (*emptypb.Empty, error)

func (*Service) DeleteResourceServer

func (s *Service) DeleteResourceServer(ctx context.Context, in *v1.DeleteResourceServerRequest) (*emptypb.Empty, error)

func (*Service) DeleteServer

func (s *Service) DeleteServer(ctx context.Context, in *v1.DeleteServerRequest) (*emptypb.Empty, error)

func (*Service) GetConfig

func (s *Service) GetConfig(ctx context.Context, in *v1.GetConfigRequest) (*v1.GetConfigReply, error)

func (*Service) GetEnvironmentToken

func (*Service) GetServer

func (s *Service) GetServer(ctx context.Context, in *v1.GetServerRequest) (*v1.GetServerReply, error)

func (*Service) GetTemplate

func (s *Service) GetTemplate(ctx context.Context, in *v1.GetTemplateRequest) (*v1.GetTemplateReply, error)

func (*Service) PageBusiness

func (s *Service) PageBusiness(ctx context.Context, in *v1.PageBusinessRequest) (*v1.PageBusinessReply, error)

func (*Service) PageResource

func (s *Service) PageResource(ctx context.Context, in *v1.PageResourceRequest) (*v1.PageResourceReply, error)

func (*Service) PageServer

func (s *Service) PageServer(ctx context.Context, in *v1.PageServerRequest) (*v1.PageServerReply, error)

func (*Service) PageTemplate

func (s *Service) PageTemplate(ctx context.Context, in *v1.PageTemplateRequest) (*v1.PageTemplateReply, error)

func (*Service) ResetEnvironmentToken

func (s *Service) ResetEnvironmentToken(ctx context.Context, in *v1.ResetEnvironmentTokenRequest) (*emptypb.Empty, error)

func (*Service) UpdateBusiness

func (s *Service) UpdateBusiness(ctx context.Context, in *v1.UpdateBusinessRequest) (*emptypb.Empty, error)

func (*Service) UpdateBusinessValue

func (s *Service) UpdateBusinessValue(ctx context.Context, in *v1.UpdateBusinessValueRequest) (*emptypb.Empty, error)

func (*Service) UpdateEnvironment

func (s *Service) UpdateEnvironment(ctx context.Context, in *v1.UpdateEnvironmentRequest) (*emptypb.Empty, error)

func (*Service) UpdateResource

func (s *Service) UpdateResource(ctx context.Context, in *v1.UpdateResourceRequest) (*emptypb.Empty, error)

func (*Service) UpdateResourceValue

func (s *Service) UpdateResourceValue(ctx context.Context, in *v1.UpdateResourceValueRequest) (*emptypb.Empty, error)

func (*Service) UpdateServer

func (s *Service) UpdateServer(ctx context.Context, in *v1.UpdateServerRequest) (*emptypb.Empty, error)

func (*Service) UseTemplateVersion

func (s *Service) UseTemplateVersion(ctx context.Context, in *v1.UseTemplateVersionRequest) (*emptypb.Empty, error)

func (*Service) WatchConfig

func (s *Service) WatchConfig(req *v1.GetConfigRequest, reply v1.Service_WatchConfigServer) error

Jump to

Keyboard shortcuts

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