608 lines
20 KiB
Go
608 lines
20 KiB
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: svc.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
/*
|
||
|
Package svc is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
svc.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
AppsListParams
|
||
|
AppsList
|
||
|
Manifest
|
||
|
App
|
||
|
AppUpdate
|
||
|
AppInspect
|
||
|
AppDelete
|
||
|
Ok
|
||
|
*/
|
||
|
package svc
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import _ "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api"
|
||
|
|
||
|
import (
|
||
|
context "golang.org/x/net/context"
|
||
|
grpc "google.golang.org/grpc"
|
||
|
)
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type AppsListParams struct {
|
||
|
LabelKey string `protobuf:"bytes,1,opt,name=labelKey" json:"labelKey,omitempty"`
|
||
|
LabelVal string `protobuf:"bytes,2,opt,name=labelVal" json:"labelVal,omitempty"`
|
||
|
// will be matched to app names
|
||
|
Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *AppsListParams) Reset() { *m = AppsListParams{} }
|
||
|
func (m *AppsListParams) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AppsListParams) ProtoMessage() {}
|
||
|
func (*AppsListParams) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
func (m *AppsListParams) GetLabelKey() string {
|
||
|
if m != nil {
|
||
|
return m.LabelKey
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *AppsListParams) GetLabelVal() string {
|
||
|
if m != nil {
|
||
|
return m.LabelVal
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *AppsListParams) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type AppsList struct {
|
||
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
||
|
Apps []*App `protobuf:"bytes,2,rep,name=apps" json:"apps,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *AppsList) Reset() { *m = AppsList{} }
|
||
|
func (m *AppsList) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AppsList) ProtoMessage() {}
|
||
|
func (*AppsList) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||
|
|
||
|
func (m *AppsList) GetMessage() string {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *AppsList) GetApps() []*App {
|
||
|
if m != nil {
|
||
|
return m.Apps
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Manifest struct {
|
||
|
Environment map[string]string `protobuf:"bytes,1,rep,name=environment" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
DockerImage string `protobuf:"bytes,3,opt,name=dockerImage" json:"dockerImage,omitempty"`
|
||
|
Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Manifest) Reset() { *m = Manifest{} }
|
||
|
func (m *Manifest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Manifest) ProtoMessage() {}
|
||
|
func (*Manifest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||
|
|
||
|
func (m *Manifest) GetEnvironment() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Environment
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Manifest) GetLabels() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Labels
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Manifest) GetDockerImage() string {
|
||
|
if m != nil {
|
||
|
return m.DockerImage
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Manifest) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type App struct {
|
||
|
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
|
||
|
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
|
||
|
DockerImage string `protobuf:"bytes,3,opt,name=dockerImage" json:"dockerImage,omitempty"`
|
||
|
Environment map[string]string `protobuf:"bytes,4,rep,name=environment" json:"environment,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
Labels map[string]string `protobuf:"bytes,5,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
AuthorizedUsers []string `protobuf:"bytes,6,rep,name=authorizedUsers" json:"authorizedUsers,omitempty"`
|
||
|
Instances int32 `protobuf:"varint,7,opt,name=instances" json:"instances,omitempty"`
|
||
|
Status string `protobuf:"bytes,8,opt,name=status" json:"status,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *App) Reset() { *m = App{} }
|
||
|
func (m *App) String() string { return proto.CompactTextString(m) }
|
||
|
func (*App) ProtoMessage() {}
|
||
|
func (*App) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||
|
|
||
|
func (m *App) GetId() string {
|
||
|
if m != nil {
|
||
|
return m.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *App) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *App) GetDockerImage() string {
|
||
|
if m != nil {
|
||
|
return m.DockerImage
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *App) GetEnvironment() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Environment
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *App) GetLabels() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Labels
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *App) GetAuthorizedUsers() []string {
|
||
|
if m != nil {
|
||
|
return m.AuthorizedUsers
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *App) GetInstances() int32 {
|
||
|
if m != nil {
|
||
|
return m.Instances
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *App) GetStatus() string {
|
||
|
if m != nil {
|
||
|
return m.Status
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type AppUpdate struct {
|
||
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||
|
NewImage string `protobuf:"bytes,2,opt,name=newImage" json:"newImage,omitempty"`
|
||
|
EnvAdd map[string]string `protobuf:"bytes,3,rep,name=envAdd" json:"envAdd,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
EnvRm []string `protobuf:"bytes,4,rep,name=envRm" json:"envRm,omitempty"`
|
||
|
LabelAdd map[string]string `protobuf:"bytes,5,rep,name=labelAdd" json:"labelAdd,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
LabelRm map[string]string `protobuf:"bytes,6,rep,name=labelRm" json:"labelRm,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||
|
GrantUsers []string `protobuf:"bytes,7,rep,name=grantUsers" json:"grantUsers,omitempty"`
|
||
|
RevokeUsers []string `protobuf:"bytes,8,rep,name=revokeUsers" json:"revokeUsers,omitempty"`
|
||
|
NewInstanceCount int32 `protobuf:"varint,9,opt,name=newInstanceCount" json:"newInstanceCount,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) Reset() { *m = AppUpdate{} }
|
||
|
func (m *AppUpdate) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AppUpdate) ProtoMessage() {}
|
||
|
func (*AppUpdate) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||
|
|
||
|
func (m *AppUpdate) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetNewImage() string {
|
||
|
if m != nil {
|
||
|
return m.NewImage
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetEnvAdd() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.EnvAdd
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetEnvRm() []string {
|
||
|
if m != nil {
|
||
|
return m.EnvRm
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetLabelAdd() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.LabelAdd
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetLabelRm() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.LabelRm
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetGrantUsers() []string {
|
||
|
if m != nil {
|
||
|
return m.GrantUsers
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetRevokeUsers() []string {
|
||
|
if m != nil {
|
||
|
return m.RevokeUsers
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *AppUpdate) GetNewInstanceCount() int32 {
|
||
|
if m != nil {
|
||
|
return m.NewInstanceCount
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type AppInspect struct {
|
||
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *AppInspect) Reset() { *m = AppInspect{} }
|
||
|
func (m *AppInspect) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AppInspect) ProtoMessage() {}
|
||
|
func (*AppInspect) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||
|
|
||
|
func (m *AppInspect) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type AppDelete struct {
|
||
|
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *AppDelete) Reset() { *m = AppDelete{} }
|
||
|
func (m *AppDelete) String() string { return proto.CompactTextString(m) }
|
||
|
func (*AppDelete) ProtoMessage() {}
|
||
|
func (*AppDelete) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||
|
|
||
|
func (m *AppDelete) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Ok struct {
|
||
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *Ok) Reset() { *m = Ok{} }
|
||
|
func (m *Ok) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Ok) ProtoMessage() {}
|
||
|
func (*Ok) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
||
|
|
||
|
func (m *Ok) GetMessage() string {
|
||
|
if m != nil {
|
||
|
return m.Message
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*AppsListParams)(nil), "AppsListParams")
|
||
|
proto.RegisterType((*AppsList)(nil), "AppsList")
|
||
|
proto.RegisterType((*Manifest)(nil), "Manifest")
|
||
|
proto.RegisterType((*App)(nil), "App")
|
||
|
proto.RegisterType((*AppUpdate)(nil), "AppUpdate")
|
||
|
proto.RegisterType((*AppInspect)(nil), "AppInspect")
|
||
|
proto.RegisterType((*AppDelete)(nil), "AppDelete")
|
||
|
proto.RegisterType((*Ok)(nil), "Ok")
|
||
|
}
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ context.Context
|
||
|
var _ grpc.ClientConn
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the grpc package it is being compiled against.
|
||
|
const _ = grpc.SupportPackageIsVersion4
|
||
|
|
||
|
// Client API for Apps service
|
||
|
|
||
|
type AppsClient interface {
|
||
|
List(ctx context.Context, in *AppsListParams, opts ...grpc.CallOption) (*AppsList, error)
|
||
|
Create(ctx context.Context, in *Manifest, opts ...grpc.CallOption) (*App, error)
|
||
|
Update(ctx context.Context, in *AppUpdate, opts ...grpc.CallOption) (*App, error)
|
||
|
Inspect(ctx context.Context, in *AppInspect, opts ...grpc.CallOption) (*App, error)
|
||
|
Delete(ctx context.Context, in *AppDelete, opts ...grpc.CallOption) (*Ok, error)
|
||
|
}
|
||
|
|
||
|
type appsClient struct {
|
||
|
cc *grpc.ClientConn
|
||
|
}
|
||
|
|
||
|
func NewAppsClient(cc *grpc.ClientConn) AppsClient {
|
||
|
return &appsClient{cc}
|
||
|
}
|
||
|
|
||
|
func (c *appsClient) List(ctx context.Context, in *AppsListParams, opts ...grpc.CallOption) (*AppsList, error) {
|
||
|
out := new(AppsList)
|
||
|
err := grpc.Invoke(ctx, "/Apps/List", in, out, c.cc, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *appsClient) Create(ctx context.Context, in *Manifest, opts ...grpc.CallOption) (*App, error) {
|
||
|
out := new(App)
|
||
|
err := grpc.Invoke(ctx, "/Apps/Create", in, out, c.cc, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *appsClient) Update(ctx context.Context, in *AppUpdate, opts ...grpc.CallOption) (*App, error) {
|
||
|
out := new(App)
|
||
|
err := grpc.Invoke(ctx, "/Apps/Update", in, out, c.cc, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *appsClient) Inspect(ctx context.Context, in *AppInspect, opts ...grpc.CallOption) (*App, error) {
|
||
|
out := new(App)
|
||
|
err := grpc.Invoke(ctx, "/Apps/Inspect", in, out, c.cc, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
func (c *appsClient) Delete(ctx context.Context, in *AppDelete, opts ...grpc.CallOption) (*Ok, error) {
|
||
|
out := new(Ok)
|
||
|
err := grpc.Invoke(ctx, "/Apps/Delete", in, out, c.cc, opts...)
|
||
|
if err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
return out, nil
|
||
|
}
|
||
|
|
||
|
// Server API for Apps service
|
||
|
|
||
|
type AppsServer interface {
|
||
|
List(context.Context, *AppsListParams) (*AppsList, error)
|
||
|
Create(context.Context, *Manifest) (*App, error)
|
||
|
Update(context.Context, *AppUpdate) (*App, error)
|
||
|
Inspect(context.Context, *AppInspect) (*App, error)
|
||
|
Delete(context.Context, *AppDelete) (*Ok, error)
|
||
|
}
|
||
|
|
||
|
func RegisterAppsServer(s *grpc.Server, srv AppsServer) {
|
||
|
s.RegisterService(&_Apps_serviceDesc, srv)
|
||
|
}
|
||
|
|
||
|
func _Apps_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(AppsListParams)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(AppsServer).List(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/Apps/List",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(AppsServer).List(ctx, req.(*AppsListParams))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _Apps_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(Manifest)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(AppsServer).Create(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/Apps/Create",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(AppsServer).Create(ctx, req.(*Manifest))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _Apps_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(AppUpdate)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(AppsServer).Update(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/Apps/Update",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(AppsServer).Update(ctx, req.(*AppUpdate))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _Apps_Inspect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(AppInspect)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(AppsServer).Inspect(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/Apps/Inspect",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(AppsServer).Inspect(ctx, req.(*AppInspect))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
func _Apps_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||
|
in := new(AppDelete)
|
||
|
if err := dec(in); err != nil {
|
||
|
return nil, err
|
||
|
}
|
||
|
if interceptor == nil {
|
||
|
return srv.(AppsServer).Delete(ctx, in)
|
||
|
}
|
||
|
info := &grpc.UnaryServerInfo{
|
||
|
Server: srv,
|
||
|
FullMethod: "/Apps/Delete",
|
||
|
}
|
||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||
|
return srv.(AppsServer).Delete(ctx, req.(*AppDelete))
|
||
|
}
|
||
|
return interceptor(ctx, in, info, handler)
|
||
|
}
|
||
|
|
||
|
var _Apps_serviceDesc = grpc.ServiceDesc{
|
||
|
ServiceName: "Apps",
|
||
|
HandlerType: (*AppsServer)(nil),
|
||
|
Methods: []grpc.MethodDesc{
|
||
|
{
|
||
|
MethodName: "List",
|
||
|
Handler: _Apps_List_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "Create",
|
||
|
Handler: _Apps_Create_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "Update",
|
||
|
Handler: _Apps_Update_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "Inspect",
|
||
|
Handler: _Apps_Inspect_Handler,
|
||
|
},
|
||
|
{
|
||
|
MethodName: "Delete",
|
||
|
Handler: _Apps_Delete_Handler,
|
||
|
},
|
||
|
},
|
||
|
Streams: []grpc.StreamDesc{},
|
||
|
Metadata: "svc.proto",
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("svc.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 737 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x55, 0xc1, 0x6e, 0xd3, 0x4c,
|
||
|
0x10, 0x56, 0x6c, 0xd7, 0x89, 0x27, 0xff, 0xdf, 0x86, 0x2d, 0x14, 0x63, 0x4a, 0x1b, 0x19, 0x21,
|
||
|
0x45, 0x95, 0x70, 0xd4, 0x82, 0x04, 0x2d, 0xb4, 0x92, 0x55, 0x7a, 0xa8, 0x28, 0x2a, 0xb2, 0xd4,
|
||
|
0x9e, 0xb8, 0x6c, 0xe3, 0x25, 0x58, 0xb1, 0xd7, 0x2b, 0xef, 0x26, 0xa8, 0x20, 0x2e, 0xdc, 0x90,
|
||
|
0xb8, 0xf1, 0x12, 0xbc, 0x08, 0x4f, 0xc0, 0x2b, 0xf0, 0x20, 0xc8, 0xeb, 0x8d, 0xed, 0x94, 0x20,
|
||
|
0xc8, 0x89, 0xdb, 0xce, 0xcc, 0xf7, 0x4d, 0x66, 0xbe, 0x99, 0x8c, 0xc1, 0xe2, 0x93, 0x81, 0xc7,
|
||
|
0xb2, 0x54, 0xa4, 0xce, 0xfa, 0x30, 0x4d, 0x87, 0x31, 0xe9, 0x63, 0x16, 0xf5, 0x31, 0xa5, 0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