redns_rpc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: GPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Stray_AddStray_FullMethodName           = "/y7_redns_apiserver_v1.Stray/AddStray"
	Stray_AddStrays_FullMethodName          = "/y7_redns_apiserver_v1.Stray/AddStrays"
	Stray_ListStrays_FullMethodName         = "/y7_redns_apiserver_v1.Stray/ListStrays"
	Stray_DeleteStrayById_FullMethodName    = "/y7_redns_apiserver_v1.Stray/DeleteStrayById"
	Stray_DeleteStrayByValue_FullMethodName = "/y7_redns_apiserver_v1.Stray/DeleteStrayByValue"
	Stray_ModifyStray_FullMethodName        = "/y7_redns_apiserver_v1.Stray/ModifyStray"
)
View Source
const (
	Redns_AddGeneration_FullMethodName        = "/y7_redns_apiserver_v1.Redns/AddGeneration"
	Redns_DeleteGenerationById_FullMethodName = "/y7_redns_apiserver_v1.Redns/DeleteGenerationById"
)

Variables

View Source
var (
	Result_name = map[int32]string{
		0: "success",
		1: "not_found",
	}
	Result_value = map[string]int32{
		"success":   0,
		"not_found": 1,
	}
)

Enum value maps for Result.

View Source
var File_redns_rpc_proto protoreflect.FileDescriptor
View Source
var Redns_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "y7_redns_apiserver_v1.Redns",
	HandlerType: (*RednsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteGenerationById",
			Handler:    _Redns_DeleteGenerationById_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "AddGeneration",
			Handler:       _Redns_AddGeneration_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "redns_rpc.proto",
}

Redns_ServiceDesc is the grpc.ServiceDesc for Redns 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 Stray_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "y7_redns_apiserver_v1.Stray",
	HandlerType: (*StrayServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddStray",
			Handler:    _Stray_AddStray_Handler,
		},
		{
			MethodName: "DeleteStrayById",
			Handler:    _Stray_DeleteStrayById_Handler,
		},
		{
			MethodName: "DeleteStrayByValue",
			Handler:    _Stray_DeleteStrayByValue_Handler,
		},
		{
			MethodName: "ModifyStray",
			Handler:    _Stray_ModifyStray_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "AddStrays",
			Handler:       _Stray_AddStrays_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "ListStrays",
			Handler:       _Stray_ListStrays_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "redns_rpc.proto",
}

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

Functions

func RegisterRednsServer

func RegisterRednsServer(s grpc.ServiceRegistrar, srv RednsServer)

func RegisterStrayServer

func RegisterStrayServer(s grpc.ServiceRegistrar, srv StrayServer)

Types

type AddGenerationRequest

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

func (*AddGenerationRequest) Descriptor deprecated

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

Deprecated: Use AddGenerationRequest.ProtoReflect.Descriptor instead.

func (*AddGenerationRequest) GetId

func (x *AddGenerationRequest) GetId() string

func (*AddGenerationRequest) ProtoMessage

func (*AddGenerationRequest) ProtoMessage()

func (*AddGenerationRequest) ProtoReflect

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

func (*AddGenerationRequest) Reset

func (x *AddGenerationRequest) Reset()

func (*AddGenerationRequest) String

func (x *AddGenerationRequest) String() string

func (*AddGenerationRequest) Validate

func (m *AddGenerationRequest) Validate() error

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

func (m *AddGenerationRequest) ValidateAll() error

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

type AddGenerationRequestMultiError

type AddGenerationRequestMultiError []error

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

func (AddGenerationRequestMultiError) AllErrors

func (m AddGenerationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddGenerationRequestMultiError) Error

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

type AddGenerationRequestValidationError

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

AddGenerationRequestValidationError is the validation error returned by AddGenerationRequest.Validate if the designated constraints aren't met.

func (AddGenerationRequestValidationError) Cause

Cause function returns cause value.

func (AddGenerationRequestValidationError) Error

Error satisfies the builtin error interface

func (AddGenerationRequestValidationError) ErrorName

ErrorName returns error name.

func (AddGenerationRequestValidationError) Field

Field function returns field value.

func (AddGenerationRequestValidationError) Key

Key function returns key value.

func (AddGenerationRequestValidationError) Reason

Reason function returns reason value.

type AddGenerationResponse

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

func (*AddGenerationResponse) Descriptor deprecated

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

Deprecated: Use AddGenerationResponse.ProtoReflect.Descriptor instead.

func (*AddGenerationResponse) GetAffectedRecordsCount

func (x *AddGenerationResponse) GetAffectedRecordsCount() uint32

func (*AddGenerationResponse) ProtoMessage

func (*AddGenerationResponse) ProtoMessage()

func (*AddGenerationResponse) ProtoReflect

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

func (*AddGenerationResponse) Reset

func (x *AddGenerationResponse) Reset()

func (*AddGenerationResponse) String

func (x *AddGenerationResponse) String() string

func (*AddGenerationResponse) Validate

func (m *AddGenerationResponse) Validate() error

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

func (m *AddGenerationResponse) ValidateAll() error

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

type AddGenerationResponseMultiError

type AddGenerationResponseMultiError []error

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

func (AddGenerationResponseMultiError) AllErrors

func (m AddGenerationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddGenerationResponseMultiError) Error

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

type AddGenerationResponseValidationError

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

AddGenerationResponseValidationError is the validation error returned by AddGenerationResponse.Validate if the designated constraints aren't met.

func (AddGenerationResponseValidationError) Cause

Cause function returns cause value.

func (AddGenerationResponseValidationError) Error

Error satisfies the builtin error interface

func (AddGenerationResponseValidationError) ErrorName

ErrorName returns error name.

func (AddGenerationResponseValidationError) Field

Field function returns field value.

func (AddGenerationResponseValidationError) Key

Key function returns key value.

func (AddGenerationResponseValidationError) Reason

Reason function returns reason value.

type DeleteGenerationRequest

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

