v1

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service_GetConfigure_FullMethodName     = "/configure_configure.Service/GetConfigure"
	Service_UpdateConfigure_FullMethodName  = "/configure_configure.Service/UpdateConfigure"
	Service_CompareConfigure_FullMethodName = "/configure_configure.Service/CompareConfigure"
	Service_WatchConfigure_FullMethodName   = "/configure_configure.Service/WatchConfigure"
)
View Source
const OperationServiceCompareConfigure = "/configure_configure.Service/CompareConfigure"
View Source
const OperationServiceGetConfigure = "/configure_configure.Service/GetConfigure"
View Source
const OperationServiceUpdateConfigure = "/configure_configure.Service/UpdateConfigure"

Variables

View Source
var File_configure_configure_proto protoreflect.FileDescriptor
View Source
var File_configure_configure_service_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "configure_configure.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfigure",
			Handler:    _Service_GetConfigure_Handler,
		},
		{
			MethodName: "UpdateConfigure",
			Handler:    _Service_UpdateConfigure_Handler,
		},
		{
			MethodName: "CompareConfigure",
			Handler:    _Service_CompareConfigure_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchConfigure",
			Handler:       _Service_WatchConfigure_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "configure_configure_service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServiceHTTPServer

func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type CompareConfigureInfo

type CompareConfigureInfo struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Old  string `protobuf:"bytes,3,opt,name=old,proto3" json:"old,omitempty"`
	Cur  string `protobuf:"bytes,4,opt,name=cur,proto3" json:"cur,omitempty"`
	// contains filtered or unexported fields
}

对比配置详情

func (*CompareConfigureInfo) Descriptor deprecated

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

Deprecated: Use CompareConfigureInfo.ProtoReflect.Descriptor instead.

func (*CompareConfigureInfo) GetCur

func (x *CompareConfigureInfo) GetCur() string

func (*CompareConfigureInfo) GetKey

func (x *CompareConfigureInfo) GetKey() string

func (*CompareConfigureInfo) GetOld

func (x *CompareConfigureInfo) GetOld() string

func (*CompareConfigureInfo) GetType

func (x *CompareConfigureInfo) GetType() string

func (*CompareConfigureInfo) ProtoMessage

func (*CompareConfigureInfo) ProtoMessage()

func (*CompareConfigureInfo) ProtoReflect

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

func (*CompareConfigureInfo) Reset

func (x *CompareConfigureInfo) Reset()

func (*CompareConfigureInfo) String

func (x *CompareConfigureInfo) String() string

func (*CompareConfigureInfo) Validate

func (m *CompareConfigureInfo) Validate() error

Validate checks the field values on CompareConfigureInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CompareConfigureInfo) ValidateAll

func (m *CompareConfigureInfo) ValidateAll() error

ValidateAll checks the field values on CompareConfigureInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompareConfigureInfoMultiError, or nil if none found.

type CompareConfigureInfoMultiError

type CompareConfigureInfoMultiError []error

CompareConfigureInfoMultiError is an error wrapping multiple validation errors returned by CompareConfigureInfo.ValidateAll() if the designated constraints aren't met.

func (CompareConfigureInfoMultiError) AllErrors

func (m CompareConfigureInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareConfigureInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CompareConfigureInfoValidationError

type CompareConfigureInfoValidationError struct {
	// contains filtered or unexported fields
}

CompareConfigureInfoValidationError is the validation error returned by CompareConfigureInfo.Validate if the designated constraints aren't met.

func (CompareConfigureInfoValidationError) Cause

Cause function returns cause value.

func (CompareConfigureInfoValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureInfoValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureInfoValidationError) Field

Field function returns field value.

func (CompareConfigureInfoValidationError) Key

Key function returns key value.

func (CompareConfigureInfoValidationError) Reason

Reason function returns reason value.

type CompareConfigureReply

type CompareConfigureReply struct {
	List []*CompareConfigureInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareConfigureReply) Descriptor deprecated

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

Deprecated: Use CompareConfigureReply.ProtoReflect.Descriptor instead.

func (*CompareConfigureReply) GetList

func (*CompareConfigureReply) ProtoMessage

func (*CompareConfigureReply) ProtoMessage()

func (*CompareConfigureReply) ProtoReflect

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

func (*CompareConfigureReply) Reset

func (x *CompareConfigureReply) Reset()

func (*CompareConfigureReply) String

func (x *CompareConfigureReply) String() string

func (*CompareConfigureReply) Validate

func (m *CompareConfigureReply) Validate() error

Validate checks the field values on CompareConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CompareConfigureReply) ValidateAll

