Documentation ¶
Index ¶
- func GetGrpcServer(configInstance cred.CVRemoteConfig, secure secure_grpc.SecureGrpc, ...) (*grpc.Server, net.Listener, storage.OcelotStorage, func(), error)
- func NewGuideOcelotServer(config cred.CVRemoteConfig, d *deserialize.Deserializer, ...) pb.GuideOcelotServer
- func RespWrap(msg string) *pb.LineResponse
- func SetupCredentials(gosss pb.GuideOcelotServer, config *pb.VCSCreds) error
- func SetupRCCCredentials(remoteConf cred.CVRemoteConfig, store storage.CredTable, config pb.OcyCredder) error
- func Start(grpcServer *grpc.Server, listener net.Listener)
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.