Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIdentityKnowledgeAPIServer(s grpc.ServiceRegistrar, srv IdentityKnowledgeAPIServer)
- type IdentityKnowledgeAPIClient
- type IdentityKnowledgeAPIServer
- type IdentityKnowledgeRequest
- func (*IdentityKnowledgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityKnowledgeRequest) GetConditions() string
- func (x *IdentityKnowledgeRequest) GetInputParams() map[string]*InputParam
- func (x *IdentityKnowledgeRequest) GetOperation() Operation
- func (x *IdentityKnowledgeRequest) GetPath() string
- func (*IdentityKnowledgeRequest) ProtoMessage()
- func (x *IdentityKnowledgeRequest) ProtoReflect() protoreflect.Message
- func (x *IdentityKnowledgeRequest) Reset()
- func (x *IdentityKnowledgeRequest) String() string
- func (m *IdentityKnowledgeRequest) Validate() error
- func (m *IdentityKnowledgeRequest) ValidateAll() error
- type IdentityKnowledgeRequestMultiError
- type IdentityKnowledgeRequestValidationError
- func (e IdentityKnowledgeRequestValidationError) Cause() error
- func (e IdentityKnowledgeRequestValidationError) Error() string
- func (e IdentityKnowledgeRequestValidationError) ErrorName() string
- func (e IdentityKnowledgeRequestValidationError) Field() string
- func (e IdentityKnowledgeRequestValidationError) Key() bool
- func (e IdentityKnowledgeRequestValidationError) Reason() string
- type IdentityKnowledgeResponse
- func (*IdentityKnowledgeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityKnowledgeResponse) GetPaths() []*Path
- func (*IdentityKnowledgeResponse) ProtoMessage()
- func (x *IdentityKnowledgeResponse) ProtoReflect() protoreflect.Message
- func (x *IdentityKnowledgeResponse) Reset()
- func (x *IdentityKnowledgeResponse) String() string
- func (m *IdentityKnowledgeResponse) Validate() error
- func (m *IdentityKnowledgeResponse) ValidateAll() error
- type IdentityKnowledgeResponseMultiError
- type IdentityKnowledgeResponseValidationError
- func (e IdentityKnowledgeResponseValidationError) Cause() error
- func (e IdentityKnowledgeResponseValidationError) Error() string
- func (e IdentityKnowledgeResponseValidationError) ErrorName() string
- func (e IdentityKnowledgeResponseValidationError) Field() string
- func (e IdentityKnowledgeResponseValidationError) Key() bool
- func (e IdentityKnowledgeResponseValidationError) Reason() string
- type InputParam
- func (*InputParam) Descriptor() ([]byte, []int)deprecated
- func (x *InputParam) GetBoolValue() bool
- func (x *InputParam) GetDoubleValue() float64
- func (x *InputParam) GetIntegerValue() int64
- func (x *InputParam) GetStringValue() string
- func (m *InputParam) GetValue() isInputParam_Value
- func (*InputParam) ProtoMessage()
- func (x *InputParam) ProtoReflect() protoreflect.Message
- func (x *InputParam) Reset()
- func (x *InputParam) String() string
- func (m *InputParam) Validate() error
- func (m *InputParam) ValidateAll() error
- type InputParamMultiError
- type InputParamValidationError
- type InputParam_BoolValue
- type InputParam_DoubleValue
- type InputParam_IntegerValue
- type InputParam_StringValue
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetExternalId() string
- func (x *Node) GetId() string
- func (x *Node) GetProperties() []*Property
- func (x *Node) GetTags() []string
- func (x *Node) GetType() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (m *Node) Validate() error
- func (m *Node) ValidateAll() error
- type NodeMultiError
- type NodeValidationError
- type Operation
- type Path
- func (*Path) Descriptor() ([]byte, []int)deprecated
- func (x *Path) GetNodes() []*Node
- func (x *Path) GetRelationships() []*Relationship
- func (*Path) ProtoMessage()
- func (x *Path) ProtoReflect() protoreflect.Message
- func (x *Path) Reset()
- func (x *Path) String() string
- func (m *Path) Validate() error
- func (m *Path) ValidateAll() error
- type PathMultiError
- type PathValidationError
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetKey() string
- func (x *Property) GetValue() *v1beta1.Value
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- func (m *Property) Validate() error
- func (m *Property) ValidateAll() error
- type PropertyMultiError
- type PropertyValidationError
- type Relationship
- func (*Relationship) Descriptor() ([]byte, []int)deprecated
- func (x *Relationship) GetId() string
- func (x *Relationship) GetProperties() map[string]*v1beta1.Value
- func (x *Relationship) GetSource() string
- func (x *Relationship) GetTarget() string
- func (x *Relationship) GetType() string
- func (*Relationship) ProtoMessage()
- func (x *Relationship) ProtoReflect() protoreflect.Message
- func (x *Relationship) Reset()
- func (x *Relationship) String() string
- func (m *Relationship) Validate() error
- func (m *Relationship) ValidateAll() error
- type RelationshipMultiError
- type RelationshipValidationError
- func (e RelationshipValidationError) Cause() error
- func (e RelationshipValidationError) Error() string
- func (e RelationshipValidationError) ErrorName() string
- func (e RelationshipValidationError) Field() string
- func (e RelationshipValidationError) Key() bool
- func (e RelationshipValidationError) Reason() string
- type UnimplementedIdentityKnowledgeAPIServer
- type UnsafeIdentityKnowledgeAPIServer
Constants ¶
const (
IdentityKnowledgeAPI_IdentityKnowledge_FullMethodName = "/indykite.knowledge.v1beta1.IdentityKnowledgeAPI/IdentityKnowledge"
)
Variables ¶
var ( Operation_name = map[int32]string{ 0: "OPERATION_INVALID", 1: "OPERATION_READ", } Operation_value = map[string]int32{ "OPERATION_INVALID": 0, "OPERATION_READ": 1, } )
Enum value maps for Operation.
var File_indykite_knowledge_v1beta1_identity_knowledge_api_proto protoreflect.FileDescriptor
var File_indykite_knowledge_v1beta1_model_proto protoreflect.FileDescriptor
var IdentityKnowledgeAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "indykite.knowledge.v1beta1.IdentityKnowledgeAPI", HandlerType: (*IdentityKnowledgeAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IdentityKnowledge", Handler: _IdentityKnowledgeAPI_IdentityKnowledge_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "indykite/knowledge/v1beta1/identity_knowledge_api.proto", }
IdentityKnowledgeAPI_ServiceDesc is the grpc.ServiceDesc for IdentityKnowledgeAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIdentityKnowledgeAPIServer ¶
func RegisterIdentityKnowledgeAPIServer(s grpc.ServiceRegistrar, srv IdentityKnowledgeAPIServer)
Types ¶
type IdentityKnowledgeAPIClient ¶
type IdentityKnowledgeAPIClient interface {
IdentityKnowledge(ctx context.Context, in *IdentityKnowledgeRequest, opts ...grpc.CallOption) (*IdentityKnowledgeResponse, error)
}
IdentityKnowledgeAPIClient is the client API for IdentityKnowledgeAPI 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 NewIdentityKnowledgeAPIClient ¶
func NewIdentityKnowledgeAPIClient(cc grpc.ClientConnInterface) IdentityKnowledgeAPIClient
type IdentityKnowledgeAPIServer ¶
type IdentityKnowledgeAPIServer interface {
IdentityKnowledge(context.Context, *IdentityKnowledgeRequest) (*IdentityKnowledgeResponse, error)
}
IdentityKnowledgeAPIServer is the server API for IdentityKnowledgeAPI service. All implementations should embed UnimplementedIdentityKnowledgeAPIServer for forward compatibility
type IdentityKnowledgeRequest ¶
type IdentityKnowledgeRequest struct { Operation Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=indykite.knowledge.v1beta1.Operation" json:"operation,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Conditions string `protobuf:"bytes,3,opt,name=conditions,proto3" json:"conditions,omitempty"` InputParams map[string]*InputParam `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IdentityKnowledgeRequest) Descriptor
deprecated
func (*IdentityKnowledgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use IdentityKnowledgeRequest.ProtoReflect.Descriptor instead.
func (*IdentityKnowledgeRequest) GetConditions ¶
func (x *IdentityKnowledgeRequest) GetConditions() string
func (*IdentityKnowledgeRequest) GetInputParams ¶ added in v0.17.0
func (x *IdentityKnowledgeRequest) GetInputParams() map[string]*InputParam
func (*IdentityKnowledgeRequest) GetOperation ¶
func (x *IdentityKnowledgeRequest) GetOperation() Operation
func (*IdentityKnowledgeRequest) GetPath ¶
func (x *IdentityKnowledgeRequest) GetPath() string
func (*IdentityKnowledgeRequest) ProtoMessage ¶
func (*IdentityKnowledgeRequest) ProtoMessage()
func (*IdentityKnowledgeRequest) ProtoReflect ¶
func (x *IdentityKnowledgeRequest) ProtoReflect() protoreflect.Message
func (*IdentityKnowledgeRequest) Reset ¶
func (x *IdentityKnowledgeRequest) Reset()
func (*IdentityKnowledgeRequest) String ¶
func (x *IdentityKnowledgeRequest) String() string
func (*IdentityKnowledgeRequest) Validate ¶
func (m *IdentityKnowledgeRequest) Validate() error
Validate checks the field values on IdentityKnowledgeRequest 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 (*IdentityKnowledgeRequest) ValidateAll ¶
func (m *IdentityKnowledgeRequest) ValidateAll() error
ValidateAll checks the field values on IdentityKnowledgeRequest 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 IdentityKnowledgeRequestMultiError, or nil if none found.
type IdentityKnowledgeRequestMultiError ¶
type IdentityKnowledgeRequestMultiError []error
IdentityKnowledgeRequestMultiError is an error wrapping multiple validation errors returned by IdentityKnowledgeRequest.ValidateAll() if the designated constraints aren't met.
func (IdentityKnowledgeRequestMultiError) AllErrors ¶
func (m IdentityKnowledgeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IdentityKnowledgeRequestMultiError) Error ¶
func (m IdentityKnowledgeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IdentityKnowledgeRequestValidationError ¶
type IdentityKnowledgeRequestValidationError struct {
// contains filtered or unexported fields
}
IdentityKnowledgeRequestValidationError is the validation error returned by IdentityKnowledgeRequest.Validate if the designated constraints aren't met.
func (IdentityKnowledgeRequestValidationError) Cause ¶
func (e IdentityKnowledgeRequestValidationError) Cause() error
Cause function returns cause value.
func (IdentityKnowledgeRequestValidationError) Error ¶
func (e IdentityKnowledgeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IdentityKnowledgeRequestValidationError) ErrorName ¶
func (e IdentityKnowledgeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IdentityKnowledgeRequestValidationError) Field ¶
func (e IdentityKnowledgeRequestValidationError) Field() string
Field function returns field value.
func (IdentityKnowledgeRequestValidationError) Key ¶
func (e IdentityKnowledgeRequestValidationError) Key() bool
Key function returns key value.
func (IdentityKnowledgeRequestValidationError) Reason ¶
func (e IdentityKnowledgeRequestValidationError) Reason() string
Reason function returns reason value.
type IdentityKnowledgeResponse ¶
type IdentityKnowledgeResponse struct { Paths []*Path `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*IdentityKnowledgeResponse) Descriptor
deprecated
func (*IdentityKnowledgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use IdentityKnowledgeResponse.ProtoReflect.Descriptor instead.
func (*IdentityKnowledgeResponse) GetPaths ¶
func (x *IdentityKnowledgeResponse) GetPaths() []*Path
func (*IdentityKnowledgeResponse) ProtoMessage ¶
func (*IdentityKnowledgeResponse) ProtoMessage()
func (*IdentityKnowledgeResponse) ProtoReflect ¶
func (x *IdentityKnowledgeResponse) ProtoReflect() protoreflect.Message
func (*IdentityKnowledgeResponse) Reset ¶
func (x *IdentityKnowledgeResponse) Reset()
func (*IdentityKnowledgeResponse) String ¶
func (x *IdentityKnowledgeResponse) String() string
func (*IdentityKnowledgeResponse) Validate ¶
func (m *IdentityKnowledgeResponse) Validate() error
Validate checks the field values on IdentityKnowledgeResponse 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 (*IdentityKnowledgeResponse) ValidateAll ¶
func (m *IdentityKnowledgeResponse) ValidateAll() error
ValidateAll checks the field values on IdentityKnowledgeResponse 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 IdentityKnowledgeResponseMultiError, or nil if none found.
type IdentityKnowledgeResponseMultiError ¶
type IdentityKnowledgeResponseMultiError []error
IdentityKnowledgeResponseMultiError is an error wrapping multiple validation errors returned by IdentityKnowledgeResponse.ValidateAll() if the designated constraints aren't met.
func (IdentityKnowledgeResponseMultiError) AllErrors ¶
func (m IdentityKnowledgeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IdentityKnowledgeResponseMultiError) Error ¶
func (m IdentityKnowledgeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IdentityKnowledgeResponseValidationError ¶
type IdentityKnowledgeResponseValidationError struct {
// contains filtered or unexported fields
}
IdentityKnowledgeResponseValidationError is the validation error returned by IdentityKnowledgeResponse.Validate if the designated constraints aren't met.
func (IdentityKnowledgeResponseValidationError) Cause ¶
func (e IdentityKnowledgeResponseValidationError) Cause() error
Cause function returns cause value.
func (IdentityKnowledgeResponseValidationError) Error ¶
func (e IdentityKnowledgeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IdentityKnowledgeResponseValidationError) ErrorName ¶
func (e IdentityKnowledgeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IdentityKnowledgeResponseValidationError) Field ¶
func (e IdentityKnowledgeResponseValidationError) Field() string
Field function returns field value.
func (IdentityKnowledgeResponseValidationError) Key ¶
func (e IdentityKnowledgeResponseValidationError) Key() bool
Key function returns key value.
func (IdentityKnowledgeResponseValidationError) Reason ¶
func (e IdentityKnowledgeResponseValidationError) Reason() string
Reason function returns reason value.
type InputParam ¶ added in v0.17.0
type InputParam struct { // Types that are assignable to Value: // // *InputParam_StringValue // *InputParam_BoolValue // *InputParam_IntegerValue // *InputParam_DoubleValue Value isInputParam_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*InputParam) Descriptor
deprecated
added in
v0.17.0
func (*InputParam) Descriptor() ([]byte, []int)
Deprecated: Use InputParam.ProtoReflect.Descriptor instead.
func (*InputParam) GetBoolValue ¶ added in v0.17.0
func (x *InputParam) GetBoolValue() bool
func (*InputParam) GetDoubleValue ¶ added in v0.17.0
func (x *InputParam) GetDoubleValue() float64
func (*InputParam) GetIntegerValue ¶ added in v0.17.0
func (x *InputParam) GetIntegerValue() int64
func (*InputParam) GetStringValue ¶ added in v0.17.0
func (x *InputParam) GetStringValue() string
func (*InputParam) GetValue ¶ added in v0.17.0
func (m *InputParam) GetValue() isInputParam_Value
func (*InputParam) ProtoMessage ¶ added in v0.17.0
func (*InputParam) ProtoMessage()
func (*InputParam) ProtoReflect ¶ added in v0.17.0
func (x *InputParam) ProtoReflect() protoreflect.Message
func (*InputParam) Reset ¶ added in v0.17.0
func (x *InputParam) Reset()
func (*InputParam) String ¶ added in v0.17.0
func (x *InputParam) String() string
func (*InputParam) Validate ¶ added in v0.17.0
func (m *InputParam) Validate() error
Validate checks the field values on InputParam 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 (*InputParam) ValidateAll ¶ added in v0.17.0
func (m *InputParam) ValidateAll() error
ValidateAll checks the field values on InputParam 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 InputParamMultiError, or nil if none found.
type InputParamMultiError ¶ added in v0.17.0
type InputParamMultiError []error
InputParamMultiError is an error wrapping multiple validation errors returned by InputParam.ValidateAll() if the designated constraints aren't met.
func (InputParamMultiError) AllErrors ¶ added in v0.17.0
func (m InputParamMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InputParamMultiError) Error ¶ added in v0.17.0
func (m InputParamMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InputParamValidationError ¶ added in v0.17.0
type InputParamValidationError struct {
// contains filtered or unexported fields
}
InputParamValidationError is the validation error returned by InputParam.Validate if the designated constraints aren't met.
func (InputParamValidationError) Cause ¶ added in v0.17.0
func (e InputParamValidationError) Cause() error
Cause function returns cause value.
func (InputParamValidationError) Error ¶ added in v0.17.0
func (e InputParamValidationError) Error() string
Error satisfies the builtin error interface
func (InputParamValidationError) ErrorName ¶ added in v0.17.0
func (e InputParamValidationError) ErrorName() string
ErrorName returns error name.
func (InputParamValidationError) Field ¶ added in v0.17.0
func (e InputParamValidationError) Field() string
Field function returns field value.
func (InputParamValidationError) Key ¶ added in v0.17.0
func (e InputParamValidationError) Key() bool
Key function returns key value.
func (InputParamValidationError) Reason ¶ added in v0.17.0
func (e InputParamValidationError) Reason() string
Reason function returns reason value.
type InputParam_BoolValue ¶ added in v0.17.0
type InputParam_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type InputParam_DoubleValue ¶ added in v0.17.0
type InputParam_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type InputParam_IntegerValue ¶ added in v0.17.0
type InputParam_IntegerValue struct {
IntegerValue int64 `protobuf:"varint,3,opt,name=integer_value,json=integerValue,proto3,oneof"`
}
type InputParam_StringValue ¶ added in v0.17.0
type InputParam_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Node ¶
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` Properties []*Property `protobuf:"bytes,5,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetExternalId ¶
func (*Node) GetProperties ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) Validate ¶
Validate checks the field values on Node 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 (*Node) ValidateAll ¶
ValidateAll checks the field values on Node 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 NodeMultiError, or nil if none found.
type NodeMultiError ¶
type NodeMultiError []error
NodeMultiError is an error wrapping multiple validation errors returned by Node.ValidateAll() if the designated constraints aren't met.
func (NodeMultiError) AllErrors ¶
func (m NodeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NodeMultiError) Error ¶
func (m NodeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NodeValidationError ¶
type NodeValidationError struct {
// contains filtered or unexported fields
}
NodeValidationError is the validation error returned by Node.Validate if the designated constraints aren't met.
func (NodeValidationError) Cause ¶
func (e NodeValidationError) Cause() error
Cause function returns cause value.
func (NodeValidationError) Error ¶
func (e NodeValidationError) Error() string
Error satisfies the builtin error interface
func (NodeValidationError) ErrorName ¶
func (e NodeValidationError) ErrorName() string
ErrorName returns error name.
func (NodeValidationError) Field ¶
func (e NodeValidationError) Field() string
Field function returns field value.
func (NodeValidationError) Key ¶
func (e NodeValidationError) Key() bool
Key function returns key value.
func (NodeValidationError) Reason ¶
func (e NodeValidationError) Reason() string
Reason function returns reason value.
type Operation ¶
type Operation int32
func (Operation) Descriptor ¶
func (Operation) Descriptor() protoreflect.EnumDescriptor
func (Operation) EnumDescriptor
deprecated
func (Operation) Number ¶
func (x Operation) Number() protoreflect.EnumNumber
func (Operation) Type ¶
func (Operation) Type() protoreflect.EnumType
type Path ¶
type Path struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` Relationships []*Relationship `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"` // contains filtered or unexported fields }
func (*Path) Descriptor
deprecated
func (*Path) GetRelationships ¶
func (x *Path) GetRelationships() []*Relationship
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
func (*Path) Validate ¶
Validate checks the field values on Path 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 (*Path) ValidateAll ¶
ValidateAll checks the field values on Path 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 PathMultiError, or nil if none found.
type PathMultiError ¶
type PathMultiError []error
PathMultiError is an error wrapping multiple validation errors returned by Path.ValidateAll() if the designated constraints aren't met.
func (PathMultiError) AllErrors ¶
func (m PathMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathMultiError) Error ¶
func (m PathMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PathValidationError ¶
type PathValidationError struct {
// contains filtered or unexported fields
}
PathValidationError is the validation error returned by Path.Validate if the designated constraints aren't met.
func (PathValidationError) Cause ¶
func (e PathValidationError) Cause() error
Cause function returns cause value.
func (PathValidationError) Error ¶
func (e PathValidationError) Error() string
Error satisfies the builtin error interface
func (PathValidationError) ErrorName ¶
func (e PathValidationError) ErrorName() string
ErrorName returns error name.
func (PathValidationError) Field ¶
func (e PathValidationError) Field() string
Field function returns field value.
func (PathValidationError) Key ¶
func (e PathValidationError) Key() bool
Key function returns key value.
func (PathValidationError) Reason ¶
func (e PathValidationError) Reason() string
Reason function returns reason value.
type Property ¶
type Property struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *v1beta1.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // todo: add metadata for properties // contains filtered or unexported fields }
func (*Property) Descriptor
deprecated
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
func (*Property) Validate ¶
Validate checks the field values on Property 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 (*Property) ValidateAll ¶
ValidateAll checks the field values on Property 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 PropertyMultiError, or nil if none found.
type PropertyMultiError ¶
type PropertyMultiError []error
PropertyMultiError is an error wrapping multiple validation errors returned by Property.ValidateAll() if the designated constraints aren't met.
func (PropertyMultiError) AllErrors ¶
func (m PropertyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PropertyMultiError) Error ¶
func (m PropertyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PropertyValidationError ¶
type PropertyValidationError struct {
// contains filtered or unexported fields
}
PropertyValidationError is the validation error returned by Property.Validate if the designated constraints aren't met.
func (PropertyValidationError) Cause ¶
func (e PropertyValidationError) Cause() error
Cause function returns cause value.
func (PropertyValidationError) Error ¶
func (e PropertyValidationError) Error() string
Error satisfies the builtin error interface
func (PropertyValidationError) ErrorName ¶
func (e PropertyValidationError) ErrorName() string
ErrorName returns error name.
func (PropertyValidationError) Field ¶
func (e PropertyValidationError) Field() string
Field function returns field value.
func (PropertyValidationError) Key ¶
func (e PropertyValidationError) Key() bool
Key function returns key value.
func (PropertyValidationError) Reason ¶
func (e PropertyValidationError) Reason() string
Reason function returns reason value.
type Relationship ¶
type Relationship struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` Properties map[string]*v1beta1.Value `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Relationship) Descriptor
deprecated
func (*Relationship) Descriptor() ([]byte, []int)
Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
func (*Relationship) GetId ¶
func (x *Relationship) GetId() string
func (*Relationship) GetProperties ¶
func (x *Relationship) GetProperties() map[string]*v1beta1.Value
func (*Relationship) GetSource ¶
func (x *Relationship) GetSource() string
func (*Relationship) GetTarget ¶
func (x *Relationship) GetTarget() string
func (*Relationship) GetType ¶
func (x *Relationship) GetType() string
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) ProtoReflect ¶
func (x *Relationship) ProtoReflect() protoreflect.Message
func (*Relationship) Reset ¶
func (x *Relationship) Reset()
func (*Relationship) String ¶
func (x *Relationship) String() string
func (*Relationship) Validate ¶
func (m *Relationship) Validate() error
Validate checks the field values on Relationship 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 (*Relationship) ValidateAll ¶
func (m *Relationship) ValidateAll() error
ValidateAll checks the field values on Relationship 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 RelationshipMultiError, or nil if none found.
type RelationshipMultiError ¶
type RelationshipMultiError []error
RelationshipMultiError is an error wrapping multiple validation errors returned by Relationship.ValidateAll() if the designated constraints aren't met.
func (RelationshipMultiError) AllErrors ¶
func (m RelationshipMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationshipMultiError) Error ¶
func (m RelationshipMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationshipValidationError ¶
type RelationshipValidationError struct {
// contains filtered or unexported fields
}
RelationshipValidationError is the validation error returned by Relationship.Validate if the designated constraints aren't met.
func (RelationshipValidationError) Cause ¶
func (e RelationshipValidationError) Cause() error
Cause function returns cause value.
func (RelationshipValidationError) Error ¶
func (e RelationshipValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipValidationError) ErrorName ¶
func (e RelationshipValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipValidationError) Field ¶
func (e RelationshipValidationError) Field() string
Field function returns field value.
func (RelationshipValidationError) Key ¶
func (e RelationshipValidationError) Key() bool
Key function returns key value.
func (RelationshipValidationError) Reason ¶
func (e RelationshipValidationError) Reason() string
Reason function returns reason value.
type UnimplementedIdentityKnowledgeAPIServer ¶
type UnimplementedIdentityKnowledgeAPIServer struct { }
UnimplementedIdentityKnowledgeAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedIdentityKnowledgeAPIServer) IdentityKnowledge ¶
func (UnimplementedIdentityKnowledgeAPIServer) IdentityKnowledge(context.Context, *IdentityKnowledgeRequest) (*IdentityKnowledgeResponse, error)
type UnsafeIdentityKnowledgeAPIServer ¶
type UnsafeIdentityKnowledgeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeIdentityKnowledgeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityKnowledgeAPIServer will result in compilation errors.