rpc

package
v0.0.0-...-01cd1ea Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package rpc contains rpc service implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configs

type Configs struct {
	pb.UnimplementedConfigsServer
	// Validator is used to validate configs.
	Validator validator
	// GSValidationBucket is bucket where the configs for validation upload to.
	GSValidationBucket string
}

Configs implements pb.ConfigsServer

func (Configs) GetConfig

func (c Configs) GetConfig(ctx context.Context, req *pb.GetConfigRequest) (*pb.Config, error)

GetConfig handles a request to retrieve a config. Implements pb.ConfigsServer.

func (Configs) GetConfigSet

func (c Configs) GetConfigSet(ctx context.Context, req *pb.GetConfigSetRequest) (*pb.ConfigSet, error)

GetConfigSet fetches a single config set. Implements pb.ConfigsServer.

func (Configs) GetProjectConfigs

GetProjectConfigs gets the specified project configs from all projects. Implement pb.ConfigsServer.

func (Configs) ListConfigSets

ListConfigSets returns a list of config sets. Implements pb.ConfigsServer.

func (Configs) ValidateConfigs

ValidateConfigs validates configs. Implements configpb.ConfigsServer.

Jump to

Keyboard shortcuts

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