Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	sdcpb.UnimplementedDataServerServer
	sdcpb.UnimplementedSchemaServerServer
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, c *config.Config) (*Server, error)

func (*Server) Commit

func (*Server) CreateDataStore

func (*Server) CreateSchema

func (*Server) DeleteDataStore

func (*Server) DeleteSchema

func (*Server) Diff

func (s *Server) Diff(ctx context.Context, req *sdcpb.DiffRequest) (*sdcpb.DiffResponse, error)

func (*Server) Discard

func (*Server) ExpandPath

func (*Server) GetData

data

func (*Server) GetDataStore

func (*Server) GetIntent

func (*Server) GetSchema

func (*Server) GetSchemaDetails

func (*Server) GetSchemaElements

func (s *Server) GetSchemaElements(req *sdcpb.GetSchemaRequest, stream sdcpb.SchemaServer_GetSchemaElementsServer) error

func (*Server) ListDataStore

datastore

func (*Server) ListIntent

func (*Server) ListSchema

func (*Server) Rebase

func (*Server) ReloadSchema

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

func (*Server) ServeHTTP

func (s *Server) ServeHTTP()

func (*Server) SetData

func (*Server) SetIntent

func (*Server) Stop

func (s *Server) Stop()

func (*Server) Subscribe

func (*Server) ToPath

func (*Server) UploadSchema

func (s *Server) UploadSchema(stream sdcpb.SchemaServer_UploadSchemaServer) error

BROKEN

func (*Server) Watch

func (s *Server) Watch(req *sdcpb.WatchRequest, stream sdcpb.DataServer_WatchServer) error

func (*Server) WatchDeviations

Jump to

Keyboard shortcuts

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