admin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: GPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGrpcServer

func GetGrpcServer(configInstance cred.CVRemoteConfig, secure secure_grpc.SecureGrpc, serverRunsAt string, port string, httpPort string, hhBaseUrl string) (*grpc.Server, net.Listener, storage.OcelotStorage, func(), error)

func NewGuideOcelotServer

func NewGuideOcelotServer(config cred.CVRemoteConfig, d *deserialize.Deserializer, adminV *cred.AdminValidator, repoV *cred.RepoValidator, storage storage.OcelotStorage, hhBaseUrl string) pb.GuideOcelotServer

func RespWrap

func RespWrap(msg string) *pb.LineResponse

RespWrap will wrap streaming messages in a LineResponse object to be sent by the server stream

func SetupCredentials

func SetupCredentials(gosss pb.GuideOcelotServer, config *pb.VCSCreds) error

when new configurations are added to the config channel, create bitbucket client and webhooks

func SetupRCCCredentials

func SetupRCCCredentials(remoteConf cred.CVRemoteConfig, store storage.CredTable, config pb.OcyCredder) error

func Start

func Start(grpcServer *grpc.Server, listener net.Listener)

Start will kick off our grpc server so it's ready to receive requests over both grpc and http

Types

This section is empty.

Jump to

Keyboard shortcuts

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