func (m *CompareConfigureReply) ValidateAll() error

ValidateAll checks the field values on CompareConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompareConfigureReplyMultiError, or nil if none found.

type CompareConfigureReplyMultiError

type CompareConfigureReplyMultiError []error

CompareConfigureReplyMultiError is an error wrapping multiple validation errors returned by CompareConfigureReply.ValidateAll() if the designated constraints aren't met.

func (CompareConfigureReplyMultiError) AllErrors

func (m CompareConfigureReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareConfigureReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CompareConfigureReplyValidationError

type CompareConfigureReplyValidationError struct {
	// contains filtered or unexported fields
}

CompareConfigureReplyValidationError is the validation error returned by CompareConfigureReply.Validate if the designated constraints aren't met.

func (CompareConfigureReplyValidationError) Cause

Cause function returns cause value.

func (CompareConfigureReplyValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureReplyValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureReplyValidationError) Field

Field function returns field value.

func (CompareConfigureReplyValidationError) Key

Key function returns key value.

func (CompareConfigureReplyValidationError) Reason

Reason function returns reason value.

type CompareConfigureRequest

type CompareConfigureRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	EnvId    uint32 `protobuf:"varint,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	// contains filtered or unexported fields
}

对比配置

func (*CompareConfigureRequest) Descriptor deprecated

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

Deprecated: Use CompareConfigureRequest.ProtoReflect.Descriptor instead.

func (*CompareConfigureRequest) GetEnvId

func (x *CompareConfigureRequest) GetEnvId() uint32

func (*CompareConfigureRequest) GetServerId

func (x *CompareConfigureRequest) GetServerId() uint32

func (*CompareConfigureRequest) ProtoMessage

func (*CompareConfigureRequest) ProtoMessage()

func (*CompareConfigureRequest) ProtoReflect

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

func (*CompareConfigureRequest) Reset

func (x *CompareConfigureRequest) Reset()

func (*CompareConfigureRequest) String

func (x *CompareConfigureRequest) String() string

func (*CompareConfigureRequest) Validate

func (m *CompareConfigureRequest) Validate() error

Validate checks the field values on CompareConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CompareConfigureRequest) ValidateAll

func (m *CompareConfigureRequest) ValidateAll() error

ValidateAll checks the field values on CompareConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompareConfigureRequestMultiError, or nil if none found.

type CompareConfigureRequestMultiError

type CompareConfigureRequestMultiError []error

CompareConfigureRequestMultiError is an error wrapping multiple validation errors returned by CompareConfigureRequest.ValidateAll() if the designated constraints aren't met.

func (CompareConfigureRequestMultiError) AllErrors

func (m CompareConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareConfigureRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CompareConfigureRequestValidationError

type CompareConfigureRequestValidationError struct {
	// contains filtered or unexported fields
}

CompareConfigureRequestValidationError is the validation error returned by CompareConfigureRequest.Validate if the designated constraints aren't met.

func (CompareConfigureRequestValidationError) Cause

Cause function returns cause value.

func (CompareConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureRequestValidationError) Field

Field function returns field value.

func (CompareConfigureRequestValidationError) Key

Key function returns key value.

func (CompareConfigureRequestValidationError) Reason

Reason function returns reason value.

type GetConfigureReply

type GetConfigureReply struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerId    uint32 `protobuf:"varint,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	EnvId       uint32 `protobuf:"varint,3,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	Content     string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version     string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	Format      string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
	CreatedAt   uint32 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigureReply) Descriptor deprecated

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

Deprecated: Use GetConfigureReply.ProtoReflect.Descriptor instead.

func (*GetConfigureReply) GetContent

func (x *GetConfigureReply) GetContent() string

func (*GetConfigureReply) GetCreatedAt

func (x *GetConfigureReply) GetCreatedAt() uint32

func (*GetConfigureReply) GetDescription

func (x *GetConfigureReply) GetDescription() string

