endpoint

package
v0.0.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Endpoint_AppendEndpoint_FullMethodName          = "/api.server.prom.endpoint.Endpoint/AppendEndpoint"
	Endpoint_DeleteEndpoint_FullMethodName          = "/api.server.prom.endpoint.Endpoint/DeleteEndpoint"
	Endpoint_EditEndpoint_FullMethodName            = "/api.server.prom.endpoint.Endpoint/EditEndpoint"
	Endpoint_BatchEditEndpointStatus_FullMethodName = "/api.server.prom.endpoint.Endpoint/BatchEditEndpointStatus"
	Endpoint_GetEndpoint_FullMethodName             = "/api.server.prom.endpoint.Endpoint/GetEndpoint"
	Endpoint_ListEndpoint_FullMethodName            = "/api.server.prom.endpoint.Endpoint/ListEndpoint"
	Endpoint_SelectEndpoint_FullMethodName          = "/api.server.prom.endpoint.Endpoint/SelectEndpoint"
)
View Source
const OperationEndpointAppendEndpoint = "/api.server.prom.endpoint.Endpoint/AppendEndpoint"
View Source
const OperationEndpointBatchEditEndpointStatus = "/api.server.prom.endpoint.Endpoint/BatchEditEndpointStatus"
View Source
const OperationEndpointDeleteEndpoint = "/api.server.prom.endpoint.Endpoint/DeleteEndpoint"
View Source
const OperationEndpointEditEndpoint = "/api.server.prom.endpoint.Endpoint/EditEndpoint"
View Source
const OperationEndpointGetEndpoint = "/api.server.prom.endpoint.Endpoint/GetEndpoint"
View Source
const OperationEndpointListEndpoint = "/api.server.prom.endpoint.Endpoint/ListEndpoint"
View Source
const OperationEndpointSelectEndpoint = "/api.server.prom.endpoint.Endpoint/SelectEndpoint"

Variables

View Source
var Endpoint_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.server.prom.endpoint.Endpoint",
	HandlerType: (*EndpointServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AppendEndpoint",
			Handler:    _Endpoint_AppendEndpoint_Handler,
		},
		{
			MethodName: "DeleteEndpoint",
			Handler:    _Endpoint_DeleteEndpoint_Handler,
		},
		{
			MethodName: "EditEndpoint",
			Handler:    _Endpoint_EditEndpoint_Handler,
		},
		{
			MethodName: "BatchEditEndpointStatus",
			Handler:    _Endpoint_BatchEditEndpointStatus_Handler,
		},
		{
			MethodName: "GetEndpoint",
			Handler:    _Endpoint_GetEndpoint_Handler,
		},
		{
			MethodName: "ListEndpoint",
			Handler:    _Endpoint_ListEndpoint_Handler,
		},
		{
			MethodName: "SelectEndpoint",
			Handler:    _Endpoint_SelectEndpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/prom/endpoint/endpoint.proto",
}

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

View Source
var File_server_prom_endpoint_endpoint_proto protoreflect.FileDescriptor

Functions

func RegisterEndpointHTTPServer

func RegisterEndpointHTTPServer(s *http.Server, srv EndpointHTTPServer)

func RegisterEndpointServer

func RegisterEndpointServer(s grpc.ServiceRegistrar, srv EndpointServer)

Types

type AppendEndpointReply

type AppendEndpointReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

添加监控端点响应参数

func (*AppendEndpointReply) Descriptor deprecated

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

Deprecated: Use AppendEndpointReply.ProtoReflect.Descriptor instead.

func (*AppendEndpointReply) GetId

func (x *AppendEndpointReply) GetId() uint32

func (*AppendEndpointReply) ProtoMessage

func (*AppendEndpointReply) ProtoMessage()

func (*AppendEndpointReply) ProtoReflect

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

func (*AppendEndpointReply) Reset

func (x *AppendEndpointReply) Reset()

func (*AppendEndpointReply) String

func (x *AppendEndpointReply) String() string

func (*AppendEndpointReply) Validate

func (m *AppendEndpointReply) Validate() error

Validate checks the field values on AppendEndpointReply 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 (*AppendEndpointReply) ValidateAll

func (m *AppendEndpointReply) ValidateAll() error

ValidateAll checks the field values on AppendEndpointReply 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 AppendEndpointReplyMultiError, or nil if none found.

type AppendEndpointReplyMultiError

type AppendEndpointReplyMultiError []error

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

func (AppendEndpointReplyMultiError) AllErrors

func (m AppendEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppendEndpointReplyMultiError) Error

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