func (*DeleteGenerationRequest) Descriptor deprecated

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

Deprecated: Use DeleteGenerationRequest.ProtoReflect.Descriptor instead.

func (*DeleteGenerationRequest) GetId

func (x *DeleteGenerationRequest) GetId() string

func (*DeleteGenerationRequest) ProtoMessage

func (*DeleteGenerationRequest) ProtoMessage()

func (*DeleteGenerationRequest) ProtoReflect

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

func (*DeleteGenerationRequest) Reset

func (x *DeleteGenerationRequest) Reset()

func (*DeleteGenerationRequest) String

func (x *DeleteGenerationRequest) String() string

func (*DeleteGenerationRequest) Validate

func (m *DeleteGenerationRequest) Validate() error

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

func (m *DeleteGenerationRequest) ValidateAll() error

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

type DeleteGenerationRequestMultiError

type DeleteGenerationRequestMultiError []error

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

func (DeleteGenerationRequestMultiError) AllErrors

func (m DeleteGenerationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGenerationRequestMultiError) Error

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

type DeleteGenerationRequestValidationError

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

DeleteGenerationRequestValidationError is the validation error returned by DeleteGenerationRequest.Validate if the designated constraints aren't met.

func (DeleteGenerationRequestValidationError) Cause

Cause function returns cause value.

func (DeleteGenerationRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteGenerationRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteGenerationRequestValidationError) Field

Field function returns field value.

func (DeleteGenerationRequestValidationError) Key

Key function returns key value.

func (DeleteGenerationRequestValidationError) Reason

Reason function returns reason value.

type DetailedStrayEntity

type DetailedStrayEntity struct {
	QName    string `protobuf:"bytes,1,opt,name=QName,proto3" json:"QName,omitempty"`
	QType    string `protobuf:"bytes,2,opt,name=QType,proto3" json:"QType,omitempty"`
	Id       string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"`
	Rfc1035  string `protobuf:"bytes,4,opt,name=Rfc1035,proto3" json:"Rfc1035,omitempty"`
	Expiry   uint32 `protobuf:"varint,5,opt,name=Expiry,proto3" json:"Expiry,omitempty"`
	RedisKey string `protobuf:"bytes,6,opt,name=RedisKey,proto3" json:"RedisKey,omitempty"`
	// contains filtered or unexported fields
}

func (*DetailedStrayEntity) Descriptor deprecated

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

Deprecated: Use DetailedStrayEntity.ProtoReflect.Descriptor instead.

func (*DetailedStrayEntity) GetExpiry

func (x *DetailedStrayEntity) GetExpiry() uint32

func (*DetailedStrayEntity) GetId

func (x *DetailedStrayEntity) GetId() string

func (*DetailedStrayEntity) GetQName

func (x *DetailedStrayEntity) GetQName() string

func (*DetailedStrayEntity) GetQType

func (x *DetailedStrayEntity) GetQType() string

func (*DetailedStrayEntity) GetRedisKey

func (x *DetailedStrayEntity) GetRedisKey() string

func (*DetailedStrayEntity) GetRfc1035

func (x *DetailedStrayEntity) GetRfc1035() string

func (*DetailedStrayEntity) Key

func (r *DetailedStrayEntity) Key() string

return redis Key for this Record

func (*DetailedStrayEntity) ProtoMessage

func (*DetailedStrayEntity) ProtoMessage()

func (*DetailedStrayEntity) ProtoReflect

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

func (*DetailedStrayEntity) Reset

func (x *DetailedStrayEntity) Reset()

func (*DetailedStrayEntity) String

func (x *DetailedStrayEntity) String() string

func (*DetailedStrayEntity) ToRfc1035

func (r *DetailedStrayEntity) ToRfc1035() string

func (*DetailedStrayEntity) Validate

func (m *DetailedStrayEntity) Validate() error

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

func (m *DetailedStrayEntity) ValidateAll() error

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

type DetailedStrayEntityMultiError

type DetailedStrayEntityMultiError []error

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

func (DetailedStrayEntityMultiError) AllErrors

func (m DetailedStrayEntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DetailedStrayEntityMultiError) Error

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

type DetailedStrayEntityValidationError

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

DetailedStrayEntityValidationError is the validation error returned by DetailedStrayEntity.Validate if the designated constraints aren't met.

func (DetailedStrayEntityValidationError) Cause

Cause function returns cause value.

func (DetailedStrayEntityValidationError) Error

Error satisfies the builtin error interface

func (DetailedStrayEntityValidationError) ErrorName

ErrorName returns error name.

func (DetailedStrayEntityValidationError) Field

Field function returns field value.

func (DetailedStrayEntityValidationError) Key

Key function returns key value.

func (DetailedStrayEntityValidationError) Reason

Reason function returns reason value.

type ExtendedStrayRecord

type ExtendedStrayRecord struct {
	*DetailedStrayEntity
	RedisKey *string
	RR       *dns.RR
}

func (*ExtendedStrayRecord) DecodeBufToRR

func (r *ExtendedStrayRecord) DecodeBufToRR(buf string) error

func (*ExtendedStrayRecord) ToWireFormat

func (r *ExtendedStrayRecord) ToWireFormat(keepQname bool) ([]byte, error)

type PerServerRednsGenerationDeleteByIdResult

type PerServerRednsGenerationDeleteByIdResult struct {
	Results []*RednsGenerationDeleteResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*PerServerRednsGenerationDeleteByIdResult) Descriptor deprecated

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

Deprecated: Use PerServerRednsGenerationDeleteByIdResult.ProtoReflect.Descriptor instead.

func (*PerServerRednsGenerationDeleteByIdResult) GetResults

func (*PerServerRednsGenerationDeleteByIdResult) ProtoMessage

func (*PerServerRednsGenerationDeleteByIdResult) ProtoReflect

func (*PerServerRednsGenerationDeleteByIdResult) Reset

func (*PerServerRednsGenerationDeleteByIdResult) String