func (*GetConfigureReply) GetEnvId

func (x *GetConfigureReply) GetEnvId() uint32

func (*GetConfigureReply) GetFormat

func (x *GetConfigureReply) GetFormat() string

func (*GetConfigureReply) GetId

func (x *GetConfigureReply) GetId() uint32

func (*GetConfigureReply) GetServerId

func (x *GetConfigureReply) GetServerId() uint32

func (*GetConfigureReply) GetVersion

func (x *GetConfigureReply) GetVersion() string

func (*GetConfigureReply) ProtoMessage

func (*GetConfigureReply) ProtoMessage()

func (*GetConfigureReply) ProtoReflect

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

func (*GetConfigureReply) Reset

func (x *GetConfigureReply) Reset()

func (*GetConfigureReply) String

func (x *GetConfigureReply) String() string

func (*GetConfigureReply) Validate

func (m *GetConfigureReply) Validate() error

Validate checks the field values on GetConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigureReply) ValidateAll

func (m *GetConfigureReply) ValidateAll() error

ValidateAll checks the field values on GetConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigureReplyMultiError, or nil if none found.

type GetConfigureReplyMultiError

type GetConfigureReplyMultiError []error

GetConfigureReplyMultiError is an error wrapping multiple validation errors returned by GetConfigureReply.ValidateAll() if the designated constraints aren't met.

func (GetConfigureReplyMultiError) AllErrors

