service

package
v0.0.1-preview3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnaryServerTokenAuth

func UnaryServerTokenAuth(systemAdminKey key.ServerPrivate) func(context.Context, interface{}, *grpc.UnaryServerInfo, grpc.UnaryHandler) (interface{}, error)

Types

type Service

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

func NewService

func NewService(repository domain.Repository, brokerPool *broker.BrokerPool) *Service

func (*Service) CreateAuthFilter

func (*Service) CreateAuthKey

func (*Service) CreateAuthMethod

func (*Service) CreateTailnet

func (*Service) DeleteAuthFilter

func (*Service) DeleteAuthKey

func (*Service) DeleteMachine

func (*Service) DeleteTailnet

func (*Service) ExpireMachine

func (*Service) GetACLPolicy

func (*Service) GetAuthKey

func (s *Service) GetAuthKey(ctx context.Context, req *api.GetAuthKeyRequest) (*api.GetAuthKeyResponse, error)

func (*Service) GetDERPMap

func (s *Service) GetDERPMap(ctx context.Context, req *api.GetDERPMapRequest) (*api.GetDERPMapResponse, error)

func (*Service) GetDNSConfig

func (*Service) GetMachineRoutes

func (*Service) GetTailnet

func (s *Service) GetTailnet(ctx context.Context, req *api.GetTailnetRequest) (*api.GetTailnetResponse, error)

func (*Service) GetVersion

func (s *Service) GetVersion(ctx context.Context, req *api.GetVersionRequest) (*api.GetVersionResponse, error)

func (*Service) ListAuthFilters

func (*Service) ListAuthKeys

func (*Service) ListAuthMethods

func (*Service) ListMachines

func (*Service) ListTailnets

func (*Service) SetACLPolicy

func (*Service) SetDERPMap

func (s *Service) SetDERPMap(ctx context.Context, req *api.SetDERPMapRequest) (*api.SetDERPMapResponse, error)

func (*Service) SetDNSConfig

func (*Service) SetMachineRoutes

Jump to

Keyboard shortcuts

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