namespace

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetAId

func (x *Namespace) GetAId() int64

func (*Namespace) GetAppId

func (x *Namespace) GetAppId() string

func (*Namespace) GetCreateTime

func (x *Namespace) GetCreateTime() string

func (*Namespace) GetFormat

func (x *Namespace) GetFormat() string

func (*Namespace) GetId

func (x *Namespace) GetId() int64

func (*Namespace) GetName

func (x *Namespace) GetName() string

func (*Namespace) GetNodeId

func (x *Namespace) GetNodeId() string

func (*Namespace) GetReleaseTime

func (x *Namespace) GetReleaseTime() string

func (*Namespace) GetStatus

func (x *Namespace) GetStatus() bool

func (*Namespace) GetUpdateTime

func (x *Namespace) GetUpdateTime() string

func (*Namespace) GetValue

func (x *Namespace) GetValue() string

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

func (x *Namespace) ProtoReflect() protoreflect.Message

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

func (x *Namespace) String() string

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.

type NamespaceServiceServer

NamespaceServiceServer is the server API for NamespaceService service.

type UnimplementedNamespaceServiceServer

type UnimplementedNamespaceServiceServer struct {
}

UnimplementedNamespaceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNamespaceServiceServer) Create

func (*UnimplementedNamespaceServiceServer) Delete

func (*UnimplementedNamespaceServiceServer) DeleteById

func (*UnimplementedNamespaceServiceServer) Find

func (*UnimplementedNamespaceServiceServer) Lists

func (*UnimplementedNamespaceServiceServer) Update

Jump to

Keyboard shortcuts

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