func (m GetConfigureReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigureReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigureReplyValidationError

type GetConfigureReplyValidationError struct {
	// contains filtered or unexported fields
}

GetConfigureReplyValidationError is the validation error returned by GetConfigureReply.Validate if the designated constraints aren't met.

func (GetConfigureReplyValidationError) Cause

Cause function returns cause value.

func (GetConfigureReplyValidationError) Error

Error satisfies the builtin error interface

func (GetConfigureReplyValidationError) ErrorName

ErrorName returns error name.

func (GetConfigureReplyValidationError) Field

Field function returns field value.

func (GetConfigureReplyValidationError) Key

Key function returns key value.

func (GetConfigureReplyValidationError) Reason

Reason function returns reason value.

type GetConfigureRequest

type GetConfigureRequest struct {
	ServerId uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	EnvId    uint32 `protobuf:"varint,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	// contains filtered or unexported fields
}

查询指定模板

func (*GetConfigureRequest) Descriptor deprecated

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

Deprecated: Use GetConfigureRequest.ProtoReflect.Descriptor instead.

func (*GetConfigureRequest) GetEnvId

func (x *GetConfigureRequest) GetEnvId() uint32

func (*GetConfigureRequest) GetServerId

func (x *GetConfigureRequest) GetServerId() uint32

func (*GetConfigureRequest) ProtoMessage

func (*GetConfigureRequest) ProtoMessage()

func (*GetConfigureRequest) ProtoReflect

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

func (*GetConfigureRequest) Reset

func (x *GetConfigureRequest) Reset()

func (*GetConfigureRequest) String

func (x *GetConfigureRequest) String() string

func (*GetConfigureRequest) Validate

func (m *GetConfigureRequest) Validate() error

Validate checks the field values on GetConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConfigureRequest) ValidateAll

func (m *GetConfigureRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigureRequestMultiError, or nil if none found.

type GetConfigureRequestMultiError

type GetConfigureRequestMultiError []error

GetConfigureRequestMultiError is an error wrapping multiple validation errors returned by GetConfigureRequest.ValidateAll() if the designated constraints aren't met.

func (GetConfigureRequestMultiError) AllErrors

func (m GetConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigureRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConfigureRequestValidationError

type GetConfigureRequestValidationError struct {
	// contains filtered or unexported fields
}

GetConfigureRequestValidationError is the validation error returned by GetConfigureRequest.Validate if the designated constraints aren't met.

func (GetConfigureRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigureRequestValidationError) Field

Field function returns field value.

func (GetConfigureRequestValidationError) Key

Key function returns key value.

func (GetConfigureRequestValidationError) Reason

Reason function returns reason value.

type ServiceClient

type ServiceClient interface {
	GetConfigure(ctx context.Context, in *GetConfigureRequest, opts ...grpc.CallOption) (*GetConfigureReply, error)
	UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CompareConfigure(ctx context.Context, in *CompareConfigureRequest, opts ...grpc.CallOption) (*CompareConfigureReply, error)
	WatchConfigure(ctx context.Context, in *WatchConfigureRequest, opts ...grpc.CallOption) (Service_WatchConfigureClient, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceHTTPClient

type ServiceHTTPClient interface {
	CompareConfigure(ctx context.Context, req *CompareConfigureRequest, opts ...http.CallOption) (rsp *CompareConfigureReply, err error)
	GetConfigure(ctx context.Context, req *GetConfigureRequest, opts ...http.CallOption) (rsp *GetConfigureReply, err error)
	UpdateConfigure(ctx context.Context, req *UpdateConfigureRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewServiceHTTPClient

func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient

type ServiceHTTPClientImpl

type ServiceHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*ServiceHTTPClientImpl) CompareConfigure

func (*ServiceHTTPClientImpl) GetConfigure

func (*ServiceHTTPClientImpl) UpdateConfigure

func (c *ServiceHTTPClientImpl) UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...http.CallOption) (*emptypb.Empty, error)

type ServiceHTTPServer

type ServiceHTTPServer interface {
	CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureReply, error)
	GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureReply, error)
	UpdateConfigure(context.Context, *UpdateConfigureRequest) (*emptypb.Empty, error)
}

type ServiceServer

type ServiceServer interface {
	GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureReply, error)
	UpdateConfigure(context.Context, *UpdateConfigureRequest) (*emptypb.Empty, error)
	CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureReply, error)
	WatchConfigure(*WatchConfigureRequest, Service_WatchConfigureServer) error
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type Service_WatchConfigureClient

type Service_WatchConfigureClient interface {
	Recv() (*WatchConfigureReply, error)
	grpc.ClientStream
}

type Service_WatchConfigureServer

type Service_WatchConfigureServer interface {
	Send(*WatchConfigureReply) error
	grpc.ServerStream
}

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) CompareConfigure

func (UnimplementedServiceServer) GetConfigure

func (UnimplementedServiceServer) UpdateConfigure

func (UnimplementedServiceServer) WatchConfigure

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

type UpdateConfigureRequest

type UpdateConfigureRequest struct {
	ServerId    uint32 `protobuf:"varint,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	EnvId       uint32 `protobuf:"varint,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

新增配置

func (*UpdateConfigureRequest) Descriptor deprecated

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

Deprecated: Use UpdateConfigureRequest.ProtoReflect.Descriptor instead.

func (*UpdateConfigureRequest) GetDescription

func (x *UpdateConfigureRequest) GetDescription() string

func (*UpdateConfigureRequest) GetEnvId

func (x *UpdateConfigureRequest) GetEnvId() uint32

func (*UpdateConfigureRequest) GetServerId

func (x *UpdateConfigureRequest) GetServerId() uint32

func (*UpdateConfigureRequest) ProtoMessage

func (*UpdateConfigureRequest) ProtoMessage()

func (*UpdateConfigureRequest) ProtoReflect

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

func (*UpdateConfigureRequest) Reset

func (x *UpdateConfigureRequest) Reset()

func (*UpdateConfigureRequest) String

func (x *UpdateConfigureRequest) String() string

func (*UpdateConfigureRequest) Validate

func (m *UpdateConfigureRequest) Validate() error

Validate checks the field values on UpdateConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateConfigureRequest) ValidateAll

func (m *UpdateConfigureRequest) ValidateAll() error

ValidateAll checks the field values on UpdateConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateConfigureRequestMultiError, or nil if none found.

type UpdateConfigureRequestMultiError

type UpdateConfigureRequestMultiError []error

UpdateConfigureRequestMultiError is an error wrapping multiple validation errors returned by UpdateConfigureRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateConfigureRequestMultiError) AllErrors

func (m UpdateConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateConfigureRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateConfigureRequestValidationError

type UpdateConfigureRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateConfigureRequestValidationError is the validation error returned by UpdateConfigureRequest.Validate if the designated constraints aren't met.

func (UpdateConfigureRequestValidationError) Cause

Cause function returns cause value.

func (UpdateConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateConfigureRequestValidationError) Field

Field function returns field value.

func (UpdateConfigureRequestValidationError) Key

Key function returns key value.

func (UpdateConfigureRequestValidationError) Reason

Reason function returns reason value.

type WatchConfigureReply

type WatchConfigureReply struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Format  string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchConfigureReply) Descriptor deprecated

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

