server

package
v0.0.0-...-a686cab Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 5 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 {
	pb.UnimplementedControlServer
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, dbDir string, dbo database.Option) (*Server, error)

func (*Server) AddEnvironment

func (c *Server) AddEnvironment(_ context.Context, in *pb.AddEnvironmentRequest) (*pb.AddEnvironmentReply, error)

func (*Server) AddPackage

func (c *Server) AddPackage(ctx context.Context, in *pb.AddPackageRequest) (*pb.AddPackageReply, error)

func (*Server) AddTenant

func (c *Server) AddTenant(_ context.Context, in *pb.AddTenantRequest) (*pb.AddTenantReply, error)

func (*Server) AllPackages

func (c *Server) AllPackages(_ context.Context, _ *pb.Void) (*pb.AllPackagesReply, error)

func (*Server) Close

func (c *Server) Close() error

func (*Server) DeletePackage

func (c *Server) DeletePackage(ctx context.Context, in *pb.DeletePackageRequest) (*pb.Void, error)

func (*Server) Environment

func (c *Server) Environment(_ context.Context, _ *pb.Void) (*pb.EnvironmentReply, error)

func (*Server) Packages

func (c *Server) Packages(_ context.Context, in *pb.PackagesRequest) (*pb.PackagesReply, error)

func (*Server) Tenants

func (c *Server) Tenants(_ context.Context, in *pb.TenantsRequest) (*pb.TenantsReply, error)

func (*Server) UpdateEnvironment

func (c *Server) UpdateEnvironment(_ context.Context, in *pb.UpdateEnvironmentRequest) (*pb.Void, error)

func (*Server) UpdatePackage

func (c *Server) UpdatePackage(ctx context.Context, in *pb.UpdatePackageRequest) (*pb.Void, error)

func (*Server) UpdateToEnvironmentStr

func (c *Server) UpdateToEnvironmentStr(req *pb.Void, ctl pb.Control_UpdateToEnvironmentStrServer) error

func (*Server) UpdateToPackagesStr

Jump to

Keyboard shortcuts

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