services

package
v0.0.0-...-ac7f640 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package services is a generated protocol buffer package.

It is generated from these files:

services.proto

It has these top-level messages:

BuildRequest
BuildResponse
PostDeployRequest
PostDeployResponse
SecretRequest
SecretResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPostDeployServer

func RegisterPostDeployServer(s *grpc.Server, srv PostDeployServer)

func RegisterSecretServer

func RegisterSecretServer(s *grpc.Server, srv SecretServer)

func RegisterServiceBuilderServer

func RegisterServiceBuilderServer(s *grpc.Server, srv ServiceBuilderServer)

Types

type BuildRequest

type BuildRequest struct {
	Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*BuildRequest) Descriptor

func (*BuildRequest) Descriptor() ([]byte, []int)

func (*BuildRequest) GetMsg

func (m *BuildRequest) GetMsg() []byte

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) Reset

func (m *BuildRequest) Reset()

func (*BuildRequest) String

func (m *BuildRequest) String() string

type BuildResponse

type BuildResponse struct {
	Artifacts []byte `protobuf:"bytes,1,opt,name=artifacts,proto3" json:"artifacts,omitempty"`
}

func (*BuildResponse) Descriptor

func (*BuildResponse) Descriptor() ([]byte, []int)

func (*BuildResponse) GetArtifacts

func (m *BuildResponse) GetArtifacts() []byte

func (*BuildResponse) ProtoMessage

func (*BuildResponse) ProtoMessage()

func (*BuildResponse) Reset

func (m *BuildResponse) Reset()

func (*BuildResponse) String

func (m *BuildResponse) String() string

type PostDeployClient

type PostDeployClient interface {
	Run(ctx context.Context, in *PostDeployRequest, opts ...grpc.CallOption) (*PostDeployResponse, error)
}

func NewPostDeployClient

func NewPostDeployClient(cc *grpc.ClientConn) PostDeployClient

type PostDeployRequest

type PostDeployRequest struct {
	Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*PostDeployRequest) Descriptor

func (*PostDeployRequest) Descriptor() ([]byte, []int)

func (*PostDeployRequest) GetMsg

func (m *PostDeployRequest) GetMsg() []byte

func (*PostDeployRequest) ProtoMessage

func (*PostDeployRequest) ProtoMessage()

func (*PostDeployRequest) Reset

func (m *PostDeployRequest) Reset()

func (*PostDeployRequest) String

func (m *PostDeployRequest) String() string

type PostDeployResponse

type PostDeployResponse struct {
}

func (*PostDeployResponse) Descriptor

func (*PostDeployResponse) Descriptor() ([]byte, []int)

func (*PostDeployResponse) ProtoMessage

func (*PostDeployResponse) ProtoMessage()

func (*PostDeployResponse) Reset

func (m *PostDeployResponse) Reset()

func (*PostDeployResponse) String

func (m *PostDeployResponse) String() string

type PostDeployServer

type PostDeployServer interface {
	Run(context.Context, *PostDeployRequest) (*PostDeployResponse, error)
}

type SecretClient

type SecretClient interface {
	Get(ctx context.Context, in *SecretRequest, opts ...grpc.CallOption) (*SecretResponse, error)
}

func NewSecretClient

func NewSecretClient(cc *grpc.ClientConn) SecretClient

type SecretRequest

type SecretRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*SecretRequest) Descriptor

func (*SecretRequest) Descriptor() ([]byte, []int)

func (*SecretRequest) GetName

func (m *SecretRequest) GetName() string

func (*SecretRequest) ProtoMessage

func (*SecretRequest) ProtoMessage()

func (*SecretRequest) Reset

func (m *SecretRequest) Reset()

func (*SecretRequest) String

func (m *SecretRequest) String() string

type SecretResponse

type SecretResponse struct {
	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Exists bool   `protobuf:"varint,2,opt,name=exists" json:"exists,omitempty"`
}

func (*SecretResponse) Descriptor

func (*SecretResponse) Descriptor() ([]byte, []int)

func (*SecretResponse) GetData

func (m *SecretResponse) GetData() []byte

func (*SecretResponse) GetExists

func (m *SecretResponse) GetExists() bool

func (*SecretResponse) ProtoMessage

func (*SecretResponse) ProtoMessage()

func (*SecretResponse) Reset

func (m *SecretResponse) Reset()

func (*SecretResponse) String

func (m *SecretResponse) String() string

type SecretServer

type SecretServer interface {
	Get(context.Context, *SecretRequest) (*SecretResponse, error)
}

type ServiceBuilderClient

type ServiceBuilderClient interface {
	ServiceBuild(ctx context.Context, in *BuildRequest, opts ...grpc.CallOption) (ServiceBuilder_ServiceBuildClient, error)
}

func NewServiceBuilderClient

func NewServiceBuilderClient(cc *grpc.ClientConn) ServiceBuilderClient

type ServiceBuilderServer

type ServiceBuilderServer interface {
	ServiceBuild(*BuildRequest, ServiceBuilder_ServiceBuildServer) error
}

type ServiceBuilder_ServiceBuildClient

type ServiceBuilder_ServiceBuildClient interface {
	Recv() (*BuildResponse, error)
	grpc.ClientStream
}

type ServiceBuilder_ServiceBuildServer

type ServiceBuilder_ServiceBuildServer interface {
	Send(*BuildResponse) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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