Deprecated: Use WatchConfigureReply.ProtoReflect.Descriptor instead.

func (*WatchConfigureReply) GetContent

func (x *WatchConfigureReply) GetContent() string

func (*WatchConfigureReply) GetFormat

func (x *WatchConfigureReply) GetFormat() string

func (*WatchConfigureReply) ProtoMessage

func (*WatchConfigureReply) ProtoMessage()

func (*WatchConfigureReply) ProtoReflect

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

func (*WatchConfigureReply) Reset

func (x *WatchConfigureReply) Reset()

func (*WatchConfigureReply) String

func (x *WatchConfigureReply) String() string

func (*WatchConfigureReply) Validate

func (m *WatchConfigureReply) Validate() error

Validate checks the field values on WatchConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchConfigureReply) ValidateAll

func (m *WatchConfigureReply) ValidateAll() error

ValidateAll checks the field values on WatchConfigureReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchConfigureReplyMultiError, or nil if none found.

type WatchConfigureReplyMultiError

type WatchConfigureReplyMultiError []error

WatchConfigureReplyMultiError is an error wrapping multiple validation errors returned by WatchConfigureReply.ValidateAll() if the designated constraints aren't met.

func (WatchConfigureReplyMultiError) AllErrors

func (m WatchConfigureReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchConfigureReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type WatchConfigureReplyValidationError

type WatchConfigureReplyValidationError struct {
	// contains filtered or unexported fields
}

WatchConfigureReplyValidationError is the validation error returned by WatchConfigureReply.Validate if the designated constraints aren't met.

func (WatchConfigureReplyValidationError) Cause

Cause function returns cause value.

func (WatchConfigureReplyValidationError) Error

Error satisfies the builtin error interface

func (WatchConfigureReplyValidationError) ErrorName

ErrorName returns error name.

func (WatchConfigureReplyValidationError) Field

Field function returns field value.

func (WatchConfigureReplyValidationError) Key

Key function returns key value.

func (WatchConfigureReplyValidationError) Reason

Reason function returns reason value.

type WatchConfigureRequest

type WatchConfigureRequest struct {
	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Token  string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

监听获取配置

func (*WatchConfigureRequest) Descriptor deprecated

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

Deprecated: Use WatchConfigureRequest.ProtoReflect.Descriptor instead.

func (*WatchConfigureRequest) GetServer

func (x *WatchConfigureRequest) GetServer() string

func (*WatchConfigureRequest) GetToken

func (x *WatchConfigureRequest) GetToken() string

func (*WatchConfigureRequest) ProtoMessage

func (*WatchConfigureRequest) ProtoMessage()

func (*WatchConfigureRequest) ProtoReflect

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

func (*WatchConfigureRequest) Reset

func (x *WatchConfigureRequest) Reset()

func (*WatchConfigureRequest) String

func (x *WatchConfigureRequest) String() string

func (*WatchConfigureRequest) Validate

func (m *WatchConfigureRequest) Validate() error

Validate checks the field values on WatchConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchConfigureRequest) ValidateAll

func (m *WatchConfigureRequest) ValidateAll() error

ValidateAll checks the field values on WatchConfigureRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchConfigureRequestMultiError, or nil if none found.

type WatchConfigureRequestMultiError

type WatchConfigureRequestMultiError []error

WatchConfigureRequestMultiError is an error wrapping multiple validation errors returned by WatchConfigureRequest.ValidateAll() if the designated constraints aren't met.

func (WatchConfigureRequestMultiError) AllErrors

func (m WatchConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchConfigureRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type WatchConfigureRequestValidationError

type WatchConfigureRequestValidationError struct {
	// contains filtered or unexported fields
}

WatchConfigureRequestValidationError is the validation error returned by WatchConfigureRequest.Validate if the designated constraints aren't met.

func (WatchConfigureRequestValidationError) Cause

Cause function returns cause value.

func (WatchConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (WatchConfigureRequestValidationError) Field

Field function returns field value.

func (WatchConfigureRequestValidationError) Key

Key function returns key value.

func (WatchConfigureRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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