Documentation
¶
Index ¶
- Variables
- func RegisterNamespaceServiceServer(s *grpc.Server, srv NamespaceServiceServer)
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetAId() int64
- func (x *Namespace) GetAppId() string
- func (x *Namespace) GetCreateTime() string
- func (x *Namespace) GetFormat() string
- func (x *Namespace) GetId() int64
- func (x *Namespace) GetName() string
- func (x *Namespace) GetNodeId() string
- func (x *Namespace) GetReleaseTime() string
- func (x *Namespace) GetStatus() bool
- func (x *Namespace) GetUpdateTime() string
- func (x *Namespace) GetValue() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespaceServiceClient
- type NamespaceServiceServer
- type UnimplementedNamespaceServiceServer
- func (*UnimplementedNamespaceServiceServer) Create(context.Context, *Namespace) (*common.Response, error)
- func (*UnimplementedNamespaceServiceServer) Delete(context.Context, *Namespace) (*common.Response, error)
- func (*UnimplementedNamespaceServiceServer) DeleteById(context.Context, *Namespace) (*common.Response, error)
- func (*UnimplementedNamespaceServiceServer) Find(context.Context, *Namespace) (*common.Response, error)
- func (*UnimplementedNamespaceServiceServer) Lists(context.Context, *common.Request) (*common.Responses, error)
- func (*UnimplementedNamespaceServiceServer) Update(context.Context, *Namespace) (*common.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_namespace_model_proto protoreflect.FileDescriptor
View Source
var File_namespace_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNamespaceServiceServer ¶
func RegisterNamespaceServiceServer(s *grpc.Server, srv NamespaceServiceServer)
Types ¶
type Namespace ¶
type Namespace struct { // @inject_tag: json:"id" gorm:"primary_key;AUTO_INCREMENT;default:id;comment:id;size:20;" Id int64 `protobuf:"varint,100,opt,name=id,proto3" json:"id,omitempty"` // @inject_tag: json:"aId" gorm:"default:应用ID;comment:应用ID;size:19;" AId int64 `protobuf:"varint,101,opt,name=aId,proto3" json:"aId,omitempty"` // @inject_tag: json:"appId" gorm:"default:appId;comment:appId;size:60;" AppId string `protobuf:"bytes,102,opt,name=appId,proto3" json:"appId,omitempty"` // @inject_tag: json:"format" gorm:"default:格式;comment:格式;size:60;" Format string `protobuf:"bytes,103,opt,name=format,proto3" json:"format,omitempty"` // @inject_tag: json:"nodeId" gorm:"default:环境ID;comment:环境ID;" NodeId string `protobuf:"bytes,104,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // @inject_tag: json:"name" gorm:"default:命名空间名称;comment:命名空间名称;size:255;" Name string `protobuf:"bytes,105,opt,name=name,proto3" json:"name,omitempty"` // @inject_tag: json:"value" gorm:"default:配置信息;comment:配置信息;size:4294967295;" Value string `protobuf:"bytes,106,opt,name=value,proto3" json:"value,omitempty"` // @inject_tag: json:"status" gorm:"default:发布状态;comment:发布状态;" Status bool `protobuf:"varint,107,opt,name=status,proto3" json:"status,omitempty"` // @inject_tag: json:"createTime" gorm:"default:创建时间;comment:创建时间;" CreateTime string `protobuf:"bytes,108,opt,name=createTime,proto3" json:"createTime,omitempty"` // @inject_tag: json:"updateTime" gorm:"default:更新时间;comment:更新时间;" UpdateTime string `protobuf:"bytes,109,opt,name=updateTime,proto3" json:"updateTime,omitempty"` // @inject_tag: json:"releaseTime" gorm:"default:发布时间;comment:发布时间;" ReleaseTime string `protobuf:"bytes,110,opt,name=releaseTime,proto3" json:"releaseTime,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetCreateTime ¶
func (*Namespace) GetReleaseTime ¶
func (*Namespace) GetUpdateTime ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespaceServiceClient ¶
type NamespaceServiceClient interface { Create(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*common.Response, error) Delete(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*common.Response, error) DeleteById(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*common.Response, error) Update(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*common.Response, error) Find(ctx context.Context, in *Namespace, opts ...grpc.CallOption) (*common.Response, error) Lists(ctx context.Context, in *common.Request, opts ...grpc.CallOption) (*common.Responses, error) }
NamespaceServiceClient is the client API for NamespaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNamespaceServiceClient ¶
func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient
type NamespaceServiceServer ¶
type NamespaceServiceServer interface { Create(context.Context, *Namespace) (*common.Response, error) Delete(context.Context, *Namespace) (*common.Response, error) DeleteById(context.Context, *Namespace) (*common.Response, error) Update(context.Context, *Namespace) (*common.Response, error) Find(context.Context, *Namespace) (*common.Response, error) Lists(context.Context, *common.Request) (*common.Responses, error) }
NamespaceServiceServer is the server API for NamespaceService service.
type UnimplementedNamespaceServiceServer ¶
type UnimplementedNamespaceServiceServer struct { }
UnimplementedNamespaceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNamespaceServiceServer) DeleteById ¶
Click to show internal directories.
Click to hide internal directories.