func (*PerServerRednsGenerationDeleteByIdResult) Validate

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

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

type PerServerRednsGenerationDeleteByIdResultMultiError

type PerServerRednsGenerationDeleteByIdResultMultiError []error

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

func (PerServerRednsGenerationDeleteByIdResultMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PerServerRednsGenerationDeleteByIdResultMultiError) Error

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

type PerServerRednsGenerationDeleteByIdResultValidationError

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

PerServerRednsGenerationDeleteByIdResultValidationError is the validation error returned by PerServerRednsGenerationDeleteByIdResult.Validate if the designated constraints aren't met.

func (PerServerRednsGenerationDeleteByIdResultValidationError) Cause

Cause function returns cause value.

func (PerServerRednsGenerationDeleteByIdResultValidationError) Error

Error satisfies the builtin error interface

func (PerServerRednsGenerationDeleteByIdResultValidationError) ErrorName

ErrorName returns error name.

func (PerServerRednsGenerationDeleteByIdResultValidationError) Field

Field function returns field value.

func (PerServerRednsGenerationDeleteByIdResultValidationError) Key

Key function returns key value.

func (PerServerRednsGenerationDeleteByIdResultValidationError) Reason

Reason function returns reason value.

type PerServerStrayDeleteByIdResult

type PerServerStrayDeleteByIdResult struct {
	Request *StrayEntity           `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	Results []*StrayDeleteResponse `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*PerServerStrayDeleteByIdResult) Descriptor deprecated

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

Deprecated: Use PerServerStrayDeleteByIdResult.ProtoReflect.Descriptor instead.

func (*PerServerStrayDeleteByIdResult) GetRequest

func (*PerServerStrayDeleteByIdResult) GetResults

func (*PerServerStrayDeleteByIdResult) ProtoMessage

func (*PerServerStrayDeleteByIdResult) ProtoMessage()

func (*PerServerStrayDeleteByIdResult) ProtoReflect

func (*PerServerStrayDeleteByIdResult) Reset

func (x *PerServerStrayDeleteByIdResult) Reset()

func (*PerServerStrayDeleteByIdResult) String

func (*PerServerStrayDeleteByIdResult) Validate

func (m *PerServerStrayDeleteByIdResult) Validate() error

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

func (m *PerServerStrayDeleteByIdResult) ValidateAll() error

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

type PerServerStrayDeleteByIdResultMultiError

type PerServerStrayDeleteByIdResultMultiError []error

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

func (PerServerStrayDeleteByIdResultMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PerServerStrayDeleteByIdResultMultiError) Error

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

type PerServerStrayDeleteByIdResultValidationError

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

PerServerStrayDeleteByIdResultValidationError is the validation error returned by PerServerStrayDeleteByIdResult.Validate if the designated constraints aren't met.

func (PerServerStrayDeleteByIdResultValidationError) Cause

Cause function returns cause value.

func (PerServerStrayDeleteByIdResultValidationError) Error

Error satisfies the builtin error interface

func (PerServerStrayDeleteByIdResultValidationError) ErrorName

ErrorName returns error name.

func (PerServerStrayDeleteByIdResultValidationError) Field

Field function returns field value.

func (PerServerStrayDeleteByIdResultValidationError) Key

Key function returns key value.

func (PerServerStrayDeleteByIdResultValidationError) Reason

Reason function returns reason value.

type RRidentifier

type RRidentifier struct {
	QName string `protobuf:"bytes,1,opt,name=QName,proto3" json:"QName,omitempty"`
	QType string `protobuf:"bytes,2,opt,name=QType,proto3" json:"QType,omitempty"`
	// contains filtered or unexported fields
}

func (*RRidentifier) Descriptor deprecated

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

Deprecated: Use RRidentifier.ProtoReflect.Descriptor instead.

func (*RRidentifier) GetQName

func (x *RRidentifier) GetQName() string

func (*RRidentifier) GetQType

func (x *RRidentifier) GetQType() string

func (*RRidentifier) ProtoMessage

func (*RRidentifier) ProtoMessage()

func (*RRidentifier) ProtoReflect

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

func (*RRidentifier) Reset

func (x *RRidentifier) Reset()

func (*RRidentifier) String

func (x *RRidentifier) String() string

func (*RRidentifier) Validate

func (m *RRidentifier) Validate() error

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

func (m *RRidentifier) ValidateAll() error

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

type RRidentifierMultiError

type RRidentifierMultiError []error

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

func (RRidentifierMultiError) AllErrors

func (m RRidentifierMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RRidentifierMultiError) Error

func (m RRidentifierMultiError) Error() string

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

type RRidentifierValidationError

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

RRidentifierValidationError is the validation error returned by RRidentifier.Validate if the designated constraints aren't met.

func (RRidentifierValidationError) Cause

Cause function returns cause value.

func (RRidentifierValidationError) Error

Error satisfies the builtin error interface

func (RRidentifierValidationError) ErrorName

func (e RRidentifierValidationError) ErrorName() string

ErrorName returns error name.

func (RRidentifierValidationError) Field

Field function returns field value.

func (RRidentifierValidationError) Key

Key function returns key value.

func (RRidentifierValidationError) Reason

Reason function returns reason value.

type RednsClient

type RednsClient interface {
	AddGeneration(ctx context.Context, opts ...grpc.CallOption) (Redns_AddGenerationClient, error)
	DeleteGenerationById(ctx context.Context, in *DeleteGenerationRequest, opts ...grpc.CallOption) (*PerServerRednsGenerationDeleteByIdResult, error)
}

RednsClient is the client API for Redns 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 NewRednsClient

func NewRednsClient(cc grpc.ClientConnInterface) RednsClient

type RednsGenerationDeleteResponse

type RednsGenerationDeleteResponse struct {
	Server               string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	AffectedRecordsCount uint32 `protobuf:"varint,2,opt,name=affectedRecordsCount,proto3" json:"affectedRecordsCount,omitempty"`
	// contains filtered or unexported fields
}

