Documentation ¶
Overview ¶
Package deploy is a generated protocol buffer package.
It is generated from these files:
pkg/protobuf/deploy/deploy.proto
It has these top-level messages:
DeployRequest DeployResponse ListRequest ListResponse RollbackRequest Empty
Index ¶
- func RegisterDeployServer(s *grpc.Server, srv DeployServer)
- type DeployClient
- type DeployRequest
- func (*DeployRequest) Descriptor() ([]byte, []int)
- func (m *DeployRequest) GetFile() *DeployRequest_File
- func (m *DeployRequest) GetInfo() *DeployRequest_Info
- func (m *DeployRequest) GetValue() isDeployRequest_Value
- func (*DeployRequest) ProtoMessage()
- func (m *DeployRequest) Reset()
- func (m *DeployRequest) String() string
- func (*DeployRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type DeployRequest_File
- type DeployRequest_File_
- type DeployRequest_Info
- type DeployRequest_Info_
- type DeployResponse
- type DeployServer
- type Deploy_MakeClient
- type Deploy_MakeServer
- type Empty
- type ListRequest
- type ListResponse
- type ListResponse_Deploy
- func (*ListResponse_Deploy) Descriptor() ([]byte, []int)
- func (m *ListResponse_Deploy) GetCreatedAt() string
- func (m *ListResponse_Deploy) GetCurrent() bool
- func (m *ListResponse_Deploy) GetDescription() string
- func (m *ListResponse_Deploy) GetRevision() string
- func (*ListResponse_Deploy) ProtoMessage()
- func (m *ListResponse_Deploy) Reset()
- func (m *ListResponse_Deploy) String() string
- type RollbackRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDeployServer ¶
func RegisterDeployServer(s *grpc.Server, srv DeployServer)
Types ¶
type DeployClient ¶
type DeployClient interface { Make(ctx context.Context, opts ...grpc.CallOption) (Deploy_MakeClient, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*Empty, error) }
func NewDeployClient ¶
func NewDeployClient(cc *grpc.ClientConn) DeployClient
type DeployRequest ¶
type DeployRequest struct { // Types that are valid to be assigned to Value: // *DeployRequest_Info_ // *DeployRequest_File_ Value isDeployRequest_Value `protobuf_oneof:"value"` }
func (*DeployRequest) Descriptor ¶
func (*DeployRequest) Descriptor() ([]byte, []int)
func (*DeployRequest) GetFile ¶
func (m *DeployRequest) GetFile() *DeployRequest_File
func (*DeployRequest) GetInfo ¶
func (m *DeployRequest) GetInfo() *DeployRequest_Info
func (*DeployRequest) GetValue ¶
func (m *DeployRequest) GetValue() isDeployRequest_Value
func (*DeployRequest) ProtoMessage ¶
func (*DeployRequest) ProtoMessage()
func (*DeployRequest) Reset ¶
func (m *DeployRequest) Reset()
func (*DeployRequest) String ¶
func (m *DeployRequest) String() string
func (*DeployRequest) XXX_OneofFuncs ¶
func (*DeployRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type DeployRequest_File ¶
type DeployRequest_File struct {
Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}
func (*DeployRequest_File) Descriptor ¶
func (*DeployRequest_File) Descriptor() ([]byte, []int)
func (*DeployRequest_File) GetChunk ¶
func (m *DeployRequest_File) GetChunk() []byte
func (*DeployRequest_File) ProtoMessage ¶
func (*DeployRequest_File) ProtoMessage()
func (*DeployRequest_File) Reset ¶
func (m *DeployRequest_File) Reset()
func (*DeployRequest_File) String ¶
func (m *DeployRequest_File) String() string
type DeployRequest_File_ ¶
type DeployRequest_File_ struct {
File *DeployRequest_File `protobuf:"bytes,2,opt,name=file,oneof"`
}
type DeployRequest_Info ¶
type DeployRequest_Info struct { App string `protobuf:"bytes,1,opt,name=app" json:"app,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` }
func (*DeployRequest_Info) Descriptor ¶
func (*DeployRequest_Info) Descriptor() ([]byte, []int)
func (*DeployRequest_Info) GetApp ¶
func (m *DeployRequest_Info) GetApp() string
func (*DeployRequest_Info) GetDescription ¶
func (m *DeployRequest_Info) GetDescription() string
func (*DeployRequest_Info) ProtoMessage ¶
func (*DeployRequest_Info) ProtoMessage()
func (*DeployRequest_Info) Reset ¶
func (m *DeployRequest_Info) Reset()
func (*DeployRequest_Info) String ¶
func (m *DeployRequest_Info) String() string
type DeployRequest_Info_ ¶
type DeployRequest_Info_ struct {
Info *DeployRequest_Info `protobuf:"bytes,1,opt,name=info,oneof"`
}
type DeployResponse ¶
type DeployResponse struct {
Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}
func (*DeployResponse) Descriptor ¶
func (*DeployResponse) Descriptor() ([]byte, []int)
func (*DeployResponse) GetText ¶
func (m *DeployResponse) GetText() string
func (*DeployResponse) ProtoMessage ¶
func (*DeployResponse) ProtoMessage()
func (*DeployResponse) Reset ¶
func (m *DeployResponse) Reset()
func (*DeployResponse) String ¶
func (m *DeployResponse) String() string
type DeployServer ¶
type DeployServer interface { Make(Deploy_MakeServer) error List(context.Context, *ListRequest) (*ListResponse, error) Rollback(context.Context, *RollbackRequest) (*Empty, error) }
type Deploy_MakeClient ¶
type Deploy_MakeClient interface { Send(*DeployRequest) error Recv() (*DeployResponse, error) grpc.ClientStream }
type Deploy_MakeServer ¶
type Deploy_MakeServer interface { Send(*DeployResponse) error Recv() (*DeployRequest, error) grpc.ServerStream }
type Empty ¶ added in v0.8.0
type Empty struct { }
func (*Empty) Descriptor ¶ added in v0.8.0
func (*Empty) ProtoMessage ¶ added in v0.8.0
func (*Empty) ProtoMessage()
type ListRequest ¶ added in v0.8.0
type ListRequest struct {
AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"`
}
func (*ListRequest) Descriptor ¶ added in v0.8.0
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) GetAppName ¶ added in v0.8.0
func (m *ListRequest) GetAppName() string
func (*ListRequest) ProtoMessage ¶ added in v0.8.0
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶ added in v0.8.0
func (m *ListRequest) Reset()
func (*ListRequest) String ¶ added in v0.8.0
func (m *ListRequest) String() string
type ListResponse ¶ added in v0.8.0
type ListResponse struct {
Deploys []*ListResponse_Deploy `protobuf:"bytes,1,rep,name=deploys" json:"deploys,omitempty"`
}
func (*ListResponse) Descriptor ¶ added in v0.8.0
func (*ListResponse) Descriptor() ([]byte, []int)
func (*ListResponse) GetDeploys ¶ added in v0.8.0
func (m *ListResponse) GetDeploys() []*ListResponse_Deploy
func (*ListResponse) ProtoMessage ¶ added in v0.8.0
func (*ListResponse) ProtoMessage()
func (*ListResponse) Reset ¶ added in v0.8.0
func (m *ListResponse) Reset()
func (*ListResponse) String ¶ added in v0.8.0
func (m *ListResponse) String() string
type ListResponse_Deploy ¶ added in v0.8.0
type ListResponse_Deploy struct { Revision string `protobuf:"bytes,1,opt,name=revision" json:"revision,omitempty"` Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` Current bool `protobuf:"varint,4,opt,name=current" json:"current,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` }
func (*ListResponse_Deploy) Descriptor ¶ added in v0.8.0
func (*ListResponse_Deploy) Descriptor() ([]byte, []int)
func (*ListResponse_Deploy) GetCreatedAt ¶ added in v0.19.0
func (m *ListResponse_Deploy) GetCreatedAt() string
func (*ListResponse_Deploy) GetCurrent ¶ added in v0.8.0
func (m *ListResponse_Deploy) GetCurrent() bool
func (*ListResponse_Deploy) GetDescription ¶ added in v0.8.0
func (m *ListResponse_Deploy) GetDescription() string
func (*ListResponse_Deploy) GetRevision ¶ added in v0.8.0
func (m *ListResponse_Deploy) GetRevision() string
func (*ListResponse_Deploy) ProtoMessage ¶ added in v0.8.0
func (*ListResponse_Deploy) ProtoMessage()
func (*ListResponse_Deploy) Reset ¶ added in v0.8.0
func (m *ListResponse_Deploy) Reset()
func (*ListResponse_Deploy) String ¶ added in v0.8.0
func (m *ListResponse_Deploy) String() string
type RollbackRequest ¶ added in v0.8.0
type RollbackRequest struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName" json:"app_name,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` }
func (*RollbackRequest) Descriptor ¶ added in v0.8.0
func (*RollbackRequest) Descriptor() ([]byte, []int)
func (*RollbackRequest) GetAppName ¶ added in v0.8.0
func (m *RollbackRequest) GetAppName() string
func (*RollbackRequest) GetRevision ¶ added in v0.8.0
func (m *RollbackRequest) GetRevision() string
func (*RollbackRequest) ProtoMessage ¶ added in v0.8.0
func (*RollbackRequest) ProtoMessage()
func (*RollbackRequest) Reset ¶ added in v0.8.0
func (m *RollbackRequest) Reset()
func (*RollbackRequest) String ¶ added in v0.8.0
func (m *RollbackRequest) String() string
Click to show internal directories.
Click to hide internal directories.