type AppendEndpointReplyValidationError

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

AppendEndpointReplyValidationError is the validation error returned by AppendEndpointReply.Validate if the designated constraints aren't met.

func (AppendEndpointReplyValidationError) Cause

Cause function returns cause value.

func (AppendEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (AppendEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (AppendEndpointReplyValidationError) Field

Field function returns field value.

func (AppendEndpointReplyValidationError) Key

Key function returns key value.

func (AppendEndpointReplyValidationError) Reason

Reason function returns reason value.

type AppendEndpointRequest

type AppendEndpointRequest struct {

	// 采集器名称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 端点
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// 备注
	Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
	// 用户名称
	Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	// 用户密码
	Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

添加监控端点请求参数

func (*AppendEndpointRequest) Descriptor deprecated

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

Deprecated: Use AppendEndpointRequest.ProtoReflect.Descriptor instead.

func (*AppendEndpointRequest) GetEndpoint

func (x *AppendEndpointRequest) GetEndpoint() string

func (*AppendEndpointRequest) GetName

func (x *AppendEndpointRequest) GetName() string

func (*AppendEndpointRequest) GetPassword

func (x *AppendEndpointRequest) GetPassword() string

func (*AppendEndpointRequest) GetRemark

func (x *AppendEndpointRequest) GetRemark() string

func (*AppendEndpointRequest) GetUsername

func (x *AppendEndpointRequest) GetUsername() string

func (*AppendEndpointRequest) ProtoMessage

func (*AppendEndpointRequest) ProtoMessage()

func (*AppendEndpointRequest) ProtoReflect

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

func (*AppendEndpointRequest) Reset

func (x *AppendEndpointRequest) Reset()

func (*AppendEndpointRequest) String

func (x *AppendEndpointRequest) String() string

func (*AppendEndpointRequest) Validate

func (m *AppendEndpointRequest) Validate() error

Validate checks the field values on AppendEndpointRequest 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 (*AppendEndpointRequest) ValidateAll

func (m *AppendEndpointRequest) ValidateAll() error

ValidateAll checks the field values on AppendEndpointRequest 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 AppendEndpointRequestMultiError, or nil if none found.

type AppendEndpointRequestMultiError

type AppendEndpointRequestMultiError []error

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

func (AppendEndpointRequestMultiError) AllErrors

func (m AppendEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppendEndpointRequestMultiError) Error

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

type AppendEndpointRequestValidationError

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

AppendEndpointRequestValidationError is the validation error returned by AppendEndpointRequest.Validate if the designated constraints aren't met.

func (AppendEndpointRequestValidationError) Cause

Cause function returns cause value.

func (AppendEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (AppendEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (AppendEndpointRequestValidationError) Field

Field function returns field value.

func (AppendEndpointRequestValidationError) Key

Key function returns key value.

func (AppendEndpointRequestValidationError) Reason

Reason function returns reason value.

type BatchEditEndpointStatusReply

type BatchEditEndpointStatusReply struct {
	Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

批量修改端点状态响应参数

func (*BatchEditEndpointStatusReply) Descriptor deprecated

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

Deprecated: Use BatchEditEndpointStatusReply.ProtoReflect.Descriptor instead.

func (*BatchEditEndpointStatusReply) GetIds

func (x *BatchEditEndpointStatusReply) GetIds() []uint32

func (*BatchEditEndpointStatusReply) ProtoMessage

func (*BatchEditEndpointStatusReply) ProtoMessage()

func (*BatchEditEndpointStatusReply) ProtoReflect

func (*BatchEditEndpointStatusReply) Reset

func (x *BatchEditEndpointStatusReply) Reset()

func (*BatchEditEndpointStatusReply) String

func (*BatchEditEndpointStatusReply) Validate

func (m *BatchEditEndpointStatusReply) Validate() error

Validate checks the field values on BatchEditEndpointStatusReply 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 (*BatchEditEndpointStatusReply) ValidateAll

func (m *BatchEditEndpointStatusReply) ValidateAll() error

ValidateAll checks the field values on BatchEditEndpointStatusReply 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 BatchEditEndpointStatusReplyMultiError, or nil if none found.

type BatchEditEndpointStatusReplyMultiError

type BatchEditEndpointStatusReplyMultiError []error

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

func (BatchEditEndpointStatusReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchEditEndpointStatusReplyMultiError) Error

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

type BatchEditEndpointStatusReplyValidationError

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

BatchEditEndpointStatusReplyValidationError is the validation error returned by BatchEditEndpointStatusReply.Validate if the designated constraints aren't met.

func (BatchEditEndpointStatusReplyValidationError) Cause

Cause function returns cause value.

func (BatchEditEndpointStatusReplyValidationError) Error

Error satisfies the builtin error interface

func (BatchEditEndpointStatusReplyValidationError) ErrorName

ErrorName returns error name.

func (BatchEditEndpointStatusReplyValidationError) Field

Field function returns field value.

func (BatchEditEndpointStatusReplyValidationError) Key

Key function returns key value.

func (BatchEditEndpointStatusReplyValidationError) Reason

Reason function returns reason value.

type BatchEditEndpointStatusRequest

type BatchEditEndpointStatusRequest struct {
	Ids    []uint32   `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	Status api.Status `protobuf:"varint,2,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

批量修改端点状态请求参数

func (*BatchEditEndpointStatusRequest) Descriptor deprecated

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

Deprecated: Use BatchEditEndpointStatusRequest.ProtoReflect.Descriptor instead.

func (*BatchEditEndpointStatusRequest) GetIds

func (x *BatchEditEndpointStatusRequest) GetIds() []uint32

func (*BatchEditEndpointStatusRequest) GetStatus

func (x *BatchEditEndpointStatusRequest) GetStatus() api.Status

func (*BatchEditEndpointStatusRequest) ProtoMessage

func (*BatchEditEndpointStatusRequest) ProtoMessage()

func (*BatchEditEndpointStatusRequest) ProtoReflect

func (*BatchEditEndpointStatusRequest) Reset

func (x *BatchEditEndpointStatusRequest) Reset()

func (*BatchEditEndpointStatusRequest) String

func (*BatchEditEndpointStatusRequest) Validate

func (m *BatchEditEndpointStatusRequest) Validate() error

Validate checks the field values on BatchEditEndpointStatusRequest 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 (*BatchEditEndpointStatusRequest) ValidateAll

func (m *BatchEditEndpointStatusRequest) ValidateAll() error

ValidateAll checks the field values on BatchEditEndpointStatusRequest 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 BatchEditEndpointStatusRequestMultiError, or nil if none found.

type BatchEditEndpointStatusRequestMultiError

type BatchEditEndpointStatusRequestMultiError []error

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

func (BatchEditEndpointStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (BatchEditEndpointStatusRequestMultiError) Error

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

type BatchEditEndpointStatusRequestValidationError

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

BatchEditEndpointStatusRequestValidationError is the validation error returned by BatchEditEndpointStatusRequest.Validate if the designated constraints aren't met.

func (BatchEditEndpointStatusRequestValidationError) Cause

Cause function returns cause value.

func (BatchEditEndpointStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (BatchEditEndpointStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (BatchEditEndpointStatusRequestValidationError) Field

Field function returns field value.

func (BatchEditEndpointStatusRequestValidationError) Key

Key function returns key value.

func (BatchEditEndpointStatusRequestValidationError) Reason

Reason function returns reason value.

type DeleteEndpointReply

type DeleteEndpointReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

删除监控端点响应参数

func (*DeleteEndpointReply) Descriptor deprecated

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

Deprecated: Use DeleteEndpointReply.ProtoReflect.Descriptor instead.

func (*DeleteEndpointReply) GetId

func (x *DeleteEndpointReply) GetId() uint32

func (*DeleteEndpointReply) ProtoMessage

func (*DeleteEndpointReply) ProtoMessage()

func (*DeleteEndpointReply) ProtoReflect

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

func (*DeleteEndpointReply) Reset

func (x *DeleteEndpointReply) Reset()

func (*DeleteEndpointReply) String

func (x *DeleteEndpointReply) String() string

func (*DeleteEndpointReply) Validate

func (m *DeleteEndpointReply) Validate() error

Validate checks the field values on DeleteEndpointReply 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 (*DeleteEndpointReply) ValidateAll

func (m *DeleteEndpointReply) ValidateAll() error

ValidateAll checks the field values on DeleteEndpointReply 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 DeleteEndpointReplyMultiError, or nil if none found.

type DeleteEndpointReplyMultiError

type DeleteEndpointReplyMultiError []error

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

func (DeleteEndpointReplyMultiError) AllErrors

func (m DeleteEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEndpointReplyMultiError) Error

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

type DeleteEndpointReplyValidationError

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

DeleteEndpointReplyValidationError is the validation error returned by DeleteEndpointReply.Validate if the designated constraints aren't met.

func (DeleteEndpointReplyValidationError) Cause

Cause function returns cause value.

func (DeleteEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteEndpointReplyValidationError) Field

Field function returns field value.

func (DeleteEndpointReplyValidationError) Key

Key function returns key value.

func (DeleteEndpointReplyValidationError) Reason

Reason function returns reason value.

type DeleteEndpointRequest

type DeleteEndpointRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

删除监控端点请求参数

func (*DeleteEndpointRequest) Descriptor deprecated

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

Deprecated: Use DeleteEndpointRequest.ProtoReflect.Descriptor instead.

func (*DeleteEndpointRequest) GetId

func (x *DeleteEndpointRequest) GetId() uint32

func (*DeleteEndpointRequest) ProtoMessage

func (*DeleteEndpointRequest) ProtoMessage()

func (*DeleteEndpointRequest) ProtoReflect

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

func (*DeleteEndpointRequest) Reset

func (x *DeleteEndpointRequest) Reset()

func (*DeleteEndpointRequest) String

func (x *DeleteEndpointRequest) String() string

func (*DeleteEndpointRequest) Validate

func (m *DeleteEndpointRequest) Validate() error

Validate checks the field values on DeleteEndpointRequest 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 (*DeleteEndpointRequest) ValidateAll

func (m *DeleteEndpointRequest) ValidateAll() error

ValidateAll checks the field values on DeleteEndpointRequest 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 DeleteEndpointRequestMultiError, or nil if none found.

type DeleteEndpointRequestMultiError

type DeleteEndpointRequestMultiError []error

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

func (DeleteEndpointRequestMultiError) AllErrors

func (m DeleteEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEndpointRequestMultiError) Error

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

type DeleteEndpointRequestValidationError

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

DeleteEndpointRequestValidationError is the validation error returned by DeleteEndpointRequest.Validate if the designated constraints aren't met.

func (DeleteEndpointRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEndpointRequestValidationError) Field

Field function returns field value.

func (DeleteEndpointRequestValidationError) Key

Key function returns key value.

func (DeleteEndpointRequestValidationError) Reason

Reason function returns reason value.

type EditEndpointReply

type EditEndpointReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

编辑端点信息响应参数

func (*EditEndpointReply) Descriptor deprecated

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

Deprecated: Use EditEndpointReply.ProtoReflect.Descriptor instead.

func (*EditEndpointReply) GetId

func (x *EditEndpointReply) GetId() uint32

func (*EditEndpointReply) ProtoMessage

func (*EditEndpointReply) ProtoMessage()

func (*EditEndpointReply) ProtoReflect

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

func (*EditEndpointReply) Reset

func (x *EditEndpointReply) Reset()

func (*EditEndpointReply) String

func (x *EditEndpointReply) String() string

func (*EditEndpointReply) Validate

func (m *EditEndpointReply) Validate() error

Validate checks the field values on EditEndpointReply 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 (*EditEndpointReply) ValidateAll

func (m *EditEndpointReply) ValidateAll() error

ValidateAll checks the field values on EditEndpointReply 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 EditEndpointReplyMultiError, or nil if none found.

type EditEndpointReplyMultiError

type EditEndpointReplyMultiError []error

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

func (EditEndpointReplyMultiError) AllErrors

func (m EditEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditEndpointReplyMultiError) Error

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

type EditEndpointReplyValidationError

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

EditEndpointReplyValidationError is the validation error returned by EditEndpointReply.Validate if the designated constraints aren't met.

func (EditEndpointReplyValidationError) Cause

Cause function returns cause value.

func (EditEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (EditEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (EditEndpointReplyValidationError) Field

Field function returns field value.

func (EditEndpointReplyValidationError) Key

Key function returns key value.

func (EditEndpointReplyValidationError) Reason

Reason function returns reason value.

type EditEndpointRequest

type EditEndpointRequest struct {
	Id       uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Remark   string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"`
	// 用户名称
	Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	// 用户密码
	Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

编辑端点信息请求参数

func (*EditEndpointRequest) Descriptor deprecated

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

Deprecated: Use EditEndpointRequest.ProtoReflect.Descriptor instead.

func (*EditEndpointRequest) GetEndpoint

func (x *EditEndpointRequest) GetEndpoint() string

func (*EditEndpointRequest) GetId

func (x *EditEndpointRequest) GetId() uint32

func (*EditEndpointRequest) GetName

func (x *EditEndpointRequest) GetName() string

func (*EditEndpointRequest) GetPassword

func (x *EditEndpointRequest) GetPassword() string

func (*EditEndpointRequest) GetRemark

func (x *EditEndpointRequest) GetRemark() string

func (*EditEndpointRequest) GetUsername

func (x *EditEndpointRequest) GetUsername() string

func (*EditEndpointRequest) ProtoMessage

func (*EditEndpointRequest) ProtoMessage()

func (*EditEndpointRequest) ProtoReflect

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

func (*EditEndpointRequest) Reset

func (x *EditEndpointRequest) Reset()

func (*EditEndpointRequest) String

func (x *EditEndpointRequest) String() string

func (*EditEndpointRequest) Validate

func (m *EditEndpointRequest) Validate() error

Validate checks the field values on EditEndpointRequest 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 (*EditEndpointRequest) ValidateAll

func (m *EditEndpointRequest) ValidateAll() error

ValidateAll checks the field values on EditEndpointRequest 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 EditEndpointRequestMultiError, or nil if none found.

type EditEndpointRequestMultiError

type EditEndpointRequestMultiError []error

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

func (EditEndpointRequestMultiError) AllErrors

func (m EditEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditEndpointRequestMultiError) Error

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

type EditEndpointRequestValidationError

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

EditEndpointRequestValidationError is the validation error returned by EditEndpointRequest.Validate if the designated constraints aren't met.

func (EditEndpointRequestValidationError) Cause

Cause function returns cause value.

func (EditEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (EditEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (EditEndpointRequestValidationError) Field

Field function returns field value.

func (EditEndpointRequestValidationError) Key

Key function returns key value.

func (EditEndpointRequestValidationError) Reason

Reason function returns reason value.

type EndpointClient

type EndpointClient interface {
	// 添加监控端点
	AppendEndpoint(ctx context.Context, in *AppendEndpointRequest, opts ...grpc.CallOption) (*AppendEndpointReply, error)
	// 删除监控端点
	DeleteEndpoint(ctx context.Context, in *DeleteEndpointRequest, opts ...grpc.CallOption) (*DeleteEndpointReply, error)
	// 编辑端点信息
	EditEndpoint(ctx context.Context, in *EditEndpointRequest, opts ...grpc.CallOption) (*EditEndpointReply, error)
	// 批量修改端点状态
	BatchEditEndpointStatus(ctx context.Context, in *BatchEditEndpointStatusRequest, opts ...grpc.CallOption) (*BatchEditEndpointStatusReply, error)
	// 获取监控端点详情
	GetEndpoint(ctx context.Context, in *GetEndpointRequest, opts ...grpc.CallOption) (*GetEndpointReply, error)
	// 获取监控端点列表
	ListEndpoint(ctx context.Context, in *ListEndpointRequest, opts ...grpc.CallOption) (*ListEndpointReply, error)
	// 获取监控端点下拉列表
	SelectEndpoint(ctx context.Context, in *SelectEndpointRequest, opts ...grpc.CallOption) (*SelectEndpointReply, error)
}

EndpointClient is the client API for Endpoint 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 NewEndpointClient

func NewEndpointClient(cc grpc.ClientConnInterface) EndpointClient

type EndpointHTTPClient

type EndpointHTTPClient interface {
	AppendEndpoint(ctx context.Context, req *AppendEndpointRequest, opts ...http.CallOption) (rsp *AppendEndpointReply, err error)
	BatchEditEndpointStatus(ctx context.Context, req *BatchEditEndpointStatusRequest, opts ...http.CallOption) (rsp *BatchEditEndpointStatusReply, err error)
	DeleteEndpoint(ctx context.Context, req *DeleteEndpointRequest, opts ...http.CallOption) (rsp *DeleteEndpointReply, err error)
	EditEndpoint(ctx context.Context, req *EditEndpointRequest, opts ...http.CallOption) (rsp *EditEndpointReply, err error)
	GetEndpoint(ctx context.Context, req *GetEndpointRequest, opts ...http.CallOption) (rsp *GetEndpointReply, err error)
	ListEndpoint(ctx context.Context, req *ListEndpointRequest, opts ...http.CallOption) (rsp *ListEndpointReply, err error)
	SelectEndpoint(ctx context.Context, req *SelectEndpointRequest, opts ...http.CallOption) (rsp *SelectEndpointReply, err error)
}

func NewEndpointHTTPClient

func NewEndpointHTTPClient(client *http.Client) EndpointHTTPClient

type EndpointHTTPClientImpl

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

func (*EndpointHTTPClientImpl) AppendEndpoint

func (*EndpointHTTPClientImpl) BatchEditEndpointStatus

func (*EndpointHTTPClientImpl) DeleteEndpoint

func (*EndpointHTTPClientImpl) EditEndpoint

func (*EndpointHTTPClientImpl) GetEndpoint

func (*EndpointHTTPClientImpl) ListEndpoint

func (*EndpointHTTPClientImpl) SelectEndpoint

type EndpointServer

type EndpointServer interface {
	// 添加监控端点
	AppendEndpoint(context.Context, *AppendEndpointRequest) (*AppendEndpointReply, error)
	// 删除监控端点
	DeleteEndpoint(context.Context, *DeleteEndpointRequest) (*DeleteEndpointReply, error)
	// 编辑端点信息
	EditEndpoint(context.Context, *EditEndpointRequest) (*EditEndpointReply, error)
	// 批量修改端点状态
	BatchEditEndpointStatus(context.Context, *BatchEditEndpointStatusRequest) (*BatchEditEndpointStatusReply, error)
	// 获取监控端点详情
	GetEndpoint(context.Context, *GetEndpointRequest) (*GetEndpointReply, error)
	// 获取监控端点列表
	ListEndpoint(context.Context, *ListEndpointRequest) (*ListEndpointReply, error)
	// 获取监控端点下拉列表
	SelectEndpoint(context.Context, *SelectEndpointRequest) (*SelectEndpointReply, error)
	// contains filtered or unexported methods
}

EndpointServer is the server API for Endpoint service. All implementations must embed UnimplementedEndpointServer for forward compatibility

type GetEndpointReply

type GetEndpointReply struct {

	// 监控端点信息
	Detail *api.PrometheusServerItem `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

获取监控端点详情响应参数

func (*GetEndpointReply) Descriptor deprecated

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

Deprecated: Use GetEndpointReply.ProtoReflect.Descriptor instead.

func (*GetEndpointReply) GetDetail

func (x *GetEndpointReply) GetDetail() *api.PrometheusServerItem

func (*GetEndpointReply) ProtoMessage

func (*GetEndpointReply) ProtoMessage()

func (*GetEndpointReply) ProtoReflect

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

func (*GetEndpointReply) Reset

func (x *GetEndpointReply) Reset()

func (*GetEndpointReply) String

func (x *GetEndpointReply) String() string

func (*GetEndpointReply) Validate

func (m *GetEndpointReply) Validate() error

Validate checks the field values on GetEndpointReply 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 (*GetEndpointReply) ValidateAll

func (m *GetEndpointReply) ValidateAll() error

ValidateAll checks the field values on GetEndpointReply 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 GetEndpointReplyMultiError, or nil if none found.

type GetEndpointReplyMultiError

type GetEndpointReplyMultiError []error

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

func (GetEndpointReplyMultiError) AllErrors

func (m GetEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEndpointReplyMultiError) Error

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

type GetEndpointReplyValidationError

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

GetEndpointReplyValidationError is the validation error returned by GetEndpointReply.Validate if the designated constraints aren't met.

func (GetEndpointReplyValidationError) Cause

Cause function returns cause value.

func (GetEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (GetEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (GetEndpointReplyValidationError) Field

Field function returns field value.

func (GetEndpointReplyValidationError) Key

Key function returns key value.

func (GetEndpointReplyValidationError) Reason

Reason function returns reason value.

type GetEndpointRequest

type GetEndpointRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

获取监控端点详情请求参数

func (*GetEndpointRequest) Descriptor deprecated

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

Deprecated: Use GetEndpointRequest.ProtoReflect.Descriptor instead.

func (*GetEndpointRequest) GetId

func (x *GetEndpointRequest) GetId() uint32

func (*GetEndpointRequest) ProtoMessage

func (*GetEndpointRequest) ProtoMessage()

func (*GetEndpointRequest) ProtoReflect

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

func (*GetEndpointRequest) Reset

func (x *GetEndpointRequest) Reset()

func (*GetEndpointRequest) String

func (x *GetEndpointRequest) String() string

func (*GetEndpointRequest) Validate

func (m *GetEndpointRequest) Validate() error

Validate checks the field values on GetEndpointRequest 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 (*GetEndpointRequest) ValidateAll

func (m *GetEndpointRequest) ValidateAll() error

ValidateAll checks the field values on GetEndpointRequest 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 GetEndpointRequestMultiError, or nil if none found.

type GetEndpointRequestMultiError

type GetEndpointRequestMultiError []error

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

func (GetEndpointRequestMultiError) AllErrors

func (m GetEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEndpointRequestMultiError) Error

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

type GetEndpointRequestValidationError

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

GetEndpointRequestValidationError is the validation error returned by GetEndpointRequest.Validate if the designated constraints aren't met.

func (GetEndpointRequestValidationError) Cause

Cause function returns cause value.

func (GetEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEndpointRequestValidationError) Field

Field function returns field value.

func (GetEndpointRequestValidationError) Key

Key function returns key value.

func (GetEndpointRequestValidationError) Reason

Reason function returns reason value.

type ListEndpointReply

type ListEndpointReply struct {

	// 响应信息
	Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	// 监控端点列表
	List []*api.PrometheusServerItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEndpointReply) Descriptor deprecated

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

Deprecated: Use ListEndpointReply.ProtoReflect.Descriptor instead.

func (*ListEndpointReply) GetList

func (x *ListEndpointReply) GetList() []*api.PrometheusServerItem

func (*ListEndpointReply) GetPage

func (x *ListEndpointReply) GetPage() *api.PageReply

func (*ListEndpointReply) ProtoMessage

func (*ListEndpointReply) ProtoMessage()

func (*ListEndpointReply) ProtoReflect

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

func (*ListEndpointReply) Reset

func (x *ListEndpointReply) Reset()

func (*ListEndpointReply) String

func (x *ListEndpointReply) String() string

func (*ListEndpointReply) Validate

func (m *ListEndpointReply) Validate() error

Validate checks the field values on ListEndpointReply 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 (*ListEndpointReply) ValidateAll

func (m *ListEndpointReply) ValidateAll() error

ValidateAll checks the field values on ListEndpointReply 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 ListEndpointReplyMultiError, or nil if none found.

type ListEndpointReplyMultiError

type ListEndpointReplyMultiError []error

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

func (ListEndpointReplyMultiError) AllErrors

func (m ListEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEndpointReplyMultiError) Error

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

type ListEndpointReplyValidationError

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

ListEndpointReplyValidationError is the validation error returned by ListEndpointReply.Validate if the designated constraints aren't met.

func (ListEndpointReplyValidationError) Cause

Cause function returns cause value.

func (ListEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (ListEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (ListEndpointReplyValidationError) Field

Field function returns field value.

func (ListEndpointReplyValidationError) Key

Key function returns key value.

func (ListEndpointReplyValidationError) Reason

Reason function returns reason value.

type ListEndpointRequest

type ListEndpointRequest struct {
	Page    *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Keyword string           `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Status  api.Status       `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

获取监控端点列表请求参数

func (*ListEndpointRequest) Descriptor deprecated

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

Deprecated: Use ListEndpointRequest.ProtoReflect.Descriptor instead.

func (*ListEndpointRequest) GetKeyword

func (x *ListEndpointRequest) GetKeyword() string

func (*ListEndpointRequest) GetPage

func (x *ListEndpointRequest) GetPage() *api.PageRequest

func (*ListEndpointRequest) GetStatus

func (x *ListEndpointRequest) GetStatus() api.Status

func (*ListEndpointRequest) ProtoMessage

func (*ListEndpointRequest) ProtoMessage()

func (*ListEndpointRequest) ProtoReflect

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

func (*ListEndpointRequest) Reset

func (x *ListEndpointRequest) Reset()

func (*ListEndpointRequest) String

func (x *ListEndpointRequest) String() string

func (*ListEndpointRequest) Validate

func (m *ListEndpointRequest) Validate() error

Validate checks the field values on ListEndpointRequest 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 (*ListEndpointRequest) ValidateAll

func (m *ListEndpointRequest) ValidateAll() error

ValidateAll checks the field values on ListEndpointRequest 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 ListEndpointRequestMultiError, or nil if none found.

type ListEndpointRequestMultiError

type ListEndpointRequestMultiError []error

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

func (ListEndpointRequestMultiError) AllErrors

func (m ListEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEndpointRequestMultiError) Error

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

type ListEndpointRequestValidationError

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

ListEndpointRequestValidationError is the validation error returned by ListEndpointRequest.Validate if the designated constraints aren't met.

func (ListEndpointRequestValidationError) Cause

Cause function returns cause value.

func (ListEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEndpointRequestValidationError) Field

Field function returns field value.

func (ListEndpointRequestValidationError) Key

Key function returns key value.

func (ListEndpointRequestValidationError) Reason

Reason function returns reason value.

type SelectEndpointReply

type SelectEndpointReply struct {

	// 响应信息
	Page *api.PageReply `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	// 监控端点下拉列表
	List []*api.PrometheusServerSelectItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectEndpointReply) Descriptor deprecated

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

Deprecated: Use SelectEndpointReply.ProtoReflect.Descriptor instead.

func (*SelectEndpointReply) GetList

func (*SelectEndpointReply) GetPage

func (x *SelectEndpointReply) GetPage() *api.PageReply

func (*SelectEndpointReply) ProtoMessage

func (*SelectEndpointReply) ProtoMessage()

func (*SelectEndpointReply) ProtoReflect

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

func (*SelectEndpointReply) Reset

func (x *SelectEndpointReply) Reset()

func (*SelectEndpointReply) String

func (x *SelectEndpointReply) String() string

func (*SelectEndpointReply) Validate

func (m *SelectEndpointReply) Validate() error

Validate checks the field values on SelectEndpointReply 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 (*SelectEndpointReply) ValidateAll

func (m *SelectEndpointReply) ValidateAll() error

ValidateAll checks the field values on SelectEndpointReply 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 SelectEndpointReplyMultiError, or nil if none found.

type SelectEndpointReplyMultiError

type SelectEndpointReplyMultiError []error

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

func (SelectEndpointReplyMultiError) AllErrors

func (m SelectEndpointReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectEndpointReplyMultiError) Error

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

type SelectEndpointReplyValidationError

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

SelectEndpointReplyValidationError is the validation error returned by SelectEndpointReply.Validate if the designated constraints aren't met.

func (SelectEndpointReplyValidationError) Cause

Cause function returns cause value.

func (SelectEndpointReplyValidationError) Error

Error satisfies the builtin error interface

func (SelectEndpointReplyValidationError) ErrorName

ErrorName returns error name.

func (SelectEndpointReplyValidationError) Field

Field function returns field value.

func (SelectEndpointReplyValidationError) Key

Key function returns key value.

func (SelectEndpointReplyValidationError) Reason

Reason function returns reason value.

type SelectEndpointRequest

type SelectEndpointRequest struct {
	Page    *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
	Keyword string           `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Status  api.Status       `protobuf:"varint,3,opt,name=status,proto3,enum=api.Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

获取监控端点下拉列表请求参数

func (*SelectEndpointRequest) Descriptor deprecated

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

Deprecated: Use SelectEndpointRequest.ProtoReflect.Descriptor instead.

func (*SelectEndpointRequest) GetKeyword

func (x *SelectEndpointRequest) GetKeyword() string

func (*SelectEndpointRequest) GetPage

func (x *SelectEndpointRequest) GetPage() *api.PageRequest

func (*SelectEndpointRequest) GetStatus

func (x *SelectEndpointRequest) GetStatus() api.Status

func (*SelectEndpointRequest) ProtoMessage

func (*SelectEndpointRequest) ProtoMessage()

func (*SelectEndpointRequest) ProtoReflect

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

func (*SelectEndpointRequest) Reset

func (x *SelectEndpointRequest) Reset()

func (*SelectEndpointRequest) String

func (x *SelectEndpointRequest) String() string

func (*SelectEndpointRequest) Validate

func (m *SelectEndpointRequest) Validate() error

Validate checks the field values on SelectEndpointRequest 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 (*SelectEndpointRequest) ValidateAll

func (m *SelectEndpointRequest) ValidateAll() error

ValidateAll checks the field values on SelectEndpointRequest 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 SelectEndpointRequestMultiError, or nil if none found.

type SelectEndpointRequestMultiError

type SelectEndpointRequestMultiError []error

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

func (SelectEndpointRequestMultiError) AllErrors

func (m SelectEndpointRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SelectEndpointRequestMultiError) Error

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

type SelectEndpointRequestValidationError

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

SelectEndpointRequestValidationError is the validation error returned by SelectEndpointRequest.Validate if the designated constraints aren't met.

func (SelectEndpointRequestValidationError) Cause

Cause function returns cause value.

func (SelectEndpointRequestValidationError) Error

Error satisfies the builtin error interface

func (SelectEndpointRequestValidationError) ErrorName

ErrorName returns error name.

func (SelectEndpointRequestValidationError) Field

Field function returns field value.

func (SelectEndpointRequestValidationError) Key

Key function returns key value.

func (SelectEndpointRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedEndpointServer

type UnimplementedEndpointServer struct {
}

UnimplementedEndpointServer must be embedded to have forward compatible implementations.

func (UnimplementedEndpointServer) AppendEndpoint

func (UnimplementedEndpointServer) DeleteEndpoint

func (UnimplementedEndpointServer) EditEndpoint

func (UnimplementedEndpointServer) GetEndpoint

func (UnimplementedEndpointServer) ListEndpoint

func (UnimplementedEndpointServer) SelectEndpoint

type UnsafeEndpointServer

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

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

Jump to

Keyboard shortcuts

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