func (*RednsGenerationDeleteResponse) Descriptor deprecated

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

Deprecated: Use RednsGenerationDeleteResponse.ProtoReflect.Descriptor instead.

func (*RednsGenerationDeleteResponse) GetAffectedRecordsCount

func (x *RednsGenerationDeleteResponse) GetAffectedRecordsCount() uint32

func (*RednsGenerationDeleteResponse) GetServer

func (x *RednsGenerationDeleteResponse) GetServer() string

func (*RednsGenerationDeleteResponse) ProtoMessage

func (*RednsGenerationDeleteResponse) ProtoMessage()

func (*RednsGenerationDeleteResponse) ProtoReflect

func (*RednsGenerationDeleteResponse) Reset

func (x *RednsGenerationDeleteResponse) Reset()

func (*RednsGenerationDeleteResponse) String

func (*RednsGenerationDeleteResponse) Validate

func (m *RednsGenerationDeleteResponse) Validate() error

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

func (m *RednsGenerationDeleteResponse) ValidateAll() error

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

type RednsGenerationDeleteResponseMultiError

type RednsGenerationDeleteResponseMultiError []error

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

func (RednsGenerationDeleteResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (RednsGenerationDeleteResponseMultiError) Error

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

type RednsGenerationDeleteResponseValidationError

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

RednsGenerationDeleteResponseValidationError is the validation error returned by RednsGenerationDeleteResponse.Validate if the designated constraints aren't met.

func (RednsGenerationDeleteResponseValidationError) Cause

Cause function returns cause value.

func (RednsGenerationDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (RednsGenerationDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (RednsGenerationDeleteResponseValidationError) Field

Field function returns field value.

func (RednsGenerationDeleteResponseValidationError) Key

Key function returns key value.

func (RednsGenerationDeleteResponseValidationError) Reason

Reason function returns reason value.

type RednsServer

type RednsServer interface {
	AddGeneration(Redns_AddGenerationServer) error
	DeleteGenerationById(context.Context, *DeleteGenerationRequest) (*PerServerRednsGenerationDeleteByIdResult, error)
	// contains filtered or unexported methods
}

RednsServer is the server API for Redns service. All implementations must embed UnimplementedRednsServer for forward compatibility

type Redns_AddGenerationClient

type Redns_AddGenerationClient interface {
	Send(*Rfc1035) error
	CloseAndRecv() (*AddGenerationResponse, error)
	grpc.ClientStream
}

type Redns_AddGenerationServer

type Redns_AddGenerationServer interface {
	SendAndClose(*AddGenerationResponse) error
	Recv() (*Rfc1035, error)
	grpc.ServerStream
}

type Result

type Result int32
const (
	Result_success   Result = 0
	Result_not_found Result = 1
)

func (Result) Descriptor

func (Result) Descriptor() protoreflect.EnumDescriptor

func (Result) Enum

func (x Result) Enum() *Result

func (Result) EnumDescriptor deprecated

func (Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use Result.Descriptor instead.

func (Result) Number

func (x Result) Number() protoreflect.EnumNumber

func (Result) String

func (x Result) String() string

func (Result) Type

func (Result) Type() protoreflect.EnumType

type ResultMsg

type ResultMsg struct {
	Message *string `protobuf:"bytes,1,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultMsg) Descriptor deprecated

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

Deprecated: Use ResultMsg.ProtoReflect.Descriptor instead.

func (*ResultMsg) GetMessage

func (x *ResultMsg) GetMessage() string

func (*ResultMsg) ProtoMessage

func (*ResultMsg) ProtoMessage()

func (*ResultMsg) ProtoReflect

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

func (*ResultMsg) Reset

func (x *ResultMsg) Reset()

func (*ResultMsg) String

func (x *ResultMsg) String() string

func (*ResultMsg) Validate

func (m *ResultMsg) Validate() error

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

func (m *ResultMsg) ValidateAll() error

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

type ResultMsgMultiError

type ResultMsgMultiError []error

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

func (ResultMsgMultiError) AllErrors

func (m ResultMsgMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResultMsgMultiError) Error

func (m ResultMsgMultiError) Error() string

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

type ResultMsgValidationError

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

ResultMsgValidationError is the validation error returned by ResultMsg.Validate if the designated constraints aren't met.

func (ResultMsgValidationError) Cause

func (e ResultMsgValidationError) Cause() error

Cause function returns cause value.

func (ResultMsgValidationError) Error

func (e ResultMsgValidationError) Error() string

Error satisfies the builtin error interface

func (ResultMsgValidationError) ErrorName

func (e ResultMsgValidationError) ErrorName() string

ErrorName returns error name.

func (ResultMsgValidationError) Field

func (e ResultMsgValidationError) Field() string

Field function returns field value.

func (ResultMsgValidationError) Key

Key function returns key value.

func (ResultMsgValidationError) Reason

func (e ResultMsgValidationError) Reason() string

Reason function returns reason value.

type Rfc1035

type Rfc1035 struct {
	Rfc1035 string `protobuf:"bytes,1,opt,name=Rfc1035,proto3" json:"Rfc1035,omitempty"`
	// contains filtered or unexported fields
}

func (*Rfc1035) Descriptor deprecated

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

Deprecated: Use Rfc1035.ProtoReflect.Descriptor instead.

func (*Rfc1035) GetRfc1035

func (x *Rfc1035) GetRfc1035() string

func (*Rfc1035) ProtoMessage

func (*Rfc1035) ProtoMessage()

func (*Rfc1035) ProtoReflect

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

func (*Rfc1035) Reset

func (x *Rfc1035) Reset()

func (*Rfc1035) String

func (x *Rfc1035) String() string

func (*Rfc1035) Validate

func (m *Rfc1035) Validate() error

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

func (m *Rfc1035) ValidateAll() error

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

type Rfc1035MultiError

type Rfc1035MultiError []error

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

func (Rfc1035MultiError) AllErrors

func (m Rfc1035MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Rfc1035MultiError) Error

func (m Rfc1035MultiError) Error() string

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

type Rfc1035ValidationError

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

Rfc1035ValidationError is the validation error returned by Rfc1035.Validate if the designated constraints aren't met.

func (Rfc1035ValidationError) Cause

func (e Rfc1035ValidationError) Cause() error

Cause function returns cause value.

func (Rfc1035ValidationError) Error

func (e Rfc1035ValidationError) Error() string

Error satisfies the builtin error interface

func (Rfc1035ValidationError) ErrorName

func (e Rfc1035ValidationError) ErrorName() string

ErrorName returns error name.

func (Rfc1035ValidationError) Field

func (e Rfc1035ValidationError) Field() string

Field function returns field value.

func (Rfc1035ValidationError) Key

func (e Rfc1035ValidationError) Key() bool

Key function returns key value.

func (Rfc1035ValidationError) Reason

func (e Rfc1035ValidationError) Reason() string

Reason function returns reason value.

type StrayByValueRequest

type StrayByValueRequest struct {
	Rfc1035 string `protobuf:"bytes,2,opt,name=Rfc1035,proto3" json:"Rfc1035,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayByValueRequest) Descriptor deprecated

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

Deprecated: Use StrayByValueRequest.ProtoReflect.Descriptor instead.

func (*StrayByValueRequest) GetRfc1035

func (x *StrayByValueRequest) GetRfc1035() string

func (*StrayByValueRequest) ProtoMessage

func (*StrayByValueRequest) ProtoMessage()

func (*StrayByValueRequest) ProtoReflect

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

func (*StrayByValueRequest) Reset

func (x *StrayByValueRequest) Reset()

func (*StrayByValueRequest) String

func (x *StrayByValueRequest) String() string

func (*StrayByValueRequest) Validate

func (m *StrayByValueRequest) Validate() error

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

func (m *StrayByValueRequest) ValidateAll() error

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

type StrayByValueRequestMultiError

type StrayByValueRequestMultiError []error

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

func (StrayByValueRequestMultiError) AllErrors

func (m StrayByValueRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayByValueRequestMultiError) Error

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

type StrayByValueRequestValidationError

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

StrayByValueRequestValidationError is the validation error returned by StrayByValueRequest.Validate if the designated constraints aren't met.

func (StrayByValueRequestValidationError) Cause

Cause function returns cause value.

func (StrayByValueRequestValidationError) Error

Error satisfies the builtin error interface

func (StrayByValueRequestValidationError) ErrorName

ErrorName returns error name.

func (StrayByValueRequestValidationError) Field

Field function returns field value.

func (StrayByValueRequestValidationError) Key

Key function returns key value.

func (StrayByValueRequestValidationError) Reason

Reason function returns reason value.

type StrayClient

type StrayClient interface {
	AddStray(ctx context.Context, in *StrayModifyRequests, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AddStrays(ctx context.Context, opts ...grpc.CallOption) (Stray_AddStraysClient, error)
	ListStrays(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (Stray_ListStraysClient, error)
	DeleteStrayById(ctx context.Context, in *StrayEntity, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteStrayByValue(ctx context.Context, in *StrayByValueRequest, opts ...grpc.CallOption) (*StrayDeleteResponses, error)
	ModifyStray(ctx context.Context, in *StrayModifyRequest, opts ...grpc.CallOption) (*ResultMsg, error)
}

StrayClient is the client API for Stray 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 NewStrayClient

func NewStrayClient(cc grpc.ClientConnInterface) StrayClient

type StrayDeleteRequest

type StrayDeleteRequest struct {
	QName string `protobuf:"bytes,1,opt,name=QName,proto3" json:"QName,omitempty"`
	QType string `protobuf:"bytes,2,opt,name=QType,proto3" json:"QType,omitempty"`
	Id    string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayDeleteRequest) Descriptor deprecated

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

Deprecated: Use StrayDeleteRequest.ProtoReflect.Descriptor instead.

func (*StrayDeleteRequest) GetId

func (x *StrayDeleteRequest) GetId() string

func (*StrayDeleteRequest) GetQName

func (x *StrayDeleteRequest) GetQName() string

func (*StrayDeleteRequest) GetQType

func (x *StrayDeleteRequest) GetQType() string

func (*StrayDeleteRequest) ProtoMessage

func (*StrayDeleteRequest) ProtoMessage()

func (*StrayDeleteRequest) ProtoReflect

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

func (*StrayDeleteRequest) Reset

func (x *StrayDeleteRequest) Reset()

func (*StrayDeleteRequest) String

func (x *StrayDeleteRequest) String() string

func (*StrayDeleteRequest) Validate

func (m *StrayDeleteRequest) Validate() error

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

func (m *StrayDeleteRequest) ValidateAll() error

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

type StrayDeleteRequestMultiError

type StrayDeleteRequestMultiError []error

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

func (StrayDeleteRequestMultiError) AllErrors

func (m StrayDeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayDeleteRequestMultiError) Error

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

type StrayDeleteRequestValidationError

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

StrayDeleteRequestValidationError is the validation error returned by StrayDeleteRequest.Validate if the designated constraints aren't met.

func (StrayDeleteRequestValidationError) Cause

Cause function returns cause value.

func (StrayDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (StrayDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (StrayDeleteRequestValidationError) Field

Field function returns field value.

func (StrayDeleteRequestValidationError) Key

Key function returns key value.

func (StrayDeleteRequestValidationError) Reason

Reason function returns reason value.

type StrayDeleteResponse

type StrayDeleteResponse struct {
	Server       string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	RowsAffected uint32 `protobuf:"varint,2,opt,name=rowsAffected,proto3" json:"rowsAffected,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayDeleteResponse) Descriptor deprecated

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

Deprecated: Use StrayDeleteResponse.ProtoReflect.Descriptor instead.

func (*StrayDeleteResponse) GetRowsAffected

func (x *StrayDeleteResponse) GetRowsAffected() uint32

func (*StrayDeleteResponse) GetServer

func (x *StrayDeleteResponse) GetServer() string

func (*StrayDeleteResponse) ProtoMessage

func (*StrayDeleteResponse) ProtoMessage()

func (*StrayDeleteResponse) ProtoReflect

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

func (*StrayDeleteResponse) Reset

func (x *StrayDeleteResponse) Reset()

func (*StrayDeleteResponse) String

func (x *StrayDeleteResponse) String() string

func (*StrayDeleteResponse) Validate

func (m *StrayDeleteResponse) Validate() error

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

func (m *StrayDeleteResponse) ValidateAll() error

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

type StrayDeleteResponseMultiError

type StrayDeleteResponseMultiError []error

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

func (StrayDeleteResponseMultiError) AllErrors

func (m StrayDeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayDeleteResponseMultiError) Error

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

type StrayDeleteResponseValidationError

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

StrayDeleteResponseValidationError is the validation error returned by StrayDeleteResponse.Validate if the designated constraints aren't met.

func (StrayDeleteResponseValidationError) Cause

Cause function returns cause value.

func (StrayDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (StrayDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (StrayDeleteResponseValidationError) Field

Field function returns field value.

func (StrayDeleteResponseValidationError) Key

Key function returns key value.

func (StrayDeleteResponseValidationError) Reason

Reason function returns reason value.

type StrayDeleteResponses

type StrayDeleteResponses struct {
	Results []*StrayDeleteResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayDeleteResponses) Descriptor deprecated

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

Deprecated: Use StrayDeleteResponses.ProtoReflect.Descriptor instead.

func (*StrayDeleteResponses) GetResults

func (x *StrayDeleteResponses) GetResults() []*StrayDeleteResponse

func (*StrayDeleteResponses) ProtoMessage

func (*StrayDeleteResponses) ProtoMessage()

func (*StrayDeleteResponses) ProtoReflect

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

func (*StrayDeleteResponses) Reset

func (x *StrayDeleteResponses) Reset()

func (*StrayDeleteResponses) String

func (x *StrayDeleteResponses) String() string

func (*StrayDeleteResponses) Validate

func (m *StrayDeleteResponses) Validate() error

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

func (m *StrayDeleteResponses) ValidateAll() error

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

type StrayDeleteResponsesMultiError

type StrayDeleteResponsesMultiError []error

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

func (StrayDeleteResponsesMultiError) AllErrors

func (m StrayDeleteResponsesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayDeleteResponsesMultiError) Error

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

type StrayDeleteResponsesValidationError

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

StrayDeleteResponsesValidationError is the validation error returned by StrayDeleteResponses.Validate if the designated constraints aren't met.

func (StrayDeleteResponsesValidationError) Cause

Cause function returns cause value.

func (StrayDeleteResponsesValidationError) Error

Error satisfies the builtin error interface

func (StrayDeleteResponsesValidationError) ErrorName

ErrorName returns error name.

func (StrayDeleteResponsesValidationError) Field

Field function returns field value.

func (StrayDeleteResponsesValidationError) Key

Key function returns key value.

func (StrayDeleteResponsesValidationError) Reason

Reason function returns reason value.

type StrayEntity

type StrayEntity struct {
	QName string `protobuf:"bytes,1,opt,name=QName,proto3" json:"QName,omitempty"`
	QType string `protobuf:"bytes,2,opt,name=QType,proto3" json:"QType,omitempty"`
	Id    string `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayEntity) Descriptor deprecated

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

Deprecated: Use StrayEntity.ProtoReflect.Descriptor instead.

func (*StrayEntity) GetId

func (x *StrayEntity) GetId() string

func (*StrayEntity) GetQName

func (x *StrayEntity) GetQName() string

func (*StrayEntity) GetQType

func (x *StrayEntity) GetQType() string

func (*StrayEntity) ProtoMessage

func (*StrayEntity) ProtoMessage()

func (*StrayEntity) ProtoReflect

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

func (*StrayEntity) Reset

func (x *StrayEntity) Reset()

func (*StrayEntity) String

func (x *StrayEntity) String() string

func (*StrayEntity) Validate

func (m *StrayEntity) Validate() error

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

func (m *StrayEntity) ValidateAll() error

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

type StrayEntity2

type StrayEntity2 struct {

	// Types that are assignable to Selector:
	//
	//	*StrayEntity2_Identifier
	//	*StrayEntity2_Rfc1035
	Selector isStrayEntity2_Selector `protobuf_oneof:"selector"`
	Id       string                  `protobuf:"bytes,3,opt,name=Id,proto3" json:"Id,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayEntity2) Descriptor deprecated

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

Deprecated: Use StrayEntity2.ProtoReflect.Descriptor instead.

func (*StrayEntity2) GetId

func (x *StrayEntity2) GetId() string

func (*StrayEntity2) GetIdentifier

func (x *StrayEntity2) GetIdentifier() *RRidentifier

func (*StrayEntity2) GetRfc1035

func (x *StrayEntity2) GetRfc1035() string

func (*StrayEntity2) GetSelector

func (m *StrayEntity2) GetSelector() isStrayEntity2_Selector

func (*StrayEntity2) ProtoMessage

func (*StrayEntity2) ProtoMessage()

func (*StrayEntity2) ProtoReflect

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

func (*StrayEntity2) Reset

func (x *StrayEntity2) Reset()

func (*StrayEntity2) String

func (x *StrayEntity2) String() string

func (*StrayEntity2) Validate

func (m *StrayEntity2) Validate() error

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

func (m *StrayEntity2) ValidateAll() error

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

type StrayEntity2MultiError

type StrayEntity2MultiError []error

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

func (StrayEntity2MultiError) AllErrors

func (m StrayEntity2MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayEntity2MultiError) Error

func (m StrayEntity2MultiError) Error() string

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

type StrayEntity2ValidationError

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

StrayEntity2ValidationError is the validation error returned by StrayEntity2.Validate if the designated constraints aren't met.

func (StrayEntity2ValidationError) Cause

Cause function returns cause value.

func (StrayEntity2ValidationError) Error

Error satisfies the builtin error interface

func (StrayEntity2ValidationError) ErrorName

func (e StrayEntity2ValidationError) ErrorName() string

ErrorName returns error name.

func (StrayEntity2ValidationError) Field

Field function returns field value.

func (StrayEntity2ValidationError) Key

Key function returns key value.

func (StrayEntity2ValidationError) Reason

Reason function returns reason value.

type StrayEntity2_Identifier

type StrayEntity2_Identifier struct {
	Identifier *RRidentifier `protobuf:"bytes,1,opt,name=identifier,proto3,oneof"`
}

type StrayEntity2_Rfc1035

type StrayEntity2_Rfc1035 struct {
	Rfc1035 string `protobuf:"bytes,2,opt,name=Rfc1035,proto3,oneof"`
}

type StrayEntityMultiError

type StrayEntityMultiError []error

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

func (StrayEntityMultiError) AllErrors

func (m StrayEntityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayEntityMultiError) Error

func (m StrayEntityMultiError) Error() string

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

type StrayEntityValidationError

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

StrayEntityValidationError is the validation error returned by StrayEntity.Validate if the designated constraints aren't met.

func (StrayEntityValidationError) Cause

Cause function returns cause value.

func (StrayEntityValidationError) Error

Error satisfies the builtin error interface

func (StrayEntityValidationError) ErrorName

func (e StrayEntityValidationError) ErrorName() string

ErrorName returns error name.

func (StrayEntityValidationError) Field

Field function returns field value.

func (StrayEntityValidationError) Key

Key function returns key value.

func (StrayEntityValidationError) Reason

Reason function returns reason value.

type StrayModifyRequest

type StrayModifyRequest struct {
	Id             string  `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Rfc1035        string  `protobuf:"bytes,2,opt,name=Rfc1035,proto3" json:"Rfc1035,omitempty"`
	Expiry         *uint32 `protobuf:"varint,3,opt,name=Expiry,proto3,oneof" json:"Expiry,omitempty"`
	AllowOverwrite bool    `protobuf:"varint,4,opt,name=AllowOverwrite,proto3" json:"AllowOverwrite,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayModifyRequest) Descriptor deprecated

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

Deprecated: Use StrayModifyRequest.ProtoReflect.Descriptor instead.

func (*StrayModifyRequest) GetAllowOverwrite

func (x *StrayModifyRequest) GetAllowOverwrite() bool

func (*StrayModifyRequest) GetExpiry

func (x *StrayModifyRequest) GetExpiry() uint32

func (*StrayModifyRequest) GetId

func (x *StrayModifyRequest) GetId() string

func (*StrayModifyRequest) GetRfc1035

func (x *StrayModifyRequest) GetRfc1035() string

func (*StrayModifyRequest) ProtoMessage

func (*StrayModifyRequest) ProtoMessage()

func (*StrayModifyRequest) ProtoReflect

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

func (*StrayModifyRequest) Reset

func (x *StrayModifyRequest) Reset()

func (*StrayModifyRequest) String

func (x *StrayModifyRequest) String() string

func (*StrayModifyRequest) Validate

func (m *StrayModifyRequest) Validate() error

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

func (m *StrayModifyRequest) ValidateAll() error

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

type StrayModifyRequestMultiError

type StrayModifyRequestMultiError []error

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

func (StrayModifyRequestMultiError) AllErrors

func (m StrayModifyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayModifyRequestMultiError) Error

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

type StrayModifyRequestValidationError

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

StrayModifyRequestValidationError is the validation error returned by StrayModifyRequest.Validate if the designated constraints aren't met.

func (StrayModifyRequestValidationError) Cause

Cause function returns cause value.

func (StrayModifyRequestValidationError) Error

Error satisfies the builtin error interface

func (StrayModifyRequestValidationError) ErrorName

ErrorName returns error name.

func (StrayModifyRequestValidationError) Field

Field function returns field value.

func (StrayModifyRequestValidationError) Key

Key function returns key value.

func (StrayModifyRequestValidationError) Reason

Reason function returns reason value.

type StrayModifyRequests

type StrayModifyRequests struct {
	Reqs []*StrayModifyRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayModifyRequests) Descriptor deprecated

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

Deprecated: Use StrayModifyRequests.ProtoReflect.Descriptor instead.

func (*StrayModifyRequests) GetReqs

func (x *StrayModifyRequests) GetReqs() []*StrayModifyRequest

func (*StrayModifyRequests) ProtoMessage

func (*StrayModifyRequests) ProtoMessage()

func (*StrayModifyRequests) ProtoReflect

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

func (*StrayModifyRequests) Reset

func (x *StrayModifyRequests) Reset()

func (*StrayModifyRequests) String

func (x *StrayModifyRequests) String() string

func (*StrayModifyRequests) Validate

func (m *StrayModifyRequests) Validate() error

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

func (m *StrayModifyRequests) ValidateAll() error

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

type StrayModifyRequestsMultiError

type StrayModifyRequestsMultiError []error

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

func (StrayModifyRequestsMultiError) AllErrors

func (m StrayModifyRequestsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayModifyRequestsMultiError) Error

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

type StrayModifyRequestsValidationError

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

StrayModifyRequestsValidationError is the validation error returned by StrayModifyRequests.Validate if the designated constraints aren't met.

func (StrayModifyRequestsValidationError) Cause

Cause function returns cause value.

func (StrayModifyRequestsValidationError) Error

Error satisfies the builtin error interface

func (StrayModifyRequestsValidationError) ErrorName

ErrorName returns error name.

func (StrayModifyRequestsValidationError) Field

Field function returns field value.

func (StrayModifyRequestsValidationError) Key

Key function returns key value.

func (StrayModifyRequestsValidationError) Reason

Reason function returns reason value.

type StrayModifyResponse

type StrayModifyResponse struct {
	Request *StrayModifyRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	Result  string              `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayModifyResponse) Descriptor deprecated

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

Deprecated: Use StrayModifyResponse.ProtoReflect.Descriptor instead.

func (*StrayModifyResponse) GetRequest

func (x *StrayModifyResponse) GetRequest() *StrayModifyRequest

func (*StrayModifyResponse) GetResult

func (x *StrayModifyResponse) GetResult() string

func (*StrayModifyResponse) ProtoMessage

func (*StrayModifyResponse) ProtoMessage()

func (*StrayModifyResponse) ProtoReflect

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

func (*StrayModifyResponse) Reset

func (x *StrayModifyResponse) Reset()

func (*StrayModifyResponse) String

func (x *StrayModifyResponse) String() string

func (*StrayModifyResponse) Validate

func (m *StrayModifyResponse) Validate() error

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

func (m *StrayModifyResponse) ValidateAll() error

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

type StrayModifyResponseMultiError

type StrayModifyResponseMultiError []error

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

func (StrayModifyResponseMultiError) AllErrors

func (m StrayModifyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayModifyResponseMultiError) Error

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

type StrayModifyResponseValidationError

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

StrayModifyResponseValidationError is the validation error returned by StrayModifyResponse.Validate if the designated constraints aren't met.

func (StrayModifyResponseValidationError) Cause

Cause function returns cause value.

func (StrayModifyResponseValidationError) Error

Error satisfies the builtin error interface

func (StrayModifyResponseValidationError) ErrorName

ErrorName returns error name.

func (StrayModifyResponseValidationError) Field

Field function returns field value.

func (StrayModifyResponseValidationError) Key

Key function returns key value.

func (StrayModifyResponseValidationError) Reason

Reason function returns reason value.

type StrayModifyResponses

type StrayModifyResponses struct {
	Reqs []*StrayModifyResponse `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"`
	// contains filtered or unexported fields
}

func (*StrayModifyResponses) Descriptor deprecated

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

Deprecated: Use StrayModifyResponses.ProtoReflect.Descriptor instead.

func (*StrayModifyResponses) GetReqs

func (x *StrayModifyResponses) GetReqs() []*StrayModifyResponse

func (*StrayModifyResponses) ProtoMessage

func (*StrayModifyResponses) ProtoMessage()

func (*StrayModifyResponses) ProtoReflect

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

func (*StrayModifyResponses) Reset

func (x *StrayModifyResponses) Reset()

func (*StrayModifyResponses) String

func (x *StrayModifyResponses) String() string

func (*StrayModifyResponses) Validate

func (m *StrayModifyResponses) Validate() error

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

func (m *StrayModifyResponses) ValidateAll() error

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

type StrayModifyResponsesMultiError

type StrayModifyResponsesMultiError []error

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

func (StrayModifyResponsesMultiError) AllErrors

func (m StrayModifyResponsesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StrayModifyResponsesMultiError) Error

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

type StrayModifyResponsesValidationError

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

StrayModifyResponsesValidationError is the validation error returned by StrayModifyResponses.Validate if the designated constraints aren't met.

func (StrayModifyResponsesValidationError) Cause

Cause function returns cause value.

func (StrayModifyResponsesValidationError) Error

Error satisfies the builtin error interface

func (StrayModifyResponsesValidationError) ErrorName

ErrorName returns error name.

func (StrayModifyResponsesValidationError) Field

Field function returns field value.

func (StrayModifyResponsesValidationError) Key

Key function returns key value.

func (StrayModifyResponsesValidationError) Reason

Reason function returns reason value.

type StrayServer

type StrayServer interface {
	AddStray(context.Context, *StrayModifyRequests) (*emptypb.Empty, error)
	AddStrays(Stray_AddStraysServer) error
	ListStrays(*emptypb.Empty, Stray_ListStraysServer) error
	DeleteStrayById(context.Context, *StrayEntity) (*emptypb.Empty, error)
	DeleteStrayByValue(context.Context, *StrayByValueRequest) (*StrayDeleteResponses, error)
	ModifyStray(context.Context, *StrayModifyRequest) (*ResultMsg, error)
	// contains filtered or unexported methods
}

StrayServer is the server API for Stray service. All implementations must embed UnimplementedStrayServer for forward compatibility

type Stray_AddStraysClient

type Stray_AddStraysClient interface {
	Send(*StrayModifyRequests) error
	CloseAndRecv() (*emptypb.Empty, error)
	grpc.ClientStream
}

type Stray_AddStraysServer

type Stray_AddStraysServer interface {
	SendAndClose(*emptypb.Empty) error
	Recv() (*StrayModifyRequests, error)
	grpc.ServerStream
}

type Stray_ListStraysClient

type Stray_ListStraysClient interface {
	Recv() (*DetailedStrayEntity, error)
	grpc.ClientStream
}

type Stray_ListStraysServer

type Stray_ListStraysServer interface {
	Send(*DetailedStrayEntity) error
	grpc.ServerStream
}

type UnimplementedRednsServer

type UnimplementedRednsServer struct {
}

UnimplementedRednsServer must be embedded to have forward compatible implementations.

func (UnimplementedRednsServer) AddGeneration

type UnimplementedStrayServer

type UnimplementedStrayServer struct {
}

UnimplementedStrayServer must be embedded to have forward compatible implementations.

func (UnimplementedStrayServer) AddStray

func (UnimplementedStrayServer) AddStrays

func (UnimplementedStrayServer) DeleteStrayById

func (UnimplementedStrayServer) DeleteStrayByValue

func (UnimplementedStrayServer) ListStrays

func (UnimplementedStrayServer) ModifyStray

type UnsafeRednsServer

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

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

type UnsafeStrayServer

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

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

Jump to

Keyboard shortcuts

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