Documentation
¶
Overview ¶
Package grpc implements gRPC functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements functions needed to configure, start and stop the gRPC server.
func NewServer ¶
func NewServer(options *ServerOptions) *Server
NewServer creates a new gRPC server.
type ServerOptions ¶
type ServerOptions struct {
Listener net.Listener
Logger logger.Logger
OrganizationService organization.Service
ResourceLimitService resourcelimit.Service
ProjectService project.Service
JobService job.Service
PipelineService pipeline.Service
PipelineTemplateService pipelinetemplate.Service
TeamService team.Service
AgentService agent.Service
EnvironmentService environment.Service
ServiceAccountService serviceaccount.Service
LifecycleTemplateService lifecycletemplate.Service
ReleaseLifecycleService releaselifecycle.Service
ReleaseService release.Service
PluginRegistryService pluginregistry.Service
VCSService vcs.Service
Authenticator *auth.Authenticator
APIServerConfig *config.Config
URNResolver *urn.Resolver
OAuthProviders []config.IdpConfig
}
ServerOptions contains the options to configure the gRPC server.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package reader implements a size-limited reader for uploading templates of multiple kinds.
|
Package reader implements a size-limited reader for uploading templates of multiple kinds. |
|
Package servers implements the gRPC servers.
|
Package servers implements the gRPC servers. |
Click to show internal directories.
Click to hide internal directories.