Documentation ¶
Overview ¶
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Package tlslib provides the canonical implementation of a common TLS server.
Index ¶
- type Option
- type Server
- func (s *Server) CreateFakeOmaha(ctx context.Context, req *tls.CreateFakeOmahaRequest) (_ *tls.FakeOmaha, err error)
- func (s *Server) DeleteFakeOmaha(ctx context.Context, req *tls.DeleteFakeOmahaRequest) (*empty.Empty, error)
- func (s *Server) ExecDutCommand(req *tls.ExecDutCommandRequest, stream tls.Common_ExecDutCommandServer) error
- func (s *Server) FetchCrashes(req *tls.FetchCrashesRequest, stream tls.Common_FetchCrashesServer) error
- func (s *Server) GracefulStop()
- func (s *Server) ProvisionDut(ctx context.Context, req *tls.ProvisionDutRequest) (*longrunning.Operation, error)
- func (s *Server) ProvisionLacros(ctx context.Context, req *tls.ProvisionLacrosRequest) (*longrunning.Operation, error)
- func (s *Server) Serve(l net.Listener) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { tls.UnimplementedCommonServer // contains filtered or unexported fields }
A Server is an implementation of a common TLS server.
func (*Server) CreateFakeOmaha ¶
func (s *Server) CreateFakeOmaha(ctx context.Context, req *tls.CreateFakeOmahaRequest) (_ *tls.FakeOmaha, err error)
CreateFakeOmaha implements TLS CreateFakeOmaha API.
func (*Server) DeleteFakeOmaha ¶
func (s *Server) DeleteFakeOmaha(ctx context.Context, req *tls.DeleteFakeOmahaRequest) (*empty.Empty, error)
DeleteFakeOmaha implements TLS DeleteFakeOmaha API.
func (*Server) ExecDutCommand ¶
func (s *Server) ExecDutCommand(req *tls.ExecDutCommandRequest, stream tls.Common_ExecDutCommandServer) error
ExecDutCommand implements TLS ExecDutCommand API.
func (*Server) FetchCrashes ¶
func (s *Server) FetchCrashes(req *tls.FetchCrashesRequest, stream tls.Common_FetchCrashesServer) error
FetchCrashes implements TLS FetchCrashes API.
func (*Server) GracefulStop ¶
func (s *Server) GracefulStop()
GracefulStop stops TLS server gracefully.
func (*Server) ProvisionDut ¶
func (s *Server) ProvisionDut(ctx context.Context, req *tls.ProvisionDutRequest) (*longrunning.Operation, error)
ProvisionDut implements TLS provision API.
func (*Server) ProvisionLacros ¶
func (s *Server) ProvisionLacros(ctx context.Context, req *tls.ProvisionLacrosRequest) (*longrunning.Operation, error)
ProvisionLacros implements TLS provision API for Lacros.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
nebraska
Package nebraska implements a fake Omaha server based on "nebraska.py".
|
Package nebraska implements a fake Omaha server based on "nebraska.py". |
resource
Package resource helps to manage AIP resources (https://google.aip.dev/121).
|
Package resource helps to manage AIP resources (https://google.aip.dev/121). |