version

package
v2.6.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v2.6.0

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(authenticator settings.Authenticator, disableAuth func() (bool, error)) *Server

func (*Server) AuthFuncOverride added in v2.6.0

func (s *Server) AuthFuncOverride(ctx context.Context, fullMethodName string) (context.Context, error)

AuthFuncOverride allows the version to be returned without auth

func (*Server) Version added in v2.6.0

func (s *Server) Version(ctx context.Context, _ *empty.Empty) (*version.VersionMessage, error)

Version returns the version of the API server

Jump to

Keyboard shortcuts

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