Documentation
¶
Index ¶
- Variables
- type CheckOperationParameters
- func (*CheckOperationParameters) Descriptor() ([]byte, []int)deprecated
- func (x *CheckOperationParameters) GetResource() *v1.ObjectAndRelation
- func (x *CheckOperationParameters) GetSubject() *v1.ObjectAndRelation
- func (*CheckOperationParameters) ProtoMessage()
- func (x *CheckOperationParameters) ProtoReflect() protoreflect.Message
- func (x *CheckOperationParameters) Reset()
- func (x *CheckOperationParameters) String() string
- func (m *CheckOperationParameters) Validate() error
- func (m *CheckOperationParameters) ValidateAll() error
- type CheckOperationParametersMultiError
- type CheckOperationParametersValidationError
- func (e CheckOperationParametersValidationError) Cause() error
- func (e CheckOperationParametersValidationError) Error() string
- func (e CheckOperationParametersValidationError) ErrorName() string
- func (e CheckOperationParametersValidationError) Field() string
- func (e CheckOperationParametersValidationError) Key() bool
- func (e CheckOperationParametersValidationError) Reason() string
- type DeveloperError
- func (*DeveloperError) Descriptor() ([]byte, []int)deprecated
- func (x *DeveloperError) GetColumn() uint32
- func (x *DeveloperError) GetContext() string
- func (x *DeveloperError) GetKind() DeveloperError_ErrorKind
- func (x *DeveloperError) GetLine() uint32
- func (x *DeveloperError) GetMessage() string
- func (x *DeveloperError) GetPath() []string
- func (x *DeveloperError) GetSource() DeveloperError_Source
- func (*DeveloperError) ProtoMessage()
- func (x *DeveloperError) ProtoReflect() protoreflect.Message
- func (x *DeveloperError) Reset()
- func (x *DeveloperError) String() string
- func (m *DeveloperError) Validate() error
- func (m *DeveloperError) ValidateAll() error
- type DeveloperErrorMultiError
- type DeveloperErrorValidationError
- func (e DeveloperErrorValidationError) Cause() error
- func (e DeveloperErrorValidationError) Error() string
- func (e DeveloperErrorValidationError) ErrorName() string
- func (e DeveloperErrorValidationError) Field() string
- func (e DeveloperErrorValidationError) Key() bool
- func (e DeveloperErrorValidationError) Reason() string
- type DeveloperError_ErrorKind
- func (DeveloperError_ErrorKind) Descriptor() protoreflect.EnumDescriptor
- func (x DeveloperError_ErrorKind) Enum() *DeveloperError_ErrorKind
- func (DeveloperError_ErrorKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeveloperError_ErrorKind) Number() protoreflect.EnumNumber
- func (x DeveloperError_ErrorKind) String() string
- func (DeveloperError_ErrorKind) Type() protoreflect.EnumType
- type DeveloperError_Source
- func (DeveloperError_Source) Descriptor() protoreflect.EnumDescriptor
- func (x DeveloperError_Source) Enum() *DeveloperError_Source
- func (DeveloperError_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeveloperError_Source) Number() protoreflect.EnumNumber
- func (x DeveloperError_Source) String() string
- func (DeveloperError_Source) Type() protoreflect.EnumType
- type RequestContext
- func (*RequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *RequestContext) GetRelationships() []*v1.RelationTuple
- func (x *RequestContext) GetSchema() string
- func (*RequestContext) ProtoMessage()
- func (x *RequestContext) ProtoReflect() protoreflect.Message
- func (x *RequestContext) Reset()
- func (x *RequestContext) String() string
- func (m *RequestContext) Validate() error
- func (m *RequestContext) ValidateAll() error
- type RequestContextMultiError
- type RequestContextValidationError
- func (e RequestContextValidationError) Cause() error
- func (e RequestContextValidationError) Error() string
- func (e RequestContextValidationError) ErrorName() string
- func (e RequestContextValidationError) Field() string
- func (e RequestContextValidationError) Key() bool
- func (e RequestContextValidationError) Reason() string
- type RunAssertionsParameters
- func (*RunAssertionsParameters) Descriptor() ([]byte, []int)deprecated
- func (x *RunAssertionsParameters) GetAssertionsYaml() string
- func (*RunAssertionsParameters) ProtoMessage()
- func (x *RunAssertionsParameters) ProtoReflect() protoreflect.Message
- func (x *RunAssertionsParameters) Reset()
- func (x *RunAssertionsParameters) String() string
- func (m *RunAssertionsParameters) Validate() error
- func (m *RunAssertionsParameters) ValidateAll() error
- type RunAssertionsParametersMultiError
- type RunAssertionsParametersValidationError
- func (e RunAssertionsParametersValidationError) Cause() error
- func (e RunAssertionsParametersValidationError) Error() string
- func (e RunAssertionsParametersValidationError) ErrorName() string
- func (e RunAssertionsParametersValidationError) Field() string
- func (e RunAssertionsParametersValidationError) Key() bool
- func (e RunAssertionsParametersValidationError) Reason() string
- type RunValidationParameters
- func (*RunValidationParameters) Descriptor() ([]byte, []int)deprecated
- func (x *RunValidationParameters) GetValidationYaml() string
- func (*RunValidationParameters) ProtoMessage()
- func (x *RunValidationParameters) ProtoReflect() protoreflect.Message
- func (x *RunValidationParameters) Reset()
- func (x *RunValidationParameters) String() string
- func (m *RunValidationParameters) Validate() error
- func (m *RunValidationParameters) ValidateAll() error
- type RunValidationParametersMultiError
- type RunValidationParametersValidationError
- func (e RunValidationParametersValidationError) Cause() error
- func (e RunValidationParametersValidationError) Error() string
- func (e RunValidationParametersValidationError) ErrorName() string
- func (e RunValidationParametersValidationError) Field() string
- func (e RunValidationParametersValidationError) Key() bool
- func (e RunValidationParametersValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( DeveloperError_Source_name = map[int32]string{ 0: "UNKNOWN_SOURCE", 1: "SCHEMA", 2: "RELATIONSHIP", 3: "VALIDATION_YAML", 4: "CHECK_WATCH", 5: "ASSERTION", } DeveloperError_Source_value = map[string]int32{ "UNKNOWN_SOURCE": 0, "SCHEMA": 1, "RELATIONSHIP": 2, "VALIDATION_YAML": 3, "CHECK_WATCH": 4, "ASSERTION": 5, } )
Enum value maps for DeveloperError_Source.
var ( DeveloperError_ErrorKind_name = map[int32]string{ 0: "UNKNOWN_KIND", 1: "PARSE_ERROR", 2: "SCHEMA_ISSUE", 3: "DUPLICATE_RELATIONSHIP", 4: "MISSING_EXPECTED_RELATIONSHIP", 5: "EXTRA_RELATIONSHIP_FOUND", 6: "UNKNOWN_OBJECT_TYPE", 7: "UNKNOWN_RELATION", 8: "MAXIMUM_RECURSION", 9: "ASSERTION_FAILED", } DeveloperError_ErrorKind_value = map[string]int32{ "UNKNOWN_KIND": 0, "PARSE_ERROR": 1, "SCHEMA_ISSUE": 2, "DUPLICATE_RELATIONSHIP": 3, "MISSING_EXPECTED_RELATIONSHIP": 4, "EXTRA_RELATIONSHIP_FOUND": 5, "UNKNOWN_OBJECT_TYPE": 6, "UNKNOWN_RELATION": 7, "MAXIMUM_RECURSION": 8, "ASSERTION_FAILED": 9, } )
Enum value maps for DeveloperError_ErrorKind.
var File_developer_v1_developer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckOperationParameters ¶ added in v1.10.0
type CheckOperationParameters struct {
Resource *v1.ObjectAndRelation `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
Subject *v1.ObjectAndRelation `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
// contains filtered or unexported fields
}
CheckOperationParameters are the parameters for a `check` operation.
func (*CheckOperationParameters) Descriptor
deprecated
added in
v1.10.0
func (*CheckOperationParameters) Descriptor() ([]byte, []int)
Deprecated: Use CheckOperationParameters.ProtoReflect.Descriptor instead.
func (*CheckOperationParameters) GetResource ¶ added in v1.10.0
func (x *CheckOperationParameters) GetResource() *v1.ObjectAndRelation
func (*CheckOperationParameters) GetSubject ¶ added in v1.10.0
func (x *CheckOperationParameters) GetSubject() *v1.ObjectAndRelation
func (*CheckOperationParameters) ProtoMessage ¶ added in v1.10.0
func (*CheckOperationParameters) ProtoMessage()
func (*CheckOperationParameters) ProtoReflect ¶ added in v1.10.0
func (x *CheckOperationParameters) ProtoReflect() protoreflect.Message
func (*CheckOperationParameters) Reset ¶ added in v1.10.0
func (x *CheckOperationParameters) Reset()
func (*CheckOperationParameters) String ¶ added in v1.10.0
func (x *CheckOperationParameters) String() string
func (*CheckOperationParameters) Validate ¶ added in v1.10.0
func (m *CheckOperationParameters) Validate() error
Validate checks the field values on CheckOperationParameters 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 (*CheckOperationParameters) ValidateAll ¶ added in v1.10.0
func (m *CheckOperationParameters) ValidateAll() error
ValidateAll checks the field values on CheckOperationParameters 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 CheckOperationParametersMultiError, or nil if none found.
type CheckOperationParametersMultiError ¶ added in v1.10.0
type CheckOperationParametersMultiError []error
CheckOperationParametersMultiError is an error wrapping multiple validation errors returned by CheckOperationParameters.ValidateAll() if the designated constraints aren't met.
func (CheckOperationParametersMultiError) AllErrors ¶ added in v1.10.0
func (m CheckOperationParametersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckOperationParametersMultiError) Error ¶ added in v1.10.0
func (m CheckOperationParametersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckOperationParametersValidationError ¶ added in v1.10.0
type CheckOperationParametersValidationError struct {
// contains filtered or unexported fields
}
CheckOperationParametersValidationError is the validation error returned by CheckOperationParameters.Validate if the designated constraints aren't met.
func (CheckOperationParametersValidationError) Cause ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) Cause() error
Cause function returns cause value.
func (CheckOperationParametersValidationError) Error ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) Error() string
Error satisfies the builtin error interface
func (CheckOperationParametersValidationError) ErrorName ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) ErrorName() string
ErrorName returns error name.
func (CheckOperationParametersValidationError) Field ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) Field() string
Field function returns field value.
func (CheckOperationParametersValidationError) Key ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) Key() bool
Key function returns key value.
func (CheckOperationParametersValidationError) Reason ¶ added in v1.10.0
func (e CheckOperationParametersValidationError) Reason() string
Reason function returns reason value.
type DeveloperError ¶
type DeveloperError struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
Column uint32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
Source DeveloperError_Source `protobuf:"varint,4,opt,name=source,proto3,enum=developer.v1.DeveloperError_Source" json:"source,omitempty"`
Kind DeveloperError_ErrorKind `protobuf:"varint,5,opt,name=kind,proto3,enum=developer.v1.DeveloperError_ErrorKind" json:"kind,omitempty"`
Path []string `protobuf:"bytes,6,rep,name=path,proto3" json:"path,omitempty"`
// context holds the context for the error. For schema issues, this will be the
// name of the object type. For relationship issues, the full relationship string.
Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*DeveloperError) Descriptor
deprecated
func (*DeveloperError) Descriptor() ([]byte, []int)
Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.
func (*DeveloperError) GetColumn ¶
func (x *DeveloperError) GetColumn() uint32
func (*DeveloperError) GetContext ¶
func (x *DeveloperError) GetContext() string
func (*DeveloperError) GetKind ¶
func (x *DeveloperError) GetKind() DeveloperError_ErrorKind
func (*DeveloperError) GetLine ¶
func (x *DeveloperError) GetLine() uint32
func (*DeveloperError) GetMessage ¶
func (x *DeveloperError) GetMessage() string
func (*DeveloperError) GetPath ¶
func (x *DeveloperError) GetPath() []string
func (*DeveloperError) GetSource ¶
func (x *DeveloperError) GetSource() DeveloperError_Source
func (*DeveloperError) ProtoMessage ¶
func (*DeveloperError) ProtoMessage()
func (*DeveloperError) ProtoReflect ¶
func (x *DeveloperError) ProtoReflect() protoreflect.Message
func (*DeveloperError) Reset ¶
func (x *DeveloperError) Reset()
func (*DeveloperError) String ¶
func (x *DeveloperError) String() string
func (*DeveloperError) Validate ¶
func (m *DeveloperError) Validate() error
Validate checks the field values on DeveloperError 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 (*DeveloperError) ValidateAll ¶
func (m *DeveloperError) ValidateAll() error
ValidateAll checks the field values on DeveloperError 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 DeveloperErrorMultiError, or nil if none found.
type DeveloperErrorMultiError ¶
type DeveloperErrorMultiError []error
DeveloperErrorMultiError is an error wrapping multiple validation errors returned by DeveloperError.ValidateAll() if the designated constraints aren't met.
func (DeveloperErrorMultiError) AllErrors ¶
func (m DeveloperErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeveloperErrorMultiError) Error ¶
func (m DeveloperErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeveloperErrorValidationError ¶
type DeveloperErrorValidationError struct {
// contains filtered or unexported fields
}
DeveloperErrorValidationError is the validation error returned by DeveloperError.Validate if the designated constraints aren't met.
func (DeveloperErrorValidationError) Cause ¶
func (e DeveloperErrorValidationError) Cause() error
Cause function returns cause value.
func (DeveloperErrorValidationError) Error ¶
func (e DeveloperErrorValidationError) Error() string
Error satisfies the builtin error interface
func (DeveloperErrorValidationError) ErrorName ¶
func (e DeveloperErrorValidationError) ErrorName() string
ErrorName returns error name.
func (DeveloperErrorValidationError) Field ¶
func (e DeveloperErrorValidationError) Field() string
Field function returns field value.
func (DeveloperErrorValidationError) Key ¶
func (e DeveloperErrorValidationError) Key() bool
Key function returns key value.
func (DeveloperErrorValidationError) Reason ¶
func (e DeveloperErrorValidationError) Reason() string
Reason function returns reason value.
type DeveloperError_ErrorKind ¶
type DeveloperError_ErrorKind int32
const ( DeveloperError_UNKNOWN_KIND DeveloperError_ErrorKind = 0 DeveloperError_PARSE_ERROR DeveloperError_ErrorKind = 1 DeveloperError_SCHEMA_ISSUE DeveloperError_ErrorKind = 2 DeveloperError_DUPLICATE_RELATIONSHIP DeveloperError_ErrorKind = 3 DeveloperError_MISSING_EXPECTED_RELATIONSHIP DeveloperError_ErrorKind = 4 DeveloperError_EXTRA_RELATIONSHIP_FOUND DeveloperError_ErrorKind = 5 DeveloperError_UNKNOWN_OBJECT_TYPE DeveloperError_ErrorKind = 6 DeveloperError_UNKNOWN_RELATION DeveloperError_ErrorKind = 7 DeveloperError_MAXIMUM_RECURSION DeveloperError_ErrorKind = 8 DeveloperError_ASSERTION_FAILED DeveloperError_ErrorKind = 9 )
func (DeveloperError_ErrorKind) Descriptor ¶
func (DeveloperError_ErrorKind) Descriptor() protoreflect.EnumDescriptor
func (DeveloperError_ErrorKind) Enum ¶
func (x DeveloperError_ErrorKind) Enum() *DeveloperError_ErrorKind
func (DeveloperError_ErrorKind) EnumDescriptor
deprecated
func (DeveloperError_ErrorKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeveloperError_ErrorKind.Descriptor instead.
func (DeveloperError_ErrorKind) Number ¶
func (x DeveloperError_ErrorKind) Number() protoreflect.EnumNumber
func (DeveloperError_ErrorKind) String ¶
func (x DeveloperError_ErrorKind) String() string
func (DeveloperError_ErrorKind) Type ¶
func (DeveloperError_ErrorKind) Type() protoreflect.EnumType
type DeveloperError_Source ¶
type DeveloperError_Source int32
const ( DeveloperError_UNKNOWN_SOURCE DeveloperError_Source = 0 DeveloperError_SCHEMA DeveloperError_Source = 1 DeveloperError_RELATIONSHIP DeveloperError_Source = 2 DeveloperError_VALIDATION_YAML DeveloperError_Source = 3 DeveloperError_CHECK_WATCH DeveloperError_Source = 4 DeveloperError_ASSERTION DeveloperError_Source = 5 )
func (DeveloperError_Source) Descriptor ¶
func (DeveloperError_Source) Descriptor() protoreflect.EnumDescriptor
func (DeveloperError_Source) Enum ¶
func (x DeveloperError_Source) Enum() *DeveloperError_Source
func (DeveloperError_Source) EnumDescriptor
deprecated
func (DeveloperError_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeveloperError_Source.Descriptor instead.
func (DeveloperError_Source) Number ¶
func (x DeveloperError_Source) Number() protoreflect.EnumNumber
func (DeveloperError_Source) String ¶
func (x DeveloperError_Source) String() string
func (DeveloperError_Source) Type ¶
func (DeveloperError_Source) Type() protoreflect.EnumType
type RequestContext ¶
type RequestContext struct {
Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
Relationships []*v1.RelationTuple `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"`
// contains filtered or unexported fields
}
RequestContext is the context for setting up a development package environment for one or more operations.
func (*RequestContext) Descriptor
deprecated
func (*RequestContext) Descriptor() ([]byte, []int)
Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.
func (*RequestContext) GetRelationships ¶
func (x *RequestContext) GetRelationships() []*v1.RelationTuple
func (*RequestContext) GetSchema ¶
func (x *RequestContext) GetSchema() string
func (*RequestContext) ProtoMessage ¶
func (*RequestContext) ProtoMessage()
func (*RequestContext) ProtoReflect ¶
func (x *RequestContext) ProtoReflect() protoreflect.Message
func (*RequestContext) Reset ¶
func (x *RequestContext) Reset()
func (*RequestContext) String ¶
func (x *RequestContext) String() string
func (*RequestContext) Validate ¶
func (m *RequestContext) Validate() error
Validate checks the field values on RequestContext 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 (*RequestContext) ValidateAll ¶
func (m *RequestContext) ValidateAll() error
ValidateAll checks the field values on RequestContext 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 RequestContextMultiError, or nil if none found.
type RequestContextMultiError ¶
type RequestContextMultiError []error
RequestContextMultiError is an error wrapping multiple validation errors returned by RequestContext.ValidateAll() if the designated constraints aren't met.
func (RequestContextMultiError) AllErrors ¶
func (m RequestContextMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestContextMultiError) Error ¶
func (m RequestContextMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestContextValidationError ¶
type RequestContextValidationError struct {
// contains filtered or unexported fields
}
RequestContextValidationError is the validation error returned by RequestContext.Validate if the designated constraints aren't met.
func (RequestContextValidationError) Cause ¶
func (e RequestContextValidationError) Cause() error
Cause function returns cause value.
func (RequestContextValidationError) Error ¶
func (e RequestContextValidationError) Error() string
Error satisfies the builtin error interface
func (RequestContextValidationError) ErrorName ¶
func (e RequestContextValidationError) ErrorName() string
ErrorName returns error name.
func (RequestContextValidationError) Field ¶
func (e RequestContextValidationError) Field() string
Field function returns field value.
func (RequestContextValidationError) Key ¶
func (e RequestContextValidationError) Key() bool
Key function returns key value.
func (RequestContextValidationError) Reason ¶
func (e RequestContextValidationError) Reason() string
Reason function returns reason value.
type RunAssertionsParameters ¶ added in v1.10.0
type RunAssertionsParameters struct {
AssertionsYaml string `protobuf:"bytes,1,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
// contains filtered or unexported fields
}
RunAssertionsParameters are the parameters for a `runAssertions` operation.
func (*RunAssertionsParameters) Descriptor
deprecated
added in
v1.10.0
func (*RunAssertionsParameters) Descriptor() ([]byte, []int)
Deprecated: Use RunAssertionsParameters.ProtoReflect.Descriptor instead.
func (*RunAssertionsParameters) GetAssertionsYaml ¶ added in v1.10.0
func (x *RunAssertionsParameters) GetAssertionsYaml() string
func (*RunAssertionsParameters) ProtoMessage ¶ added in v1.10.0
func (*RunAssertionsParameters) ProtoMessage()
func (*RunAssertionsParameters) ProtoReflect ¶ added in v1.10.0
func (x *RunAssertionsParameters) ProtoReflect() protoreflect.Message
func (*RunAssertionsParameters) Reset ¶ added in v1.10.0
func (x *RunAssertionsParameters) Reset()
func (*RunAssertionsParameters) String ¶ added in v1.10.0
func (x *RunAssertionsParameters) String() string
func (*RunAssertionsParameters) Validate ¶ added in v1.10.0
func (m *RunAssertionsParameters) Validate() error
Validate checks the field values on RunAssertionsParameters 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 (*RunAssertionsParameters) ValidateAll ¶ added in v1.10.0
func (m *RunAssertionsParameters) ValidateAll() error
ValidateAll checks the field values on RunAssertionsParameters 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 RunAssertionsParametersMultiError, or nil if none found.
type RunAssertionsParametersMultiError ¶ added in v1.10.0
type RunAssertionsParametersMultiError []error
RunAssertionsParametersMultiError is an error wrapping multiple validation errors returned by RunAssertionsParameters.ValidateAll() if the designated constraints aren't met.
func (RunAssertionsParametersMultiError) AllErrors ¶ added in v1.10.0
func (m RunAssertionsParametersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RunAssertionsParametersMultiError) Error ¶ added in v1.10.0
func (m RunAssertionsParametersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RunAssertionsParametersValidationError ¶ added in v1.10.0
type RunAssertionsParametersValidationError struct {
// contains filtered or unexported fields
}
RunAssertionsParametersValidationError is the validation error returned by RunAssertionsParameters.Validate if the designated constraints aren't met.
func (RunAssertionsParametersValidationError) Cause ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) Cause() error
Cause function returns cause value.
func (RunAssertionsParametersValidationError) Error ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) Error() string
Error satisfies the builtin error interface
func (RunAssertionsParametersValidationError) ErrorName ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) ErrorName() string
ErrorName returns error name.
func (RunAssertionsParametersValidationError) Field ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) Field() string
Field function returns field value.
func (RunAssertionsParametersValidationError) Key ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) Key() bool
Key function returns key value.
func (RunAssertionsParametersValidationError) Reason ¶ added in v1.10.0
func (e RunAssertionsParametersValidationError) Reason() string
Reason function returns reason value.
type RunValidationParameters ¶ added in v1.10.0
type RunValidationParameters struct {
ValidationYaml string `protobuf:"bytes,1,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
// contains filtered or unexported fields
}
RunValidationParameters are the parameters for a `runValidation` operation.
func (*RunValidationParameters) Descriptor
deprecated
added in
v1.10.0
func (*RunValidationParameters) Descriptor() ([]byte, []int)
Deprecated: Use RunValidationParameters.ProtoReflect.Descriptor instead.
func (*RunValidationParameters) GetValidationYaml ¶ added in v1.10.0
func (x *RunValidationParameters) GetValidationYaml() string
func (*RunValidationParameters) ProtoMessage ¶ added in v1.10.0
func (*RunValidationParameters) ProtoMessage()
func (*RunValidationParameters) ProtoReflect ¶ added in v1.10.0
func (x *RunValidationParameters) ProtoReflect() protoreflect.Message
func (*RunValidationParameters) Reset ¶ added in v1.10.0
func (x *RunValidationParameters) Reset()
func (*RunValidationParameters) String ¶ added in v1.10.0
func (x *RunValidationParameters) String() string
func (*RunValidationParameters) Validate ¶ added in v1.10.0
func (m *RunValidationParameters) Validate() error
Validate checks the field values on RunValidationParameters 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 (*RunValidationParameters) ValidateAll ¶ added in v1.10.0
func (m *RunValidationParameters) ValidateAll() error
ValidateAll checks the field values on RunValidationParameters 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 RunValidationParametersMultiError, or nil if none found.
type RunValidationParametersMultiError ¶ added in v1.10.0
type RunValidationParametersMultiError []error
RunValidationParametersMultiError is an error wrapping multiple validation errors returned by RunValidationParameters.ValidateAll() if the designated constraints aren't met.
func (RunValidationParametersMultiError) AllErrors ¶ added in v1.10.0
func (m RunValidationParametersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RunValidationParametersMultiError) Error ¶ added in v1.10.0
func (m RunValidationParametersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RunValidationParametersValidationError ¶ added in v1.10.0
type RunValidationParametersValidationError struct {
// contains filtered or unexported fields
}
RunValidationParametersValidationError is the validation error returned by RunValidationParameters.Validate if the designated constraints aren't met.
func (RunValidationParametersValidationError) Cause ¶ added in v1.10.0
func (e RunValidationParametersValidationError) Cause() error
Cause function returns cause value.
func (RunValidationParametersValidationError) Error ¶ added in v1.10.0
func (e RunValidationParametersValidationError) Error() string
Error satisfies the builtin error interface
func (RunValidationParametersValidationError) ErrorName ¶ added in v1.10.0
func (e RunValidationParametersValidationError) ErrorName() string
ErrorName returns error name.
func (RunValidationParametersValidationError) Field ¶ added in v1.10.0
func (e RunValidationParametersValidationError) Field() string
Field function returns field value.
func (RunValidationParametersValidationError) Key ¶ added in v1.10.0
func (e RunValidationParametersValidationError) Key() bool
Key function returns key value.
func (RunValidationParametersValidationError) Reason ¶ added in v1.10.0
func (e RunValidationParametersValidationError) Reason() string
Reason function returns reason value.