Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConfigureHTTPServer(s *http.Server, srv ConfigureHTTPServer)
- func RegisterConfigureServer(s grpc.ServiceRegistrar, srv ConfigureServer)
- type CompareConfigureRequest
- func (*CompareConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompareConfigureRequest) GetApp() string
- func (x *CompareConfigureRequest) GetEnvId() uint32
- func (*CompareConfigureRequest) ProtoMessage()
- func (x *CompareConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *CompareConfigureRequest) Reset()
- func (x *CompareConfigureRequest) String() string
- func (m *CompareConfigureRequest) Validate() error
- func (m *CompareConfigureRequest) ValidateAll() error
- type CompareConfigureRequestMultiError
- type CompareConfigureRequestValidationError
- func (e CompareConfigureRequestValidationError) Cause() error
- func (e CompareConfigureRequestValidationError) Error() string
- func (e CompareConfigureRequestValidationError) ErrorName() string
- func (e CompareConfigureRequestValidationError) Field() string
- func (e CompareConfigureRequestValidationError) Key() bool
- func (e CompareConfigureRequestValidationError) Reason() string
- type CompareConfigureResponse
- func (*CompareConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompareConfigureResponse) GetList() []*CompareConfigureResponse_Compare
- func (*CompareConfigureResponse) ProtoMessage()
- func (x *CompareConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *CompareConfigureResponse) Reset()
- func (x *CompareConfigureResponse) String() string
- func (m *CompareConfigureResponse) Validate() error
- func (m *CompareConfigureResponse) ValidateAll() error
- type CompareConfigureResponseMultiError
- type CompareConfigureResponseValidationError
- func (e CompareConfigureResponseValidationError) Cause() error
- func (e CompareConfigureResponseValidationError) Error() string
- func (e CompareConfigureResponseValidationError) ErrorName() string
- func (e CompareConfigureResponseValidationError) Field() string
- func (e CompareConfigureResponseValidationError) Key() bool
- func (e CompareConfigureResponseValidationError) Reason() string
- type CompareConfigureResponse_Compare
- func (*CompareConfigureResponse_Compare) Descriptor() ([]byte, []int)deprecated
- func (x *CompareConfigureResponse_Compare) GetCur() string
- func (x *CompareConfigureResponse_Compare) GetKey() string
- func (x *CompareConfigureResponse_Compare) GetOld() string
- func (x *CompareConfigureResponse_Compare) GetType() string
- func (*CompareConfigureResponse_Compare) ProtoMessage()
- func (x *CompareConfigureResponse_Compare) ProtoReflect() protoreflect.Message
- func (x *CompareConfigureResponse_Compare) Reset()
- func (x *CompareConfigureResponse_Compare) String() string
- func (m *CompareConfigureResponse_Compare) Validate() error
- func (m *CompareConfigureResponse_Compare) ValidateAll() error
- type CompareConfigureResponse_CompareMultiError
- type CompareConfigureResponse_CompareValidationError
- func (e CompareConfigureResponse_CompareValidationError) Cause() error
- func (e CompareConfigureResponse_CompareValidationError) Error() string
- func (e CompareConfigureResponse_CompareValidationError) ErrorName() string
- func (e CompareConfigureResponse_CompareValidationError) Field() string
- func (e CompareConfigureResponse_CompareValidationError) Key() bool
- func (e CompareConfigureResponse_CompareValidationError) Reason() string
- type ConfigureClient
- type ConfigureHTTPClient
- type ConfigureHTTPClientImpl
- func (c *ConfigureHTTPClientImpl) CompareConfigure(ctx context.Context, in *CompareConfigureRequest, opts ...http.CallOption) (*CompareConfigureResponse, error)
- func (c *ConfigureHTTPClientImpl) GetConfigure(ctx context.Context, in *GetConfigureRequest, opts ...http.CallOption) (*GetConfigureResponse, error)
- func (c *ConfigureHTTPClientImpl) UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...http.CallOption) (*UpdateConfigureResponse, error)
- type ConfigureHTTPServer
- type ConfigureServer
- type Configure_WatchConfigureClient
- type Configure_WatchConfigureServer
- type GetConfigureRequest
- func (*GetConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigureRequest) GetApp() string
- func (x *GetConfigureRequest) GetEnvId() uint32
- func (*GetConfigureRequest) ProtoMessage()
- func (x *GetConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigureRequest) Reset()
- func (x *GetConfigureRequest) String() string
- func (m *GetConfigureRequest) Validate() error
- func (m *GetConfigureRequest) ValidateAll() error
- type GetConfigureRequestMultiError
- type GetConfigureRequestValidationError
- func (e GetConfigureRequestValidationError) Cause() error
- func (e GetConfigureRequestValidationError) Error() string
- func (e GetConfigureRequestValidationError) ErrorName() string
- func (e GetConfigureRequestValidationError) Field() string
- func (e GetConfigureRequestValidationError) Key() bool
- func (e GetConfigureRequestValidationError) Reason() string
- type GetConfigureResponse
- func (*GetConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigureResponse) GetApp() string
- func (x *GetConfigureResponse) GetContent() string
- func (x *GetConfigureResponse) GetCreatedAt() uint32
- func (x *GetConfigureResponse) GetDescription() string
- func (x *GetConfigureResponse) GetEnvId() uint32
- func (x *GetConfigureResponse) GetFormat() string
- func (x *GetConfigureResponse) GetId() uint32
- func (x *GetConfigureResponse) GetVersion() string
- func (*GetConfigureResponse) ProtoMessage()
- func (x *GetConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigureResponse) Reset()
- func (x *GetConfigureResponse) String() string
- func (m *GetConfigureResponse) Validate() error
- func (m *GetConfigureResponse) ValidateAll() error
- type GetConfigureResponseMultiError
- type GetConfigureResponseValidationError
- func (e GetConfigureResponseValidationError) Cause() error
- func (e GetConfigureResponseValidationError) Error() string
- func (e GetConfigureResponseValidationError) ErrorName() string
- func (e GetConfigureResponseValidationError) Field() string
- func (e GetConfigureResponseValidationError) Key() bool
- func (e GetConfigureResponseValidationError) Reason() string
- type UnimplementedConfigureServer
- func (UnimplementedConfigureServer) CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
- func (UnimplementedConfigureServer) GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
- func (UnimplementedConfigureServer) UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
- func (UnimplementedConfigureServer) WatchConfigure(*WatchConfigureRequest, grpc.ServerStreamingServer[WatchConfigureResponse]) error
- type UnsafeConfigureServer
- type UpdateConfigureRequest
- func (*UpdateConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConfigureRequest) GetApp() string
- func (x *UpdateConfigureRequest) GetDescription() string
- func (x *UpdateConfigureRequest) GetEnvId() uint32
- func (*UpdateConfigureRequest) ProtoMessage()
- func (x *UpdateConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigureRequest) Reset()
- func (x *UpdateConfigureRequest) String() string
- func (m *UpdateConfigureRequest) Validate() error
- func (m *UpdateConfigureRequest) ValidateAll() error
- type UpdateConfigureRequestMultiError
- type UpdateConfigureRequestValidationError
- func (e UpdateConfigureRequestValidationError) Cause() error
- func (e UpdateConfigureRequestValidationError) Error() string
- func (e UpdateConfigureRequestValidationError) ErrorName() string
- func (e UpdateConfigureRequestValidationError) Field() string
- func (e UpdateConfigureRequestValidationError) Key() bool
- func (e UpdateConfigureRequestValidationError) Reason() string
- type UpdateConfigureResponse
- func (*UpdateConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateConfigureResponse) ProtoMessage()
- func (x *UpdateConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateConfigureResponse) Reset()
- func (x *UpdateConfigureResponse) String() string
- func (m *UpdateConfigureResponse) Validate() error
- func (m *UpdateConfigureResponse) ValidateAll() error
- type UpdateConfigureResponseMultiError
- type UpdateConfigureResponseValidationError
- func (e UpdateConfigureResponseValidationError) Cause() error
- func (e UpdateConfigureResponseValidationError) Error() string
- func (e UpdateConfigureResponseValidationError) ErrorName() string
- func (e UpdateConfigureResponseValidationError) Field() string
- func (e UpdateConfigureResponseValidationError) Key() bool
- func (e UpdateConfigureResponseValidationError) Reason() string
- type WatchConfigureRequest
- func (*WatchConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchConfigureRequest) GetApp() string
- func (x *WatchConfigureRequest) GetToken() string
- func (*WatchConfigureRequest) ProtoMessage()
- func (x *WatchConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *WatchConfigureRequest) Reset()
- func (x *WatchConfigureRequest) String() string
- func (m *WatchConfigureRequest) Validate() error
- func (m *WatchConfigureRequest) ValidateAll() error
- type WatchConfigureRequestMultiError
- type WatchConfigureRequestValidationError
- func (e WatchConfigureRequestValidationError) Cause() error
- func (e WatchConfigureRequestValidationError) Error() string
- func (e WatchConfigureRequestValidationError) ErrorName() string
- func (e WatchConfigureRequestValidationError) Field() string
- func (e WatchConfigureRequestValidationError) Key() bool
- func (e WatchConfigureRequestValidationError) Reason() string
- type WatchConfigureResponse
- func (*WatchConfigureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WatchConfigureResponse) GetContent() string
- func (x *WatchConfigureResponse) GetFormat() string
- func (*WatchConfigureResponse) ProtoMessage()
- func (x *WatchConfigureResponse) ProtoReflect() protoreflect.Message
- func (x *WatchConfigureResponse) Reset()
- func (x *WatchConfigureResponse) String() string
- func (m *WatchConfigureResponse) Validate() error
- func (m *WatchConfigureResponse) ValidateAll() error
- type WatchConfigureResponseMultiError
- type WatchConfigureResponseValidationError
- func (e WatchConfigureResponseValidationError) Cause() error
- func (e WatchConfigureResponseValidationError) Error() string
- func (e WatchConfigureResponseValidationError) ErrorName() string
- func (e WatchConfigureResponseValidationError) Field() string
- func (e WatchConfigureResponseValidationError) Key() bool
- func (e WatchConfigureResponseValidationError) Reason() string
Constants ¶
const ( Configure_GetConfigure_FullMethodName = "/configure.api.configure.Configure/GetConfigure" Configure_UpdateConfigure_FullMethodName = "/configure.api.configure.Configure/UpdateConfigure" Configure_CompareConfigure_FullMethodName = "/configure.api.configure.Configure/CompareConfigure" Configure_WatchConfigure_FullMethodName = "/configure.api.configure.Configure/WatchConfigure" )
const OperationConfigureCompareConfigure = "/configure.api.configure.Configure/CompareConfigure"
const OperationConfigureGetConfigure = "/configure.api.configure.Configure/GetConfigure"
const OperationConfigureUpdateConfigure = "/configure.api.configure.Configure/UpdateConfigure"
Variables ¶
var Configure_ServiceDesc = grpc.ServiceDesc{ ServiceName: "configure.api.configure.Configure", HandlerType: (*ConfigureServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConfigure", Handler: _Configure_GetConfigure_Handler, }, { MethodName: "UpdateConfigure", Handler: _Configure_UpdateConfigure_Handler, }, { MethodName: "CompareConfigure", Handler: _Configure_CompareConfigure_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "WatchConfigure", Handler: _Configure_WatchConfigure_Handler, ServerStreams: true, }, }, Metadata: "api/configure/proto/configure_service.proto", }
Configure_ServiceDesc is the grpc.ServiceDesc for Configure service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_configure_proto_configure_proto protoreflect.FileDescriptor
var File_api_configure_proto_configure_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConfigureHTTPServer ¶
func RegisterConfigureHTTPServer(s *http.Server, srv ConfigureHTTPServer)
func RegisterConfigureServer ¶
func RegisterConfigureServer(s grpc.ServiceRegistrar, srv ConfigureServer)
Types ¶
type CompareConfigureRequest ¶
type CompareConfigureRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"`
// contains filtered or unexported fields
}
func (*CompareConfigureRequest) Descriptor
deprecated
func (*CompareConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompareConfigureRequest.ProtoReflect.Descriptor instead.
func (*CompareConfigureRequest) GetApp ¶
func (x *CompareConfigureRequest) GetApp() string
func (*CompareConfigureRequest) GetEnvId ¶
func (x *CompareConfigureRequest) GetEnvId() 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 ¶
func (m CompareConfigureRequestMultiError) Error() string
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 ¶
func (e CompareConfigureRequestValidationError) Cause() error
Cause function returns cause value.
func (CompareConfigureRequestValidationError) Error ¶
func (e CompareConfigureRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CompareConfigureRequestValidationError) ErrorName ¶
func (e CompareConfigureRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CompareConfigureRequestValidationError) Field ¶
func (e CompareConfigureRequestValidationError) Field() string
Field function returns field value.
func (CompareConfigureRequestValidationError) Key ¶
func (e CompareConfigureRequestValidationError) Key() bool
Key function returns key value.
func (CompareConfigureRequestValidationError) Reason ¶
func (e CompareConfigureRequestValidationError) Reason() string
Reason function returns reason value.
type CompareConfigureResponse ¶
type CompareConfigureResponse struct {
List []*CompareConfigureResponse_Compare `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*CompareConfigureResponse) Descriptor
deprecated
func (*CompareConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompareConfigureResponse.ProtoReflect.Descriptor instead.
func (*CompareConfigureResponse) GetList ¶
func (x *CompareConfigureResponse) GetList() []*CompareConfigureResponse_Compare
func (*CompareConfigureResponse) ProtoMessage ¶
func (*CompareConfigureResponse) ProtoMessage()
func (*CompareConfigureResponse) ProtoReflect ¶
func (x *CompareConfigureResponse) ProtoReflect() protoreflect.Message
func (*CompareConfigureResponse) Reset ¶
func (x *CompareConfigureResponse) Reset()
func (*CompareConfigureResponse) String ¶
func (x *CompareConfigureResponse) String() string
func (*CompareConfigureResponse) Validate ¶
func (m *CompareConfigureResponse) Validate() error
Validate checks the field values on CompareConfigureResponse 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 (*CompareConfigureResponse) ValidateAll ¶
func (m *CompareConfigureResponse) ValidateAll() error
ValidateAll checks the field values on CompareConfigureResponse 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 CompareConfigureResponseMultiError, or nil if none found.
type CompareConfigureResponseMultiError ¶
type CompareConfigureResponseMultiError []error
CompareConfigureResponseMultiError is an error wrapping multiple validation errors returned by CompareConfigureResponse.ValidateAll() if the designated constraints aren't met.
func (CompareConfigureResponseMultiError) AllErrors ¶
func (m CompareConfigureResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareConfigureResponseMultiError) Error ¶
func (m CompareConfigureResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareConfigureResponseValidationError ¶
type CompareConfigureResponseValidationError struct {
// contains filtered or unexported fields
}
CompareConfigureResponseValidationError is the validation error returned by CompareConfigureResponse.Validate if the designated constraints aren't met.
func (CompareConfigureResponseValidationError) Cause ¶
func (e CompareConfigureResponseValidationError) Cause() error
Cause function returns cause value.
func (CompareConfigureResponseValidationError) Error ¶
func (e CompareConfigureResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CompareConfigureResponseValidationError) ErrorName ¶
func (e CompareConfigureResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CompareConfigureResponseValidationError) Field ¶
func (e CompareConfigureResponseValidationError) Field() string
Field function returns field value.
func (CompareConfigureResponseValidationError) Key ¶
func (e CompareConfigureResponseValidationError) Key() bool
Key function returns key value.
func (CompareConfigureResponseValidationError) Reason ¶
func (e CompareConfigureResponseValidationError) Reason() string
Reason function returns reason value.
type CompareConfigureResponse_Compare ¶
type CompareConfigureResponse_Compare 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 (*CompareConfigureResponse_Compare) Descriptor
deprecated
func (*CompareConfigureResponse_Compare) Descriptor() ([]byte, []int)
Deprecated: Use CompareConfigureResponse_Compare.ProtoReflect.Descriptor instead.
func (*CompareConfigureResponse_Compare) GetCur ¶
func (x *CompareConfigureResponse_Compare) GetCur() string
func (*CompareConfigureResponse_Compare) GetKey ¶
func (x *CompareConfigureResponse_Compare) GetKey() string
func (*CompareConfigureResponse_Compare) GetOld ¶
func (x *CompareConfigureResponse_Compare) GetOld() string
func (*CompareConfigureResponse_Compare) GetType ¶
func (x *CompareConfigureResponse_Compare) GetType() string
func (*CompareConfigureResponse_Compare) ProtoMessage ¶
func (*CompareConfigureResponse_Compare) ProtoMessage()
func (*CompareConfigureResponse_Compare) ProtoReflect ¶
func (x *CompareConfigureResponse_Compare) ProtoReflect() protoreflect.Message
func (*CompareConfigureResponse_Compare) Reset ¶
func (x *CompareConfigureResponse_Compare) Reset()
func (*CompareConfigureResponse_Compare) String ¶
func (x *CompareConfigureResponse_Compare) String() string
func (*CompareConfigureResponse_Compare) Validate ¶
func (m *CompareConfigureResponse_Compare) Validate() error
Validate checks the field values on CompareConfigureResponse_Compare 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 (*CompareConfigureResponse_Compare) ValidateAll ¶
func (m *CompareConfigureResponse_Compare) ValidateAll() error
ValidateAll checks the field values on CompareConfigureResponse_Compare 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 CompareConfigureResponse_CompareMultiError, or nil if none found.
type CompareConfigureResponse_CompareMultiError ¶
type CompareConfigureResponse_CompareMultiError []error
CompareConfigureResponse_CompareMultiError is an error wrapping multiple validation errors returned by CompareConfigureResponse_Compare.ValidateAll() if the designated constraints aren't met.
func (CompareConfigureResponse_CompareMultiError) AllErrors ¶
func (m CompareConfigureResponse_CompareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompareConfigureResponse_CompareMultiError) Error ¶
func (m CompareConfigureResponse_CompareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompareConfigureResponse_CompareValidationError ¶
type CompareConfigureResponse_CompareValidationError struct {
// contains filtered or unexported fields
}
CompareConfigureResponse_CompareValidationError is the validation error returned by CompareConfigureResponse_Compare.Validate if the designated constraints aren't met.
func (CompareConfigureResponse_CompareValidationError) Cause ¶
func (e CompareConfigureResponse_CompareValidationError) Cause() error
Cause function returns cause value.
func (CompareConfigureResponse_CompareValidationError) Error ¶
func (e CompareConfigureResponse_CompareValidationError) Error() string
Error satisfies the builtin error interface
func (CompareConfigureResponse_CompareValidationError) ErrorName ¶
func (e CompareConfigureResponse_CompareValidationError) ErrorName() string
ErrorName returns error name.
func (CompareConfigureResponse_CompareValidationError) Field ¶
func (e CompareConfigureResponse_CompareValidationError) Field() string
Field function returns field value.
func (CompareConfigureResponse_CompareValidationError) Key ¶
func (e CompareConfigureResponse_CompareValidationError) Key() bool
Key function returns key value.
func (CompareConfigureResponse_CompareValidationError) Reason ¶
func (e CompareConfigureResponse_CompareValidationError) Reason() string
Reason function returns reason value.
type ConfigureClient ¶
type ConfigureClient interface {
// GetConfigure 获取配置
GetConfigure(ctx context.Context, in *GetConfigureRequest, opts ...grpc.CallOption) (*GetConfigureResponse, error)
// UpdateConfigure 更新配置
UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...grpc.CallOption) (*UpdateConfigureResponse, error)
// CompareConfigure 对比配置与模板差异
CompareConfigure(ctx context.Context, in *CompareConfigureRequest, opts ...grpc.CallOption) (*CompareConfigureResponse, error)
// WatchConfigure 监听配置变更(gRPC stream)
WatchConfigure(ctx context.Context, in *WatchConfigureRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchConfigureResponse], error)
}
ConfigureClient is the client API for Configure 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 NewConfigureClient ¶
func NewConfigureClient(cc grpc.ClientConnInterface) ConfigureClient
type ConfigureHTTPClient ¶
type ConfigureHTTPClient interface {
CompareConfigure(ctx context.Context, req *CompareConfigureRequest, opts ...http.CallOption) (rsp *CompareConfigureResponse, err error)
GetConfigure(ctx context.Context, req *GetConfigureRequest, opts ...http.CallOption) (rsp *GetConfigureResponse, err error)
UpdateConfigure(ctx context.Context, req *UpdateConfigureRequest, opts ...http.CallOption) (rsp *UpdateConfigureResponse, err error)
}
func NewConfigureHTTPClient ¶
func NewConfigureHTTPClient(client *http.Client) ConfigureHTTPClient
type ConfigureHTTPClientImpl ¶
type ConfigureHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ConfigureHTTPClientImpl) CompareConfigure ¶
func (c *ConfigureHTTPClientImpl) CompareConfigure(ctx context.Context, in *CompareConfigureRequest, opts ...http.CallOption) (*CompareConfigureResponse, error)
func (*ConfigureHTTPClientImpl) GetConfigure ¶
func (c *ConfigureHTTPClientImpl) GetConfigure(ctx context.Context, in *GetConfigureRequest, opts ...http.CallOption) (*GetConfigureResponse, error)
func (*ConfigureHTTPClientImpl) UpdateConfigure ¶
func (c *ConfigureHTTPClientImpl) UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...http.CallOption) (*UpdateConfigureResponse, error)
type ConfigureHTTPServer ¶
type ConfigureHTTPServer interface {
// CompareConfigure CompareConfigure 对比配置与模板差异
CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
// GetConfigure GetConfigure 获取配置
GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
// UpdateConfigure UpdateConfigure 更新配置
UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
}
type ConfigureServer ¶
type ConfigureServer interface {
// GetConfigure 获取配置
GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
// UpdateConfigure 更新配置
UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
// CompareConfigure 对比配置与模板差异
CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
// WatchConfigure 监听配置变更(gRPC stream)
WatchConfigure(*WatchConfigureRequest, grpc.ServerStreamingServer[WatchConfigureResponse]) error
// contains filtered or unexported methods
}
ConfigureServer is the server API for Configure service. All implementations must embed UnimplementedConfigureServer for forward compatibility.
type Configure_WatchConfigureClient ¶
type Configure_WatchConfigureClient = grpc.ServerStreamingClient[WatchConfigureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Configure_WatchConfigureServer ¶
type Configure_WatchConfigureServer = grpc.ServerStreamingServer[WatchConfigureResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type GetConfigureRequest ¶
type GetConfigureRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"`
// contains filtered or unexported fields
}
func (*GetConfigureRequest) Descriptor
deprecated
func (*GetConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigureRequest.ProtoReflect.Descriptor instead.
func (*GetConfigureRequest) GetApp ¶
func (x *GetConfigureRequest) GetApp() string
func (*GetConfigureRequest) GetEnvId ¶
func (x *GetConfigureRequest) GetEnvId() 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 ¶
func (m GetConfigureRequestMultiError) Error() string
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 ¶
func (e GetConfigureRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigureRequestValidationError) Error ¶
func (e GetConfigureRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigureRequestValidationError) ErrorName ¶
func (e GetConfigureRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigureRequestValidationError) Field ¶
func (e GetConfigureRequestValidationError) Field() string
Field function returns field value.
func (GetConfigureRequestValidationError) Key ¶
func (e GetConfigureRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigureRequestValidationError) Reason ¶
func (e GetConfigureRequestValidationError) Reason() string
Reason function returns reason value.
type GetConfigureResponse ¶
type GetConfigureResponse struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
EnvId uint32 `protobuf:"varint,3,opt,name=envId,proto3" json:"envId,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=createdAt,proto3" json:"createdAt,omitempty"`
// contains filtered or unexported fields
}
func (*GetConfigureResponse) Descriptor
deprecated
func (*GetConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigureResponse.ProtoReflect.Descriptor instead.
func (*GetConfigureResponse) GetApp ¶
func (x *GetConfigureResponse) GetApp() string
func (*GetConfigureResponse) GetContent ¶
func (x *GetConfigureResponse) GetContent() string
func (*GetConfigureResponse) GetCreatedAt ¶
func (x *GetConfigureResponse) GetCreatedAt() uint32
func (*GetConfigureResponse) GetDescription ¶
func (x *GetConfigureResponse) GetDescription() string
func (*GetConfigureResponse) GetEnvId ¶
func (x *GetConfigureResponse) GetEnvId() uint32
func (*GetConfigureResponse) GetFormat ¶
func (x *GetConfigureResponse) GetFormat() string
func (*GetConfigureResponse) GetId ¶
func (x *GetConfigureResponse) GetId() uint32
func (*GetConfigureResponse) GetVersion ¶
func (x *GetConfigureResponse) GetVersion() string
func (*GetConfigureResponse) ProtoMessage ¶
func (*GetConfigureResponse) ProtoMessage()
func (*GetConfigureResponse) ProtoReflect ¶
func (x *GetConfigureResponse) ProtoReflect() protoreflect.Message
func (*GetConfigureResponse) Reset ¶
func (x *GetConfigureResponse) Reset()
func (*GetConfigureResponse) String ¶
func (x *GetConfigureResponse) String() string
func (*GetConfigureResponse) Validate ¶
func (m *GetConfigureResponse) Validate() error
Validate checks the field values on GetConfigureResponse 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 (*GetConfigureResponse) ValidateAll ¶
func (m *GetConfigureResponse) ValidateAll() error
ValidateAll checks the field values on GetConfigureResponse 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 GetConfigureResponseMultiError, or nil if none found.
type GetConfigureResponseMultiError ¶
type GetConfigureResponseMultiError []error
GetConfigureResponseMultiError is an error wrapping multiple validation errors returned by GetConfigureResponse.ValidateAll() if the designated constraints aren't met.
func (GetConfigureResponseMultiError) AllErrors ¶
func (m GetConfigureResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConfigureResponseMultiError) Error ¶
func (m GetConfigureResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConfigureResponseValidationError ¶
type GetConfigureResponseValidationError struct {
// contains filtered or unexported fields
}
GetConfigureResponseValidationError is the validation error returned by GetConfigureResponse.Validate if the designated constraints aren't met.
func (GetConfigureResponseValidationError) Cause ¶
func (e GetConfigureResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConfigureResponseValidationError) Error ¶
func (e GetConfigureResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigureResponseValidationError) ErrorName ¶
func (e GetConfigureResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigureResponseValidationError) Field ¶
func (e GetConfigureResponseValidationError) Field() string
Field function returns field value.
func (GetConfigureResponseValidationError) Key ¶
func (e GetConfigureResponseValidationError) Key() bool
Key function returns key value.
func (GetConfigureResponseValidationError) Reason ¶
func (e GetConfigureResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedConfigureServer ¶
type UnimplementedConfigureServer struct{}
UnimplementedConfigureServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedConfigureServer) CompareConfigure ¶
func (UnimplementedConfigureServer) CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
func (UnimplementedConfigureServer) GetConfigure ¶
func (UnimplementedConfigureServer) GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
func (UnimplementedConfigureServer) UpdateConfigure ¶
func (UnimplementedConfigureServer) UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
func (UnimplementedConfigureServer) WatchConfigure ¶
func (UnimplementedConfigureServer) WatchConfigure(*WatchConfigureRequest, grpc.ServerStreamingServer[WatchConfigureResponse]) error
type UnsafeConfigureServer ¶
type UnsafeConfigureServer interface {
// contains filtered or unexported methods
}
UnsafeConfigureServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConfigureServer will result in compilation errors.
type UpdateConfigureRequest ¶
type UpdateConfigureRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
EnvId uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,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) GetApp ¶
func (x *UpdateConfigureRequest) GetApp() string
func (*UpdateConfigureRequest) GetDescription ¶
func (x *UpdateConfigureRequest) GetDescription() string
func (*UpdateConfigureRequest) GetEnvId ¶
func (x *UpdateConfigureRequest) GetEnvId() 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 ¶
func (m UpdateConfigureRequestMultiError) Error() string
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 ¶
func (e UpdateConfigureRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateConfigureRequestValidationError) Error ¶
func (e UpdateConfigureRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateConfigureRequestValidationError) ErrorName ¶
func (e UpdateConfigureRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateConfigureRequestValidationError) Field ¶
func (e UpdateConfigureRequestValidationError) Field() string
Field function returns field value.
func (UpdateConfigureRequestValidationError) Key ¶
func (e UpdateConfigureRequestValidationError) Key() bool
Key function returns key value.
func (UpdateConfigureRequestValidationError) Reason ¶
func (e UpdateConfigureRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateConfigureResponse ¶
type UpdateConfigureResponse struct {
// contains filtered or unexported fields
}
func (*UpdateConfigureResponse) Descriptor
deprecated
func (*UpdateConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConfigureResponse.ProtoReflect.Descriptor instead.
func (*UpdateConfigureResponse) ProtoMessage ¶
func (*UpdateConfigureResponse) ProtoMessage()
func (*UpdateConfigureResponse) ProtoReflect ¶
func (x *UpdateConfigureResponse) ProtoReflect() protoreflect.Message
func (*UpdateConfigureResponse) Reset ¶
func (x *UpdateConfigureResponse) Reset()
func (*UpdateConfigureResponse) String ¶
func (x *UpdateConfigureResponse) String() string
func (*UpdateConfigureResponse) Validate ¶
func (m *UpdateConfigureResponse) Validate() error
Validate checks the field values on UpdateConfigureResponse 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 (*UpdateConfigureResponse) ValidateAll ¶
func (m *UpdateConfigureResponse) ValidateAll() error
ValidateAll checks the field values on UpdateConfigureResponse 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 UpdateConfigureResponseMultiError, or nil if none found.
type UpdateConfigureResponseMultiError ¶
type UpdateConfigureResponseMultiError []error
UpdateConfigureResponseMultiError is an error wrapping multiple validation errors returned by UpdateConfigureResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateConfigureResponseMultiError) AllErrors ¶
func (m UpdateConfigureResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateConfigureResponseMultiError) Error ¶
func (m UpdateConfigureResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateConfigureResponseValidationError ¶
type UpdateConfigureResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateConfigureResponseValidationError is the validation error returned by UpdateConfigureResponse.Validate if the designated constraints aren't met.
func (UpdateConfigureResponseValidationError) Cause ¶
func (e UpdateConfigureResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateConfigureResponseValidationError) Error ¶
func (e UpdateConfigureResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateConfigureResponseValidationError) ErrorName ¶
func (e UpdateConfigureResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateConfigureResponseValidationError) Field ¶
func (e UpdateConfigureResponseValidationError) Field() string
Field function returns field value.
func (UpdateConfigureResponseValidationError) Key ¶
func (e UpdateConfigureResponseValidationError) Key() bool
Key function returns key value.
func (UpdateConfigureResponseValidationError) Reason ¶
func (e UpdateConfigureResponseValidationError) Reason() string
Reason function returns reason value.
type WatchConfigureRequest ¶
type WatchConfigureRequest struct {
App string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,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) GetApp ¶
func (x *WatchConfigureRequest) GetApp() 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 ¶
func (m WatchConfigureRequestMultiError) Error() string
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 ¶
func (e WatchConfigureRequestValidationError) Cause() error
Cause function returns cause value.
func (WatchConfigureRequestValidationError) Error ¶
func (e WatchConfigureRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WatchConfigureRequestValidationError) ErrorName ¶
func (e WatchConfigureRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WatchConfigureRequestValidationError) Field ¶
func (e WatchConfigureRequestValidationError) Field() string
Field function returns field value.
func (WatchConfigureRequestValidationError) Key ¶
func (e WatchConfigureRequestValidationError) Key() bool
Key function returns key value.
func (WatchConfigureRequestValidationError) Reason ¶
func (e WatchConfigureRequestValidationError) Reason() string
Reason function returns reason value.
type WatchConfigureResponse ¶
type WatchConfigureResponse 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 (*WatchConfigureResponse) Descriptor
deprecated
func (*WatchConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchConfigureResponse.ProtoReflect.Descriptor instead.
func (*WatchConfigureResponse) GetContent ¶
func (x *WatchConfigureResponse) GetContent() string
func (*WatchConfigureResponse) GetFormat ¶
func (x *WatchConfigureResponse) GetFormat() string
func (*WatchConfigureResponse) ProtoMessage ¶
func (*WatchConfigureResponse) ProtoMessage()
func (*WatchConfigureResponse) ProtoReflect ¶
func (x *WatchConfigureResponse) ProtoReflect() protoreflect.Message
func (*WatchConfigureResponse) Reset ¶
func (x *WatchConfigureResponse) Reset()
func (*WatchConfigureResponse) String ¶
func (x *WatchConfigureResponse) String() string
func (*WatchConfigureResponse) Validate ¶
func (m *WatchConfigureResponse) Validate() error
Validate checks the field values on WatchConfigureResponse 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 (*WatchConfigureResponse) ValidateAll ¶
func (m *WatchConfigureResponse) ValidateAll() error
ValidateAll checks the field values on WatchConfigureResponse 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 WatchConfigureResponseMultiError, or nil if none found.
type WatchConfigureResponseMultiError ¶
type WatchConfigureResponseMultiError []error
WatchConfigureResponseMultiError is an error wrapping multiple validation errors returned by WatchConfigureResponse.ValidateAll() if the designated constraints aren't met.
func (WatchConfigureResponseMultiError) AllErrors ¶
func (m WatchConfigureResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WatchConfigureResponseMultiError) Error ¶
func (m WatchConfigureResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WatchConfigureResponseValidationError ¶
type WatchConfigureResponseValidationError struct {
// contains filtered or unexported fields
}
WatchConfigureResponseValidationError is the validation error returned by WatchConfigureResponse.Validate if the designated constraints aren't met.
func (WatchConfigureResponseValidationError) Cause ¶
func (e WatchConfigureResponseValidationError) Cause() error
Cause function returns cause value.
func (WatchConfigureResponseValidationError) Error ¶
func (e WatchConfigureResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WatchConfigureResponseValidationError) ErrorName ¶
func (e WatchConfigureResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WatchConfigureResponseValidationError) Field ¶
func (e WatchConfigureResponseValidationError) Field() string
Field function returns field value.
func (WatchConfigureResponseValidationError) Key ¶
func (e WatchConfigureResponseValidationError) Key() bool
Key function returns key value.
func (WatchConfigureResponseValidationError) Reason ¶
func (e WatchConfigureResponseValidationError) Reason() string
Reason function returns reason value.