metadata

package
v1.53.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: GPL-3.0 Imports: 9 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 {
	meta.UnimplementedMetadataServiceServer
	// contains filtered or unexported fields
}

func New added in v1.29.0

func New(cfg *config.Config, info info.Flipt) *Server

func (*Server) GetConfiguration

func (s *Server) GetConfiguration(ctx context.Context, _ *emptypb.Empty) (*httpbody.HttpBody, error)

GetConfiguration returns a HttpBody instance containing the Flipt instance's configuration structure marshalled as JSON.

func (*Server) GetInfo

func (s *Server) GetInfo(ctx context.Context, _ *emptypb.Empty) (*httpbody.HttpBody, error)

GetInfo returns a HttpBody instance containing the Flipt instance's runtime information marshalled as JSON.

func (*Server) RegisterGRPC

func (s *Server) RegisterGRPC(server *grpc.Server)

RegisterGRPC registers the server on the provided gRPC server instance.

func (*Server) SkipsAuthorization added in v1.43.0

func (s *Server) SkipsAuthorization(ctx context.Context) bool

Jump to

Keyboard shortcuts

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