Documentation ¶
Overview ¶
Package entitiesv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterEntitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEntitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntitiesServiceClient) error
- func RegisterEntitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEntitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EntitiesServiceServer) error
- func RegisterEntitiesServiceServer(s grpc.ServiceRegistrar, srv EntitiesServiceServer)
- type Entities
- func (in *Entities) DeepCopy() *Entities
- func (in *Entities) DeepCopyInterface() interface{}
- func (in *Entities) DeepCopyInto(out *Entities)
- func (*Entities) Descriptor() ([]byte, []int)deprecated
- func (x *Entities) GetEntitiesByIpAddress() *Entities_Entities
- func (x *Entities) GetEntitiesByName() *Entities_Entities
- func (msg *Entities) MarshalJSON() ([]byte, error)
- func (*Entities) ProtoMessage()
- func (x *Entities) ProtoReflect() protoreflect.Message
- func (x *Entities) Reset()
- func (x *Entities) String() string
- func (msg *Entities) UnmarshalJSON(b []byte) error
- func (m *Entities) Validate() error
- func (m *Entities) ValidateAll() error
- type EntitiesMultiError
- type EntitiesServiceClient
- type EntitiesServiceServer
- type EntitiesValidationError
- type Entities_Entities
- func (in *Entities_Entities) DeepCopy() *Entities_Entities
- func (in *Entities_Entities) DeepCopyInterface() interface{}
- func (in *Entities_Entities) DeepCopyInto(out *Entities_Entities)
- func (*Entities_Entities) Descriptor() ([]byte, []int)deprecated
- func (x *Entities_Entities) GetEntities() map[string]*Entity
- func (msg *Entities_Entities) MarshalJSON() ([]byte, error)
- func (*Entities_Entities) ProtoMessage()
- func (x *Entities_Entities) ProtoReflect() protoreflect.Message
- func (x *Entities_Entities) Reset()
- func (x *Entities_Entities) String() string
- func (msg *Entities_Entities) UnmarshalJSON(b []byte) error
- func (m *Entities_Entities) Validate() error
- func (m *Entities_Entities) ValidateAll() error
- type Entities_EntitiesMultiError
- type Entities_EntitiesValidationError
- func (e Entities_EntitiesValidationError) Cause() error
- func (e Entities_EntitiesValidationError) Error() string
- func (e Entities_EntitiesValidationError) ErrorName() string
- func (e Entities_EntitiesValidationError) Field() string
- func (e Entities_EntitiesValidationError) Key() bool
- func (e Entities_EntitiesValidationError) Reason() string
- type Entity
- func (in *Entity) DeepCopy() *Entity
- func (in *Entity) DeepCopyInterface() interface{}
- func (in *Entity) DeepCopyInto(out *Entity)
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetIpAddress() string
- func (x *Entity) GetName() string
- func (x *Entity) GetNamespace() string
- func (x *Entity) GetNodeName() string
- func (x *Entity) GetServices() []string
- func (x *Entity) GetUid() string
- func (msg *Entity) MarshalJSON() ([]byte, error)
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- func (msg *Entity) UnmarshalJSON(b []byte) error
- func (m *Entity) Validate() error
- func (m *Entity) ValidateAll() error
- type EntityMultiError
- type EntityValidationError
- type GetEntityByIPAddressRequest
- func (in *GetEntityByIPAddressRequest) DeepCopy() *GetEntityByIPAddressRequest
- func (in *GetEntityByIPAddressRequest) DeepCopyInterface() interface{}
- func (in *GetEntityByIPAddressRequest) DeepCopyInto(out *GetEntityByIPAddressRequest)
- func (*GetEntityByIPAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntityByIPAddressRequest) GetIpAddress() string
- func (msg *GetEntityByIPAddressRequest) MarshalJSON() ([]byte, error)
- func (*GetEntityByIPAddressRequest) ProtoMessage()
- func (x *GetEntityByIPAddressRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntityByIPAddressRequest) Reset()
- func (x *GetEntityByIPAddressRequest) String() string
- func (msg *GetEntityByIPAddressRequest) UnmarshalJSON(b []byte) error
- func (m *GetEntityByIPAddressRequest) Validate() error
- func (m *GetEntityByIPAddressRequest) ValidateAll() error
- type GetEntityByIPAddressRequestMultiError
- type GetEntityByIPAddressRequestValidationError
- func (e GetEntityByIPAddressRequestValidationError) Cause() error
- func (e GetEntityByIPAddressRequestValidationError) Error() string
- func (e GetEntityByIPAddressRequestValidationError) ErrorName() string
- func (e GetEntityByIPAddressRequestValidationError) Field() string
- func (e GetEntityByIPAddressRequestValidationError) Key() bool
- func (e GetEntityByIPAddressRequestValidationError) Reason() string
- type GetEntityByNameRequest
- func (in *GetEntityByNameRequest) DeepCopy() *GetEntityByNameRequest
- func (in *GetEntityByNameRequest) DeepCopyInterface() interface{}
- func (in *GetEntityByNameRequest) DeepCopyInto(out *GetEntityByNameRequest)
- func (*GetEntityByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntityByNameRequest) GetName() string
- func (msg *GetEntityByNameRequest) MarshalJSON() ([]byte, error)
- func (*GetEntityByNameRequest) ProtoMessage()
- func (x *GetEntityByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntityByNameRequest) Reset()
- func (x *GetEntityByNameRequest) String() string
- func (msg *GetEntityByNameRequest) UnmarshalJSON(b []byte) error
- func (m *GetEntityByNameRequest) Validate() error
- func (m *GetEntityByNameRequest) ValidateAll() error
- type GetEntityByNameRequestMultiError
- type GetEntityByNameRequestValidationError
- func (e GetEntityByNameRequestValidationError) Cause() error
- func (e GetEntityByNameRequestValidationError) Error() string
- func (e GetEntityByNameRequestValidationError) ErrorName() string
- func (e GetEntityByNameRequestValidationError) Field() string
- func (e GetEntityByNameRequestValidationError) Key() bool
- func (e GetEntityByNameRequestValidationError) Reason() string
- type UnimplementedEntitiesServiceServer
- func (UnimplementedEntitiesServiceServer) GetEntities(context.Context, *emptypb.Empty) (*Entities, error)
- func (UnimplementedEntitiesServiceServer) GetEntityByIPAddress(context.Context, *GetEntityByIPAddressRequest) (*Entity, error)
- func (UnimplementedEntitiesServiceServer) GetEntityByName(context.Context, *GetEntityByNameRequest) (*Entity, error)
- type UnsafeEntitiesServiceServer
Constants ¶
const ( EntitiesService_GetEntities_FullMethodName = "/aperture.discovery.entities.v1.EntitiesService/GetEntities" EntitiesService_GetEntityByIPAddress_FullMethodName = "/aperture.discovery.entities.v1.EntitiesService/GetEntityByIPAddress" EntitiesService_GetEntityByName_FullMethodName = "/aperture.discovery.entities.v1.EntitiesService/GetEntityByName" )
Variables ¶
var EntitiesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aperture.discovery.entities.v1.EntitiesService", HandlerType: (*EntitiesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetEntities", Handler: _EntitiesService_GetEntities_Handler, }, { MethodName: "GetEntityByIPAddress", Handler: _EntitiesService_GetEntityByIPAddress_Handler, }, { MethodName: "GetEntityByName", Handler: _EntitiesService_GetEntityByName_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aperture/discovery/entities/v1/entities.proto", }
EntitiesService_ServiceDesc is the grpc.ServiceDesc for EntitiesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aperture_discovery_entities_v1_entities_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEntitiesServiceHandler ¶
func RegisterEntitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEntitiesServiceHandler registers the http handlers for service EntitiesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEntitiesServiceHandlerClient ¶
func RegisterEntitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EntitiesServiceClient) error
RegisterEntitiesServiceHandlerClient registers the http handlers for service EntitiesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EntitiesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EntitiesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EntitiesServiceClient" to call the correct interceptors.
func RegisterEntitiesServiceHandlerFromEndpoint ¶
func RegisterEntitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEntitiesServiceHandlerFromEndpoint is same as RegisterEntitiesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEntitiesServiceHandlerServer ¶
func RegisterEntitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EntitiesServiceServer) error
RegisterEntitiesServiceHandlerServer registers the http handlers for service EntitiesService to "mux". UnaryRPC :call EntitiesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEntitiesServiceHandlerFromEndpoint instead.
func RegisterEntitiesServiceServer ¶
func RegisterEntitiesServiceServer(s grpc.ServiceRegistrar, srv EntitiesServiceServer)
Types ¶
type Entities ¶
type Entities struct { EntitiesByIpAddress *Entities_Entities `protobuf:"bytes,1,opt,name=entities_by_ip_address,json=entitiesByIpAddress,proto3" json:"entities_by_ip_address,omitempty"` EntitiesByName *Entities_Entities `protobuf:"bytes,2,opt,name=entities_by_name,json=entitiesByName,proto3" json:"entities_by_name,omitempty"` // contains filtered or unexported fields }
Entities contains both mappings of ip address to entity and entity name to entity.
func (*Entities) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entities. Required by controller-gen.
func (*Entities) DeepCopyInterface ¶
func (in *Entities) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Entities. Required by controller-gen.
func (*Entities) DeepCopyInto ¶
DeepCopyInto supports using Entities within kubernetes types, where deepcopy-gen is used.
func (*Entities) Descriptor
deprecated
func (*Entities) GetEntitiesByIpAddress ¶
func (x *Entities) GetEntitiesByIpAddress() *Entities_Entities
func (*Entities) GetEntitiesByName ¶
func (x *Entities) GetEntitiesByName() *Entities_Entities
func (*Entities) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Entities) ProtoMessage ¶
func (*Entities) ProtoMessage()
func (*Entities) ProtoReflect ¶
func (x *Entities) ProtoReflect() protoreflect.Message
func (*Entities) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Entities) Validate ¶ added in v1.2.0
Validate checks the field values on Entities 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 (*Entities) ValidateAll ¶ added in v1.2.0
ValidateAll checks the field values on Entities 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 EntitiesMultiError, or nil if none found.
type EntitiesMultiError ¶ added in v1.2.0
type EntitiesMultiError []error
EntitiesMultiError is an error wrapping multiple validation errors returned by Entities.ValidateAll() if the designated constraints aren't met.
func (EntitiesMultiError) AllErrors ¶ added in v1.2.0
func (m EntitiesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntitiesMultiError) Error ¶ added in v1.2.0
func (m EntitiesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntitiesServiceClient ¶
type EntitiesServiceClient interface { GetEntities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Entities, error) GetEntityByIPAddress(ctx context.Context, in *GetEntityByIPAddressRequest, opts ...grpc.CallOption) (*Entity, error) GetEntityByName(ctx context.Context, in *GetEntityByNameRequest, opts ...grpc.CallOption) (*Entity, error) }
EntitiesServiceClient is the client API for EntitiesService 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 NewEntitiesServiceClient ¶
func NewEntitiesServiceClient(cc grpc.ClientConnInterface) EntitiesServiceClient
type EntitiesServiceServer ¶
type EntitiesServiceServer interface { GetEntities(context.Context, *emptypb.Empty) (*Entities, error) GetEntityByIPAddress(context.Context, *GetEntityByIPAddressRequest) (*Entity, error) GetEntityByName(context.Context, *GetEntityByNameRequest) (*Entity, error) }
EntitiesServiceServer is the server API for EntitiesService service. All implementations should embed UnimplementedEntitiesServiceServer for forward compatibility
type EntitiesValidationError ¶ added in v1.2.0
type EntitiesValidationError struct {
// contains filtered or unexported fields
}
EntitiesValidationError is the validation error returned by Entities.Validate if the designated constraints aren't met.
func (EntitiesValidationError) Cause ¶ added in v1.2.0
func (e EntitiesValidationError) Cause() error
Cause function returns cause value.
func (EntitiesValidationError) Error ¶ added in v1.2.0
func (e EntitiesValidationError) Error() string
Error satisfies the builtin error interface
func (EntitiesValidationError) ErrorName ¶ added in v1.2.0
func (e EntitiesValidationError) ErrorName() string
ErrorName returns error name.
func (EntitiesValidationError) Field ¶ added in v1.2.0
func (e EntitiesValidationError) Field() string
Field function returns field value.
func (EntitiesValidationError) Key ¶ added in v1.2.0
func (e EntitiesValidationError) Key() bool
Key function returns key value.
func (EntitiesValidationError) Reason ¶ added in v1.2.0
func (e EntitiesValidationError) Reason() string
Reason function returns reason value.
type Entities_Entities ¶
type Entities_Entities struct { Entities map[string]*Entity `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Entities defines mapping of entities.
func (*Entities_Entities) DeepCopy ¶
func (in *Entities_Entities) DeepCopy() *Entities_Entities
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entities_Entities. Required by controller-gen.
func (*Entities_Entities) DeepCopyInterface ¶
func (in *Entities_Entities) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Entities_Entities. Required by controller-gen.
func (*Entities_Entities) DeepCopyInto ¶
func (in *Entities_Entities) DeepCopyInto(out *Entities_Entities)
DeepCopyInto supports using Entities_Entities within kubernetes types, where deepcopy-gen is used.
func (*Entities_Entities) Descriptor
deprecated
func (*Entities_Entities) Descriptor() ([]byte, []int)
Deprecated: Use Entities_Entities.ProtoReflect.Descriptor instead.
func (*Entities_Entities) GetEntities ¶
func (x *Entities_Entities) GetEntities() map[string]*Entity
func (*Entities_Entities) MarshalJSON ¶
func (msg *Entities_Entities) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Entities_Entities) ProtoMessage ¶
func (*Entities_Entities) ProtoMessage()
func (*Entities_Entities) ProtoReflect ¶
func (x *Entities_Entities) ProtoReflect() protoreflect.Message
func (*Entities_Entities) Reset ¶
func (x *Entities_Entities) Reset()
func (*Entities_Entities) String ¶
func (x *Entities_Entities) String() string
func (*Entities_Entities) UnmarshalJSON ¶
func (msg *Entities_Entities) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*Entities_Entities) Validate ¶ added in v1.2.0
func (m *Entities_Entities) Validate() error
Validate checks the field values on Entities_Entities 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 (*Entities_Entities) ValidateAll ¶ added in v1.2.0
func (m *Entities_Entities) ValidateAll() error
ValidateAll checks the field values on Entities_Entities 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 Entities_EntitiesMultiError, or nil if none found.
type Entities_EntitiesMultiError ¶ added in v1.2.0
type Entities_EntitiesMultiError []error
Entities_EntitiesMultiError is an error wrapping multiple validation errors returned by Entities_Entities.ValidateAll() if the designated constraints aren't met.
func (Entities_EntitiesMultiError) AllErrors ¶ added in v1.2.0
func (m Entities_EntitiesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Entities_EntitiesMultiError) Error ¶ added in v1.2.0
func (m Entities_EntitiesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Entities_EntitiesValidationError ¶ added in v1.2.0
type Entities_EntitiesValidationError struct {
// contains filtered or unexported fields
}
Entities_EntitiesValidationError is the validation error returned by Entities_Entities.Validate if the designated constraints aren't met.
func (Entities_EntitiesValidationError) Cause ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) Cause() error
Cause function returns cause value.
func (Entities_EntitiesValidationError) Error ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) Error() string
Error satisfies the builtin error interface
func (Entities_EntitiesValidationError) ErrorName ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) ErrorName() string
ErrorName returns error name.
func (Entities_EntitiesValidationError) Field ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) Field() string
Field function returns field value.
func (Entities_EntitiesValidationError) Key ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) Key() bool
Key function returns key value.
func (Entities_EntitiesValidationError) Reason ¶ added in v1.2.0
func (e Entities_EntitiesValidationError) Reason() string
Reason function returns reason value.
type Entity ¶
type Entity struct { // Unique identifier of the entity. Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty" validate:"required"` // @gotags: validate:"required" // IP address of the entity. IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty" validate:"required,ip"` // @gotags: validate:"required,ip" // Name of the entity. For example, pod name. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Namespace of the entity. For example, pod namespace. Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // Node name of the entity. For example, host name. NodeName string `protobuf:"bytes,5,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Services of the entity. Services []string `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty" validate:"gt=0"` // @gotags: validate:"gt=0" // contains filtered or unexported fields }
Entity represents a pod, vm, etc.
func (*Entity) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entity. Required by controller-gen.
func (*Entity) DeepCopyInterface ¶
func (in *Entity) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Entity. Required by controller-gen.
func (*Entity) DeepCopyInto ¶
DeepCopyInto supports using Entity within kubernetes types, where deepcopy-gen is used.
func (*Entity) Descriptor
deprecated
func (*Entity) GetIpAddress ¶
func (*Entity) GetNamespace ¶
func (*Entity) GetNodeName ¶
func (*Entity) GetServices ¶
func (*Entity) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
func (*Entity) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Entity) Validate ¶ added in v1.2.0
Validate checks the field values on Entity 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 (*Entity) ValidateAll ¶ added in v1.2.0
ValidateAll checks the field values on Entity 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 EntityMultiError, or nil if none found.
type EntityMultiError ¶ added in v1.2.0
type EntityMultiError []error
EntityMultiError is an error wrapping multiple validation errors returned by Entity.ValidateAll() if the designated constraints aren't met.
func (EntityMultiError) AllErrors ¶ added in v1.2.0
func (m EntityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityMultiError) Error ¶ added in v1.2.0
func (m EntityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityValidationError ¶ added in v1.2.0
type EntityValidationError struct {
// contains filtered or unexported fields
}
EntityValidationError is the validation error returned by Entity.Validate if the designated constraints aren't met.
func (EntityValidationError) Cause ¶ added in v1.2.0
func (e EntityValidationError) Cause() error
Cause function returns cause value.
func (EntityValidationError) Error ¶ added in v1.2.0
func (e EntityValidationError) Error() string
Error satisfies the builtin error interface
func (EntityValidationError) ErrorName ¶ added in v1.2.0
func (e EntityValidationError) ErrorName() string
ErrorName returns error name.
func (EntityValidationError) Field ¶ added in v1.2.0
func (e EntityValidationError) Field() string
Field function returns field value.
func (EntityValidationError) Key ¶ added in v1.2.0
func (e EntityValidationError) Key() bool
Key function returns key value.
func (EntityValidationError) Reason ¶ added in v1.2.0
func (e EntityValidationError) Reason() string
Reason function returns reason value.
type GetEntityByIPAddressRequest ¶
type GetEntityByIPAddressRequest struct { IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // contains filtered or unexported fields }
func (*GetEntityByIPAddressRequest) DeepCopy ¶
func (in *GetEntityByIPAddressRequest) DeepCopy() *GetEntityByIPAddressRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetEntityByIPAddressRequest. Required by controller-gen.
func (*GetEntityByIPAddressRequest) DeepCopyInterface ¶
func (in *GetEntityByIPAddressRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetEntityByIPAddressRequest. Required by controller-gen.
func (*GetEntityByIPAddressRequest) DeepCopyInto ¶
func (in *GetEntityByIPAddressRequest) DeepCopyInto(out *GetEntityByIPAddressRequest)
DeepCopyInto supports using GetEntityByIPAddressRequest within kubernetes types, where deepcopy-gen is used.
func (*GetEntityByIPAddressRequest) Descriptor
deprecated
func (*GetEntityByIPAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityByIPAddressRequest.ProtoReflect.Descriptor instead.
func (*GetEntityByIPAddressRequest) GetIpAddress ¶
func (x *GetEntityByIPAddressRequest) GetIpAddress() string
func (*GetEntityByIPAddressRequest) MarshalJSON ¶
func (msg *GetEntityByIPAddressRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetEntityByIPAddressRequest) ProtoMessage ¶
func (*GetEntityByIPAddressRequest) ProtoMessage()
func (*GetEntityByIPAddressRequest) ProtoReflect ¶
func (x *GetEntityByIPAddressRequest) ProtoReflect() protoreflect.Message
func (*GetEntityByIPAddressRequest) Reset ¶
func (x *GetEntityByIPAddressRequest) Reset()
func (*GetEntityByIPAddressRequest) String ¶
func (x *GetEntityByIPAddressRequest) String() string
func (*GetEntityByIPAddressRequest) UnmarshalJSON ¶
func (msg *GetEntityByIPAddressRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetEntityByIPAddressRequest) Validate ¶ added in v1.2.0
func (m *GetEntityByIPAddressRequest) Validate() error
Validate checks the field values on GetEntityByIPAddressRequest 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 (*GetEntityByIPAddressRequest) ValidateAll ¶ added in v1.2.0
func (m *GetEntityByIPAddressRequest) ValidateAll() error
ValidateAll checks the field values on GetEntityByIPAddressRequest 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 GetEntityByIPAddressRequestMultiError, or nil if none found.
type GetEntityByIPAddressRequestMultiError ¶ added in v1.2.0
type GetEntityByIPAddressRequestMultiError []error
GetEntityByIPAddressRequestMultiError is an error wrapping multiple validation errors returned by GetEntityByIPAddressRequest.ValidateAll() if the designated constraints aren't met.
func (GetEntityByIPAddressRequestMultiError) AllErrors ¶ added in v1.2.0
func (m GetEntityByIPAddressRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEntityByIPAddressRequestMultiError) Error ¶ added in v1.2.0
func (m GetEntityByIPAddressRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEntityByIPAddressRequestValidationError ¶ added in v1.2.0
type GetEntityByIPAddressRequestValidationError struct {
// contains filtered or unexported fields
}
GetEntityByIPAddressRequestValidationError is the validation error returned by GetEntityByIPAddressRequest.Validate if the designated constraints aren't met.
func (GetEntityByIPAddressRequestValidationError) Cause ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEntityByIPAddressRequestValidationError) Error ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEntityByIPAddressRequestValidationError) ErrorName ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEntityByIPAddressRequestValidationError) Field ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) Field() string
Field function returns field value.
func (GetEntityByIPAddressRequestValidationError) Key ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) Key() bool
Key function returns key value.
func (GetEntityByIPAddressRequestValidationError) Reason ¶ added in v1.2.0
func (e GetEntityByIPAddressRequestValidationError) Reason() string
Reason function returns reason value.
type GetEntityByNameRequest ¶
type GetEntityByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetEntityByNameRequest) DeepCopy ¶
func (in *GetEntityByNameRequest) DeepCopy() *GetEntityByNameRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetEntityByNameRequest. Required by controller-gen.
func (*GetEntityByNameRequest) DeepCopyInterface ¶
func (in *GetEntityByNameRequest) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetEntityByNameRequest. Required by controller-gen.
func (*GetEntityByNameRequest) DeepCopyInto ¶
func (in *GetEntityByNameRequest) DeepCopyInto(out *GetEntityByNameRequest)
DeepCopyInto supports using GetEntityByNameRequest within kubernetes types, where deepcopy-gen is used.
func (*GetEntityByNameRequest) Descriptor
deprecated
func (*GetEntityByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityByNameRequest.ProtoReflect.Descriptor instead.
func (*GetEntityByNameRequest) GetName ¶
func (x *GetEntityByNameRequest) GetName() string
func (*GetEntityByNameRequest) MarshalJSON ¶
func (msg *GetEntityByNameRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetEntityByNameRequest) ProtoMessage ¶
func (*GetEntityByNameRequest) ProtoMessage()
func (*GetEntityByNameRequest) ProtoReflect ¶
func (x *GetEntityByNameRequest) ProtoReflect() protoreflect.Message
func (*GetEntityByNameRequest) Reset ¶
func (x *GetEntityByNameRequest) Reset()
func (*GetEntityByNameRequest) String ¶
func (x *GetEntityByNameRequest) String() string
func (*GetEntityByNameRequest) UnmarshalJSON ¶
func (msg *GetEntityByNameRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetEntityByNameRequest) Validate ¶ added in v1.2.0
func (m *GetEntityByNameRequest) Validate() error
Validate checks the field values on GetEntityByNameRequest 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 (*GetEntityByNameRequest) ValidateAll ¶ added in v1.2.0
func (m *GetEntityByNameRequest) ValidateAll() error
ValidateAll checks the field values on GetEntityByNameRequest 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 GetEntityByNameRequestMultiError, or nil if none found.
type GetEntityByNameRequestMultiError ¶ added in v1.2.0
type GetEntityByNameRequestMultiError []error
GetEntityByNameRequestMultiError is an error wrapping multiple validation errors returned by GetEntityByNameRequest.ValidateAll() if the designated constraints aren't met.
func (GetEntityByNameRequestMultiError) AllErrors ¶ added in v1.2.0
func (m GetEntityByNameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEntityByNameRequestMultiError) Error ¶ added in v1.2.0
func (m GetEntityByNameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetEntityByNameRequestValidationError ¶ added in v1.2.0
type GetEntityByNameRequestValidationError struct {
// contains filtered or unexported fields
}
GetEntityByNameRequestValidationError is the validation error returned by GetEntityByNameRequest.Validate if the designated constraints aren't met.
func (GetEntityByNameRequestValidationError) Cause ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEntityByNameRequestValidationError) Error ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEntityByNameRequestValidationError) ErrorName ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEntityByNameRequestValidationError) Field ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) Field() string
Field function returns field value.
func (GetEntityByNameRequestValidationError) Key ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) Key() bool
Key function returns key value.
func (GetEntityByNameRequestValidationError) Reason ¶ added in v1.2.0
func (e GetEntityByNameRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedEntitiesServiceServer ¶
type UnimplementedEntitiesServiceServer struct { }
UnimplementedEntitiesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEntitiesServiceServer) GetEntities ¶
func (UnimplementedEntitiesServiceServer) GetEntityByIPAddress ¶
func (UnimplementedEntitiesServiceServer) GetEntityByIPAddress(context.Context, *GetEntityByIPAddressRequest) (*Entity, error)
func (UnimplementedEntitiesServiceServer) GetEntityByName ¶
func (UnimplementedEntitiesServiceServer) GetEntityByName(context.Context, *GetEntityByNameRequest) (*Entity, error)
type UnsafeEntitiesServiceServer ¶
type UnsafeEntitiesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEntitiesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntitiesServiceServer will result in compilation errors.