developerv1

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View 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",
		10: "INVALID_SUBJECT_TYPE",
	}
	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,
		"INVALID_SUBJECT_TYPE":          10,
	}
)

Enum value maps for DeveloperError_ErrorKind.

View Source
var (
	CheckOperationsResult_Membership_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_MEMBER",
		2: "MEMBER",
		3: "CAVEATED_MEMBER",
	}
	CheckOperationsResult_Membership_value = map[string]int32{
		"UNKNOWN":         0,
		"NOT_MEMBER":      1,
		"MEMBER":          2,
		"CAVEATED_MEMBER": 3,
	}
)

Enum value maps for CheckOperationsResult_Membership.

View Source
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"`
	// * caveat_context consists of any named values that are defined at write time for the caveat expression *
	CaveatContext *structpb.Struct `protobuf:"bytes,3,opt,name=caveat_context,json=caveatContext,proto3" json:"caveat_context,omitempty"`
	// contains filtered or unexported fields
}

CheckOperationParameters are the parameters for a `check` operation.

func (*CheckOperationParameters) CloneMessageVT added in v1.22.0

func (m *CheckOperationParameters) CloneMessageVT() proto.Message

func (*CheckOperationParameters) CloneVT added in v1.13.0

func (*CheckOperationParameters) Descriptor deprecated added in v1.10.0

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

Deprecated: Use CheckOperationParameters.ProtoReflect.Descriptor instead.

func (*CheckOperationParameters) EqualMessageVT added in v1.22.0

func (this *CheckOperationParameters) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckOperationParameters) EqualVT added in v1.15.0

func (*CheckOperationParameters) GetCaveatContext added in v1.16.0

func (x *CheckOperationParameters) GetCaveatContext() *structpb.Struct

func (*CheckOperationParameters) GetResource added in v1.10.0

func (x *CheckOperationParameters) GetResource() *v1.ObjectAndRelation

func (*CheckOperationParameters) GetSubject added in v1.10.0

func (*CheckOperationParameters) MarshalToSizedBufferVT added in v1.13.0

func (m *CheckOperationParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckOperationParameters) MarshalToVT added in v1.13.0

func (m *CheckOperationParameters) MarshalToVT(dAtA []byte) (int, error)

func (*CheckOperationParameters) MarshalVT added in v1.13.0

func (m *CheckOperationParameters) MarshalVT() (dAtA []byte, err error)

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) SizeVT added in v1.13.0

func (m *CheckOperationParameters) SizeVT() (n int)

func (*CheckOperationParameters) String added in v1.10.0

func (x *CheckOperationParameters) String() string

func (*CheckOperationParameters) UnmarshalVT added in v1.13.0

func (m *CheckOperationParameters) UnmarshalVT(dAtA []byte) error

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

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

Cause function returns cause value.

func (CheckOperationParametersValidationError) Error added in v1.10.0

Error satisfies the builtin error interface

func (CheckOperationParametersValidationError) ErrorName added in v1.10.0

ErrorName returns error name.

func (CheckOperationParametersValidationError) Field added in v1.10.0

Field function returns field value.

func (CheckOperationParametersValidationError) Key added in v1.10.0

Key function returns key value.

func (CheckOperationParametersValidationError) Reason added in v1.10.0

Reason function returns reason value.

type CheckOperationsResult added in v1.13.0

type CheckOperationsResult struct {
	Membership CheckOperationsResult_Membership `protobuf:"varint,1,opt,name=membership,proto3,enum=developer.v1.CheckOperationsResult_Membership" json:"membership,omitempty"`
	// check_error is the error raised by the check, if any.
	CheckError *DeveloperError `protobuf:"bytes,2,opt,name=check_error,json=checkError,proto3" json:"check_error,omitempty"`
	// debug_information is the debug information for the check.
	DebugInformation *v11.DebugInformation `protobuf:"bytes,3,opt,name=debug_information,json=debugInformation,proto3" json:"debug_information,omitempty"`
	// partial_caveat_info holds information a partial evaluation of a caveat.
	PartialCaveatInfo *PartialCaveatInfo `protobuf:"bytes,4,opt,name=partial_caveat_info,json=partialCaveatInfo,proto3" json:"partial_caveat_info,omitempty"`
	// resolved_debug_information is the V1 API debug information for the check.
	ResolvedDebugInformation *v12.DebugInformation `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

CheckOperationsResult is the result for a `check` operation.

func (*CheckOperationsResult) CloneMessageVT added in v1.22.0

func (m *CheckOperationsResult) CloneMessageVT() proto.Message

func (*CheckOperationsResult) CloneVT added in v1.13.0

func (*CheckOperationsResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use CheckOperationsResult.ProtoReflect.Descriptor instead.

func (*CheckOperationsResult) EqualMessageVT added in v1.22.0

func (this *CheckOperationsResult) EqualMessageVT(thatMsg proto.Message) bool

func (*CheckOperationsResult) EqualVT added in v1.15.0

func (this *CheckOperationsResult) EqualVT(that *CheckOperationsResult) bool

func (*CheckOperationsResult) GetCheckError added in v1.13.0

func (x *CheckOperationsResult) GetCheckError() *DeveloperError

func (*CheckOperationsResult) GetDebugInformation added in v1.16.0

func (x *CheckOperationsResult) GetDebugInformation() *v11.DebugInformation

func (*CheckOperationsResult) GetMembership added in v1.13.0

func (*CheckOperationsResult) GetPartialCaveatInfo added in v1.16.0

func (x *CheckOperationsResult) GetPartialCaveatInfo() *PartialCaveatInfo

func (*CheckOperationsResult) GetResolvedDebugInformation added in v1.16.2

func (x *CheckOperationsResult) GetResolvedDebugInformation() *v12.DebugInformation

func (*CheckOperationsResult) MarshalToSizedBufferVT added in v1.13.0

func (m *CheckOperationsResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CheckOperationsResult) MarshalToVT added in v1.13.0

func (m *CheckOperationsResult) MarshalToVT(dAtA []byte) (int, error)

func (*CheckOperationsResult) MarshalVT added in v1.13.0

func (m *CheckOperationsResult) MarshalVT() (dAtA []byte, err error)

func (*CheckOperationsResult) ProtoMessage added in v1.13.0

func (*CheckOperationsResult) ProtoMessage()

func (*CheckOperationsResult) ProtoReflect added in v1.13.0

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

func (*CheckOperationsResult) Reset added in v1.13.0

func (x *CheckOperationsResult) Reset()

func (*CheckOperationsResult) SizeVT added in v1.13.0

func (m *CheckOperationsResult) SizeVT() (n int)

func (*CheckOperationsResult) String added in v1.13.0

func (x *CheckOperationsResult) String() string

func (*CheckOperationsResult) UnmarshalVT added in v1.13.0

func (m *CheckOperationsResult) UnmarshalVT(dAtA []byte) error

func (*CheckOperationsResult) Validate added in v1.13.0

func (m *CheckOperationsResult) Validate() error

Validate checks the field values on CheckOperationsResult 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 (*CheckOperationsResult) ValidateAll added in v1.13.0

func (m *CheckOperationsResult) ValidateAll() error

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

type CheckOperationsResultMultiError added in v1.13.0

type CheckOperationsResultMultiError []error

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

func (CheckOperationsResultMultiError) AllErrors added in v1.13.0

func (m CheckOperationsResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckOperationsResultMultiError) Error added in v1.13.0

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

type CheckOperationsResultValidationError added in v1.13.0

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

CheckOperationsResultValidationError is the validation error returned by CheckOperationsResult.Validate if the designated constraints aren't met.

func (CheckOperationsResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (CheckOperationsResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (CheckOperationsResultValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (CheckOperationsResultValidationError) Field added in v1.13.0

Field function returns field value.

func (CheckOperationsResultValidationError) Key added in v1.13.0

Key function returns key value.

func (CheckOperationsResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

type CheckOperationsResult_Membership added in v1.13.0

type CheckOperationsResult_Membership int32
const (
	CheckOperationsResult_UNKNOWN         CheckOperationsResult_Membership = 0
	CheckOperationsResult_NOT_MEMBER      CheckOperationsResult_Membership = 1
	CheckOperationsResult_MEMBER          CheckOperationsResult_Membership = 2
	CheckOperationsResult_CAVEATED_MEMBER CheckOperationsResult_Membership = 3
)

func (CheckOperationsResult_Membership) Descriptor added in v1.13.0

func (CheckOperationsResult_Membership) Enum added in v1.13.0

func (CheckOperationsResult_Membership) EnumDescriptor deprecated added in v1.13.0

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

Deprecated: Use CheckOperationsResult_Membership.Descriptor instead.

func (CheckOperationsResult_Membership) Number added in v1.13.0

func (CheckOperationsResult_Membership) String added in v1.13.0

func (CheckOperationsResult_Membership) Type added in v1.13.0

type DeveloperError

type DeveloperError struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// line is the 1-indexed line for the developer error.
	Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	// column is the 1-indexed column on the line for the developer error.
	Column uint32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
	// source is the source location of the error.
	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"`
	// debug_information is the debug information for the dispatched check, if this error was raised
	// due to an assertion failure.
	CheckDebugInformation *v11.DebugInformation `` /* 126-byte string literal not displayed */
	// resolved_debug_information is the V1 API debug information for the check, if this error was raised
	// due to an assertion failure.
	CheckResolvedDebugInformation *v12.DebugInformation `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

DeveloperError represents a single error raised by the development package. Unlike an internal error, it represents an issue with the entered information by the calling developer.

func (*DeveloperError) CloneMessageVT added in v1.22.0

func (m *DeveloperError) CloneMessageVT() proto.Message

func (*DeveloperError) CloneVT added in v1.13.0

func (m *DeveloperError) CloneVT() *DeveloperError

func (*DeveloperError) Descriptor deprecated

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

Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.

func (*DeveloperError) EqualMessageVT added in v1.22.0

func (this *DeveloperError) EqualMessageVT(thatMsg proto.Message) bool

func (*DeveloperError) EqualVT added in v1.15.0

func (this *DeveloperError) EqualVT(that *DeveloperError) bool

func (*DeveloperError) GetCheckDebugInformation added in v1.23.0

func (x *DeveloperError) GetCheckDebugInformation() *v11.DebugInformation

func (*DeveloperError) GetCheckResolvedDebugInformation added in v1.23.0

func (x *DeveloperError) GetCheckResolvedDebugInformation() *v12.DebugInformation

func (*DeveloperError) GetColumn

func (x *DeveloperError) GetColumn() uint32

func (*DeveloperError) GetContext

func (x *DeveloperError) GetContext() string

func (*DeveloperError) GetKind

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) MarshalToSizedBufferVT added in v1.13.0

func (m *DeveloperError) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeveloperError) MarshalToVT added in v1.13.0

func (m *DeveloperError) MarshalToVT(dAtA []byte) (int, error)

func (*DeveloperError) MarshalVT added in v1.13.0

func (m *DeveloperError) MarshalVT() (dAtA []byte, err error)

func (*DeveloperError) ProtoMessage

func (*DeveloperError) ProtoMessage()

func (*DeveloperError) ProtoReflect

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

func (*DeveloperError) Reset

func (x *DeveloperError) Reset()

func (*DeveloperError) SizeVT added in v1.13.0

func (m *DeveloperError) SizeVT() (n int)

func (*DeveloperError) String

func (x *DeveloperError) String() string

func (*DeveloperError) UnmarshalVT added in v1.13.0

func (m *DeveloperError) UnmarshalVT(dAtA []byte) error

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

Cause function returns cause value.

func (DeveloperErrorValidationError) Error

Error satisfies the builtin error interface

func (DeveloperErrorValidationError) ErrorName

func (e DeveloperErrorValidationError) ErrorName() string

ErrorName returns error name.

func (DeveloperErrorValidationError) Field

Field function returns field value.

func (DeveloperErrorValidationError) Key

Key function returns key value.

func (DeveloperErrorValidationError) Reason

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
	DeveloperError_INVALID_SUBJECT_TYPE          DeveloperError_ErrorKind = 10
)

func (DeveloperError_ErrorKind) Descriptor

func (DeveloperError_ErrorKind) Enum

func (DeveloperError_ErrorKind) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_ErrorKind.Descriptor instead.

func (DeveloperError_ErrorKind) Number

func (DeveloperError_ErrorKind) String

func (x DeveloperError_ErrorKind) String() string

func (DeveloperError_ErrorKind) Type

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) Enum

func (DeveloperError_Source) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_Source.Descriptor instead.

func (DeveloperError_Source) Number

func (DeveloperError_Source) String

func (x DeveloperError_Source) String() string

func (DeveloperError_Source) Type

type DeveloperErrors added in v1.13.0

type DeveloperErrors struct {

	// input_errors are those error(s) in the schema, relationships, or assertions inputted by the developer.
	InputErrors []*DeveloperError `protobuf:"bytes,1,rep,name=input_errors,json=inputErrors,proto3" json:"input_errors,omitempty"`
	// contains filtered or unexported fields
}

DeveloperErrors represents the developer error(s) found after the run has completed.

func (*DeveloperErrors) CloneMessageVT added in v1.22.0

func (m *DeveloperErrors) CloneMessageVT() proto.Message

func (*DeveloperErrors) CloneVT added in v1.13.0

func (m *DeveloperErrors) CloneVT() *DeveloperErrors

func (*DeveloperErrors) Descriptor deprecated added in v1.13.0

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

Deprecated: Use DeveloperErrors.ProtoReflect.Descriptor instead.

func (*DeveloperErrors) EqualMessageVT added in v1.22.0

func (this *DeveloperErrors) EqualMessageVT(thatMsg proto.Message) bool

func (*DeveloperErrors) EqualVT added in v1.15.0

func (this *DeveloperErrors) EqualVT(that *DeveloperErrors) bool

func (*DeveloperErrors) GetInputErrors added in v1.13.0

func (x *DeveloperErrors) GetInputErrors() []*DeveloperError

func (*DeveloperErrors) MarshalToSizedBufferVT added in v1.13.0

func (m *DeveloperErrors) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeveloperErrors) MarshalToVT added in v1.13.0

func (m *DeveloperErrors) MarshalToVT(dAtA []byte) (int, error)

func (*DeveloperErrors) MarshalVT added in v1.13.0

func (m *DeveloperErrors) MarshalVT() (dAtA []byte, err error)

func (*DeveloperErrors) ProtoMessage added in v1.13.0

func (*DeveloperErrors) ProtoMessage()

func (*DeveloperErrors) ProtoReflect added in v1.13.0

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

func (*DeveloperErrors) Reset added in v1.13.0

func (x *DeveloperErrors) Reset()

func (*DeveloperErrors) SizeVT added in v1.13.0

func (m *DeveloperErrors) SizeVT() (n int)

func (*DeveloperErrors) String added in v1.13.0

func (x *DeveloperErrors) String() string

func (*DeveloperErrors) UnmarshalVT added in v1.13.0

func (m *DeveloperErrors) UnmarshalVT(dAtA []byte) error

func (*DeveloperErrors) Validate added in v1.13.0

func (m *DeveloperErrors) Validate() error

Validate checks the field values on DeveloperErrors 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 (*DeveloperErrors) ValidateAll added in v1.13.0

func (m *DeveloperErrors) ValidateAll() error

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

type DeveloperErrorsMultiError added in v1.13.0

type DeveloperErrorsMultiError []error

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

func (DeveloperErrorsMultiError) AllErrors added in v1.13.0

func (m DeveloperErrorsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperErrorsMultiError) Error added in v1.13.0

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

type DeveloperErrorsValidationError added in v1.13.0

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

DeveloperErrorsValidationError is the validation error returned by DeveloperErrors.Validate if the designated constraints aren't met.

func (DeveloperErrorsValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (DeveloperErrorsValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (DeveloperErrorsValidationError) ErrorName added in v1.13.0

func (e DeveloperErrorsValidationError) ErrorName() string

ErrorName returns error name.

func (DeveloperErrorsValidationError) Field added in v1.13.0

Field function returns field value.

func (DeveloperErrorsValidationError) Key added in v1.13.0

Key function returns key value.

func (DeveloperErrorsValidationError) Reason added in v1.13.0

Reason function returns reason value.

type DeveloperRequest added in v1.13.0

type DeveloperRequest struct {

	// context is the context for the developer request.
	Context *RequestContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// operations are the operations to be run as part of the developer request.
	Operations []*Operation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

DeveloperRequest is a single request made to the developer platform, containing zero or more operations to run.

func (*DeveloperRequest) CloneMessageVT added in v1.22.0

func (m *DeveloperRequest) CloneMessageVT() proto.Message

func (*DeveloperRequest) CloneVT added in v1.13.0

func (m *DeveloperRequest) CloneVT() *DeveloperRequest

func (*DeveloperRequest) Descriptor deprecated added in v1.13.0

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

Deprecated: Use DeveloperRequest.ProtoReflect.Descriptor instead.

func (*DeveloperRequest) EqualMessageVT added in v1.22.0

func (this *DeveloperRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DeveloperRequest) EqualVT added in v1.15.0

func (this *DeveloperRequest) EqualVT(that *DeveloperRequest) bool

func (*DeveloperRequest) GetContext added in v1.13.0

func (x *DeveloperRequest) GetContext() *RequestContext

func (*DeveloperRequest) GetOperations added in v1.13.0

func (x *DeveloperRequest) GetOperations() []*Operation

func (*DeveloperRequest) MarshalToSizedBufferVT added in v1.13.0

func (m *DeveloperRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeveloperRequest) MarshalToVT added in v1.13.0

func (m *DeveloperRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeveloperRequest) MarshalVT added in v1.13.0

func (m *DeveloperRequest) MarshalVT() (dAtA []byte, err error)

func (*DeveloperRequest) ProtoMessage added in v1.13.0

func (*DeveloperRequest) ProtoMessage()

func (*DeveloperRequest) ProtoReflect added in v1.13.0

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

func (*DeveloperRequest) Reset added in v1.13.0

func (x *DeveloperRequest) Reset()

func (*DeveloperRequest) SizeVT added in v1.13.0

func (m *DeveloperRequest) SizeVT() (n int)

func (*DeveloperRequest) String added in v1.13.0

func (x *DeveloperRequest) String() string

func (*DeveloperRequest) UnmarshalVT added in v1.13.0

func (m *DeveloperRequest) UnmarshalVT(dAtA []byte) error

func (*DeveloperRequest) Validate added in v1.13.0

func (m *DeveloperRequest) Validate() error

Validate checks the field values on DeveloperRequest 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 (*DeveloperRequest) ValidateAll added in v1.13.0

func (m *DeveloperRequest) ValidateAll() error

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

type DeveloperRequestMultiError added in v1.13.0

type DeveloperRequestMultiError []error

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

func (DeveloperRequestMultiError) AllErrors added in v1.13.0

func (m DeveloperRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperRequestMultiError) Error added in v1.13.0

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

type DeveloperRequestValidationError added in v1.13.0

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

DeveloperRequestValidationError is the validation error returned by DeveloperRequest.Validate if the designated constraints aren't met.

func (DeveloperRequestValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (DeveloperRequestValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (DeveloperRequestValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (DeveloperRequestValidationError) Field added in v1.13.0

Field function returns field value.

func (DeveloperRequestValidationError) Key added in v1.13.0

Key function returns key value.

func (DeveloperRequestValidationError) Reason added in v1.13.0

Reason function returns reason value.

type DeveloperResponse added in v1.13.0

type DeveloperResponse struct {

	// internal_error is the internal error that occurred when attempting to run this operation, if any.
	InternalError string `protobuf:"bytes,1,opt,name=internal_error,json=internalError,proto3" json:"internal_error,omitempty"`
	// developer_errors are the developer error(s) returned in the operation, if any.
	DeveloperErrors *DeveloperErrors `protobuf:"bytes,2,opt,name=developer_errors,json=developerErrors,proto3" json:"developer_errors,omitempty"`
	// operations_results holds the results of the operations, if any and no errors.
	OperationsResults *OperationsResults `protobuf:"bytes,3,opt,name=operations_results,json=operationsResults,proto3" json:"operations_results,omitempty"`
	// contains filtered or unexported fields
}

DeveloperResponse is the response to a single request made to the developer platform.

func (*DeveloperResponse) CloneMessageVT added in v1.22.0

func (m *DeveloperResponse) CloneMessageVT() proto.Message

func (*DeveloperResponse) CloneVT added in v1.13.0

func (m *DeveloperResponse) CloneVT() *DeveloperResponse

func (*DeveloperResponse) Descriptor deprecated added in v1.13.0

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

Deprecated: Use DeveloperResponse.ProtoReflect.Descriptor instead.

func (*DeveloperResponse) EqualMessageVT added in v1.22.0

func (this *DeveloperResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DeveloperResponse) EqualVT added in v1.15.0

func (this *DeveloperResponse) EqualVT(that *DeveloperResponse) bool

func (*DeveloperResponse) GetDeveloperErrors added in v1.13.0

func (x *DeveloperResponse) GetDeveloperErrors() *DeveloperErrors

func (*DeveloperResponse) GetInternalError added in v1.13.0

func (x *DeveloperResponse) GetInternalError() string

func (*DeveloperResponse) GetOperationsResults added in v1.13.0

func (x *DeveloperResponse) GetOperationsResults() *OperationsResults

func (*DeveloperResponse) MarshalToSizedBufferVT added in v1.13.0

func (m *DeveloperResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeveloperResponse) MarshalToVT added in v1.13.0

func (m *DeveloperResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeveloperResponse) MarshalVT added in v1.13.0

func (m *DeveloperResponse) MarshalVT() (dAtA []byte, err error)

func (*DeveloperResponse) ProtoMessage added in v1.13.0

func (*DeveloperResponse) ProtoMessage()

func (*DeveloperResponse) ProtoReflect added in v1.13.0

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

func (*DeveloperResponse) Reset added in v1.13.0

func (x *DeveloperResponse) Reset()

func (*DeveloperResponse) SizeVT added in v1.13.0

func (m *DeveloperResponse) SizeVT() (n int)

func (*DeveloperResponse) String added in v1.13.0

func (x *DeveloperResponse) String() string

func (*DeveloperResponse) UnmarshalVT added in v1.13.0

func (m *DeveloperResponse) UnmarshalVT(dAtA []byte) error

func (*DeveloperResponse) Validate added in v1.13.0

func (m *DeveloperResponse) Validate() error

Validate checks the field values on DeveloperResponse 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 (*DeveloperResponse) ValidateAll added in v1.13.0

func (m *DeveloperResponse) ValidateAll() error

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

type DeveloperResponseMultiError added in v1.13.0

type DeveloperResponseMultiError []error

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

func (DeveloperResponseMultiError) AllErrors added in v1.13.0

func (m DeveloperResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperResponseMultiError) Error added in v1.13.0

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

type DeveloperResponseValidationError added in v1.13.0

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

DeveloperResponseValidationError is the validation error returned by DeveloperResponse.Validate if the designated constraints aren't met.

func (DeveloperResponseValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (DeveloperResponseValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (DeveloperResponseValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (DeveloperResponseValidationError) Field added in v1.13.0

Field function returns field value.

func (DeveloperResponseValidationError) Key added in v1.13.0

Key function returns key value.

func (DeveloperResponseValidationError) Reason added in v1.13.0

Reason function returns reason value.

type FormatSchemaParameters added in v1.13.0

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

FormatSchemaParameters are the parameters for a `formatSchema` operation.

func (*FormatSchemaParameters) CloneMessageVT added in v1.22.0

func (m *FormatSchemaParameters) CloneMessageVT() proto.Message

func (*FormatSchemaParameters) CloneVT added in v1.13.0

func (*FormatSchemaParameters) Descriptor deprecated added in v1.13.0

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

Deprecated: Use FormatSchemaParameters.ProtoReflect.Descriptor instead.

func (*FormatSchemaParameters) EqualMessageVT added in v1.22.0

func (this *FormatSchemaParameters) EqualMessageVT(thatMsg proto.Message) bool

func (*FormatSchemaParameters) EqualVT added in v1.15.0

func (this *FormatSchemaParameters) EqualVT(that *FormatSchemaParameters) bool

func (*FormatSchemaParameters) MarshalToSizedBufferVT added in v1.13.0

func (m *FormatSchemaParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FormatSchemaParameters) MarshalToVT added in v1.13.0

func (m *FormatSchemaParameters) MarshalToVT(dAtA []byte) (int, error)

func (*FormatSchemaParameters) MarshalVT added in v1.13.0

func (m *FormatSchemaParameters) MarshalVT() (dAtA []byte, err error)

func (*FormatSchemaParameters) ProtoMessage added in v1.13.0

func (*FormatSchemaParameters) ProtoMessage()

func (*FormatSchemaParameters) ProtoReflect added in v1.13.0

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

func (*FormatSchemaParameters) Reset added in v1.13.0

func (x *FormatSchemaParameters) Reset()

func (*FormatSchemaParameters) SizeVT added in v1.13.0

func (m *FormatSchemaParameters) SizeVT() (n int)

func (*FormatSchemaParameters) String added in v1.13.0

func (x *FormatSchemaParameters) String() string

func (*FormatSchemaParameters) UnmarshalVT added in v1.13.0

func (m *FormatSchemaParameters) UnmarshalVT(dAtA []byte) error

func (*FormatSchemaParameters) Validate added in v1.13.0

func (m *FormatSchemaParameters) Validate() error

Validate checks the field values on FormatSchemaParameters 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 (*FormatSchemaParameters) ValidateAll added in v1.13.0

func (m *FormatSchemaParameters) ValidateAll() error

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

type FormatSchemaParametersMultiError added in v1.13.0

type FormatSchemaParametersMultiError []error

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

func (FormatSchemaParametersMultiError) AllErrors added in v1.13.0

func (m FormatSchemaParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaParametersMultiError) Error added in v1.13.0

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

type FormatSchemaParametersValidationError added in v1.13.0

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

FormatSchemaParametersValidationError is the validation error returned by FormatSchemaParameters.Validate if the designated constraints aren't met.

func (FormatSchemaParametersValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (FormatSchemaParametersValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (FormatSchemaParametersValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (FormatSchemaParametersValidationError) Field added in v1.13.0

Field function returns field value.

func (FormatSchemaParametersValidationError) Key added in v1.13.0

Key function returns key value.

func (FormatSchemaParametersValidationError) Reason added in v1.13.0

Reason function returns reason value.

type FormatSchemaResult added in v1.13.0

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

FormatSchemaResult is the result of the `formatSchema` operation.

func (*FormatSchemaResult) CloneMessageVT added in v1.22.0

func (m *FormatSchemaResult) CloneMessageVT() proto.Message

func (*FormatSchemaResult) CloneVT added in v1.13.0

func (m *FormatSchemaResult) CloneVT() *FormatSchemaResult

func (*FormatSchemaResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use FormatSchemaResult.ProtoReflect.Descriptor instead.

func (*FormatSchemaResult) EqualMessageVT added in v1.22.0

func (this *FormatSchemaResult) EqualMessageVT(thatMsg proto.Message) bool

func (*FormatSchemaResult) EqualVT added in v1.15.0

func (this *FormatSchemaResult) EqualVT(that *FormatSchemaResult) bool

func (*FormatSchemaResult) GetFormattedSchema added in v1.13.0

func (x *FormatSchemaResult) GetFormattedSchema() string

func (*FormatSchemaResult) MarshalToSizedBufferVT added in v1.13.0

func (m *FormatSchemaResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FormatSchemaResult) MarshalToVT added in v1.13.0

func (m *FormatSchemaResult) MarshalToVT(dAtA []byte) (int, error)

func (*FormatSchemaResult) MarshalVT added in v1.13.0

func (m *FormatSchemaResult) MarshalVT() (dAtA []byte, err error)

func (*FormatSchemaResult) ProtoMessage added in v1.13.0

func (*FormatSchemaResult) ProtoMessage()

func (*FormatSchemaResult) ProtoReflect added in v1.13.0

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

func (*FormatSchemaResult) Reset added in v1.13.0

func (x *FormatSchemaResult) Reset()

func (*FormatSchemaResult) SizeVT added in v1.13.0

func (m *FormatSchemaResult) SizeVT() (n int)

func (*FormatSchemaResult) String added in v1.13.0

func (x *FormatSchemaResult) String() string

func (*FormatSchemaResult) UnmarshalVT added in v1.13.0

func (m *FormatSchemaResult) UnmarshalVT(dAtA []byte) error

func (*FormatSchemaResult) Validate added in v1.13.0

func (m *FormatSchemaResult) Validate() error

Validate checks the field values on FormatSchemaResult 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 (*FormatSchemaResult) ValidateAll added in v1.13.0

func (m *FormatSchemaResult) ValidateAll() error

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

type FormatSchemaResultMultiError added in v1.13.0

type FormatSchemaResultMultiError []error

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

func (FormatSchemaResultMultiError) AllErrors added in v1.13.0

func (m FormatSchemaResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaResultMultiError) Error added in v1.13.0

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

type FormatSchemaResultValidationError added in v1.13.0

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

FormatSchemaResultValidationError is the validation error returned by FormatSchemaResult.Validate if the designated constraints aren't met.

func (FormatSchemaResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (FormatSchemaResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (FormatSchemaResultValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (FormatSchemaResultValidationError) Field added in v1.13.0

Field function returns field value.

func (FormatSchemaResultValidationError) Key added in v1.13.0

Key function returns key value.

func (FormatSchemaResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

type Operation added in v1.13.0

type Operation struct {
	CheckParameters        *CheckOperationParameters `protobuf:"bytes,1,opt,name=check_parameters,json=checkParameters,proto3" json:"check_parameters,omitempty"`
	AssertionsParameters   *RunAssertionsParameters  `protobuf:"bytes,2,opt,name=assertions_parameters,json=assertionsParameters,proto3" json:"assertions_parameters,omitempty"`
	ValidationParameters   *RunValidationParameters  `protobuf:"bytes,3,opt,name=validation_parameters,json=validationParameters,proto3" json:"validation_parameters,omitempty"`
	FormatSchemaParameters *FormatSchemaParameters   `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Operation is a single operation to be processed by the development package.

func (*Operation) CloneMessageVT added in v1.22.0

func (m *Operation) CloneMessageVT() proto.Message

func (*Operation) CloneVT added in v1.13.0

func (m *Operation) CloneVT() *Operation

func (*Operation) Descriptor deprecated added in v1.13.0

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) EqualMessageVT added in v1.22.0

func (this *Operation) EqualMessageVT(thatMsg proto.Message) bool

func (*Operation) EqualVT added in v1.15.0

func (this *Operation) EqualVT(that *Operation) bool

func (*Operation) GetAssertionsParameters added in v1.13.0

func (x *Operation) GetAssertionsParameters() *RunAssertionsParameters

func (*Operation) GetCheckParameters added in v1.13.0

func (x *Operation) GetCheckParameters() *CheckOperationParameters

func (*Operation) GetFormatSchemaParameters added in v1.13.0

func (x *Operation) GetFormatSchemaParameters() *FormatSchemaParameters

func (*Operation) GetValidationParameters added in v1.13.0

func (x *Operation) GetValidationParameters() *RunValidationParameters

func (*Operation) MarshalToSizedBufferVT added in v1.13.0

func (m *Operation) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Operation) MarshalToVT added in v1.13.0

func (m *Operation) MarshalToVT(dAtA []byte) (int, error)

func (*Operation) MarshalVT added in v1.13.0

func (m *Operation) MarshalVT() (dAtA []byte, err error)

func (*Operation) ProtoMessage added in v1.13.0

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v1.13.0

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

func (*Operation) Reset added in v1.13.0

func (x *Operation) Reset()

func (*Operation) SizeVT added in v1.13.0

func (m *Operation) SizeVT() (n int)

func (*Operation) String added in v1.13.0

func (x *Operation) String() string

func (*Operation) UnmarshalVT added in v1.13.0

func (m *Operation) UnmarshalVT(dAtA []byte) error

func (*Operation) Validate added in v1.13.0

func (m *Operation) Validate() error

Validate checks the field values on Operation 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 (*Operation) ValidateAll added in v1.13.0

func (m *Operation) ValidateAll() error

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

type OperationMultiError added in v1.13.0

type OperationMultiError []error

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

func (OperationMultiError) AllErrors added in v1.13.0

func (m OperationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationMultiError) Error added in v1.13.0

func (m OperationMultiError) Error() string

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

type OperationResult added in v1.13.0

type OperationResult struct {
	CheckResult        *CheckOperationsResult `protobuf:"bytes,1,opt,name=check_result,json=checkResult,proto3" json:"check_result,omitempty"`
	AssertionsResult   *RunAssertionsResult   `protobuf:"bytes,2,opt,name=assertions_result,json=assertionsResult,proto3" json:"assertions_result,omitempty"`
	ValidationResult   *RunValidationResult   `protobuf:"bytes,3,opt,name=validation_result,json=validationResult,proto3" json:"validation_result,omitempty"`
	FormatSchemaResult *FormatSchemaResult    `protobuf:"bytes,4,opt,name=format_schema_result,json=formatSchemaResult,proto3" json:"format_schema_result,omitempty"`
	// contains filtered or unexported fields
}

OperationResult contains the result data given to the callback for an operation.

func (*OperationResult) CloneMessageVT added in v1.22.0

func (m *OperationResult) CloneMessageVT() proto.Message

func (*OperationResult) CloneVT added in v1.13.0

func (m *OperationResult) CloneVT() *OperationResult

func (*OperationResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use OperationResult.ProtoReflect.Descriptor instead.

func (*OperationResult) EqualMessageVT added in v1.22.0

func (this *OperationResult) EqualMessageVT(thatMsg proto.Message) bool

func (*OperationResult) EqualVT added in v1.15.0

func (this *OperationResult) EqualVT(that *OperationResult) bool

func (*OperationResult) GetAssertionsResult added in v1.13.0

func (x *OperationResult) GetAssertionsResult() *RunAssertionsResult

func (*OperationResult) GetCheckResult added in v1.13.0

func (x *OperationResult) GetCheckResult() *CheckOperationsResult

func (*OperationResult) GetFormatSchemaResult added in v1.13.0

func (x *OperationResult) GetFormatSchemaResult() *FormatSchemaResult

func (*OperationResult) GetValidationResult added in v1.13.0

func (x *OperationResult) GetValidationResult() *RunValidationResult

func (*OperationResult) MarshalToSizedBufferVT added in v1.13.0

func (m *OperationResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*OperationResult) MarshalToVT added in v1.13.0

func (m *OperationResult) MarshalToVT(dAtA []byte) (int, error)

func (*OperationResult) MarshalVT added in v1.13.0

func (m *OperationResult) MarshalVT() (dAtA []byte, err error)

func (*OperationResult) ProtoMessage added in v1.13.0

func (*OperationResult) ProtoMessage()

func (*OperationResult) ProtoReflect added in v1.13.0

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

func (*OperationResult) Reset added in v1.13.0

func (x *OperationResult) Reset()

func (*OperationResult) SizeVT added in v1.13.0

func (m *OperationResult) SizeVT() (n int)

func (*OperationResult) String added in v1.13.0

func (x *OperationResult) String() string

func (*OperationResult) UnmarshalVT added in v1.13.0

func (m *OperationResult) UnmarshalVT(dAtA []byte) error

func (*OperationResult) Validate added in v1.13.0

func (m *OperationResult) Validate() error

Validate checks the field values on OperationResult 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 (*OperationResult) ValidateAll added in v1.13.0

func (m *OperationResult) ValidateAll() error

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

type OperationResultMultiError added in v1.13.0

type OperationResultMultiError []error

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

func (OperationResultMultiError) AllErrors added in v1.13.0

func (m OperationResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationResultMultiError) Error added in v1.13.0

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

type OperationResultValidationError added in v1.13.0

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

OperationResultValidationError is the validation error returned by OperationResult.Validate if the designated constraints aren't met.

func (OperationResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (OperationResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (OperationResultValidationError) ErrorName added in v1.13.0

func (e OperationResultValidationError) ErrorName() string

ErrorName returns error name.

func (OperationResultValidationError) Field added in v1.13.0

Field function returns field value.

func (OperationResultValidationError) Key added in v1.13.0

Key function returns key value.

func (OperationResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

type OperationValidationError added in v1.13.0

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

OperationValidationError is the validation error returned by Operation.Validate if the designated constraints aren't met.

func (OperationValidationError) Cause added in v1.13.0

func (e OperationValidationError) Cause() error

Cause function returns cause value.

func (OperationValidationError) Error added in v1.13.0

func (e OperationValidationError) Error() string

Error satisfies the builtin error interface

func (OperationValidationError) ErrorName added in v1.13.0

func (e OperationValidationError) ErrorName() string

ErrorName returns error name.

func (OperationValidationError) Field added in v1.13.0

func (e OperationValidationError) Field() string

Field function returns field value.

func (OperationValidationError) Key added in v1.13.0

Key function returns key value.

func (OperationValidationError) Reason added in v1.13.0

func (e OperationValidationError) Reason() string

Reason function returns reason value.

type OperationsResults added in v1.13.0

type OperationsResults struct {
	Results map[uint64]*OperationResult `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

OperationsResults holds the results for the operations, indexed by the operation.

func (*OperationsResults) CloneMessageVT added in v1.22.0

func (m *OperationsResults) CloneMessageVT() proto.Message

func (*OperationsResults) CloneVT added in v1.13.0

func (m *OperationsResults) CloneVT() *OperationsResults

func (*OperationsResults) Descriptor deprecated added in v1.13.0

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

Deprecated: Use OperationsResults.ProtoReflect.Descriptor instead.

func (*OperationsResults) EqualMessageVT added in v1.22.0

func (this *OperationsResults) EqualMessageVT(thatMsg proto.Message) bool

func (*OperationsResults) EqualVT added in v1.15.0

func (this *OperationsResults) EqualVT(that *OperationsResults) bool

func (*OperationsResults) GetResults added in v1.13.0

func (x *OperationsResults) GetResults() map[uint64]*OperationResult

func (*OperationsResults) MarshalToSizedBufferVT added in v1.13.0

func (m *OperationsResults) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*OperationsResults) MarshalToVT added in v1.13.0

func (m *OperationsResults) MarshalToVT(dAtA []byte) (int, error)

func (*OperationsResults) MarshalVT added in v1.13.0

func (m *OperationsResults) MarshalVT() (dAtA []byte, err error)

func (*OperationsResults) ProtoMessage added in v1.13.0

func (*OperationsResults) ProtoMessage()

func (*OperationsResults) ProtoReflect added in v1.13.0

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

func (*OperationsResults) Reset added in v1.13.0

func (x *OperationsResults) Reset()

func (*OperationsResults) SizeVT added in v1.13.0

func (m *OperationsResults) SizeVT() (n int)

func (*OperationsResults) String added in v1.13.0

func (x *OperationsResults) String() string

func (*OperationsResults) UnmarshalVT added in v1.13.0

func (m *OperationsResults) UnmarshalVT(dAtA []byte) error

func (*OperationsResults) Validate added in v1.13.0

func (m *OperationsResults) Validate() error

Validate checks the field values on OperationsResults 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 (*OperationsResults) ValidateAll added in v1.13.0

func (m *OperationsResults) ValidateAll() error

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

type OperationsResultsMultiError added in v1.13.0

type OperationsResultsMultiError []error

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

func (OperationsResultsMultiError) AllErrors added in v1.13.0

func (m OperationsResultsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationsResultsMultiError) Error added in v1.13.0

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

type OperationsResultsValidationError added in v1.13.0

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

OperationsResultsValidationError is the validation error returned by OperationsResults.Validate if the designated constraints aren't met.

func (OperationsResultsValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (OperationsResultsValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (OperationsResultsValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (OperationsResultsValidationError) Field added in v1.13.0

Field function returns field value.

func (OperationsResultsValidationError) Key added in v1.13.0

Key function returns key value.

func (OperationsResultsValidationError) Reason added in v1.13.0

Reason function returns reason value.

type PartialCaveatInfo added in v1.16.0

type PartialCaveatInfo struct {

	// missing_required_context is a list of one or more fields that were missing and prevented caveats
	// from being fully evaluated
	MissingRequiredContext []string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

PartialCaveatInfo carries information necessary for the client to take action in the event a response contains a partially evaluated caveat

func (*PartialCaveatInfo) CloneMessageVT added in v1.22.0

func (m *PartialCaveatInfo) CloneMessageVT() proto.Message

func (*PartialCaveatInfo) CloneVT added in v1.16.0

func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo

func (*PartialCaveatInfo) Descriptor deprecated added in v1.16.0

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

Deprecated: Use PartialCaveatInfo.ProtoReflect.Descriptor instead.

func (*PartialCaveatInfo) EqualMessageVT added in v1.22.0

func (this *PartialCaveatInfo) EqualMessageVT(thatMsg proto.Message) bool

func (*PartialCaveatInfo) EqualVT added in v1.16.0

func (this *PartialCaveatInfo) EqualVT(that *PartialCaveatInfo) bool

func (*PartialCaveatInfo) GetMissingRequiredContext added in v1.16.0

func (x *PartialCaveatInfo) GetMissingRequiredContext() []string

func (*PartialCaveatInfo) MarshalToSizedBufferVT added in v1.16.0

func (m *PartialCaveatInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PartialCaveatInfo) MarshalToVT added in v1.16.0

func (m *PartialCaveatInfo) MarshalToVT(dAtA []byte) (int, error)

func (*PartialCaveatInfo) MarshalVT added in v1.16.0

func (m *PartialCaveatInfo) MarshalVT() (dAtA []byte, err error)

func (*PartialCaveatInfo) ProtoMessage added in v1.16.0

func (*PartialCaveatInfo) ProtoMessage()

func (*PartialCaveatInfo) ProtoReflect added in v1.16.0

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

func (*PartialCaveatInfo) Reset added in v1.16.0

func (x *PartialCaveatInfo) Reset()

func (*PartialCaveatInfo) SizeVT added in v1.16.0

func (m *PartialCaveatInfo) SizeVT() (n int)

func (*PartialCaveatInfo) String added in v1.16.0

func (x *PartialCaveatInfo) String() string

func (*PartialCaveatInfo) UnmarshalVT added in v1.16.0

func (m *PartialCaveatInfo) UnmarshalVT(dAtA []byte) error

func (*PartialCaveatInfo) Validate added in v1.16.0

func (m *PartialCaveatInfo) Validate() error

Validate checks the field values on PartialCaveatInfo 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 (*PartialCaveatInfo) ValidateAll added in v1.16.0

func (m *PartialCaveatInfo) ValidateAll() error

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

type PartialCaveatInfoMultiError added in v1.16.0

type PartialCaveatInfoMultiError []error

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

func (PartialCaveatInfoMultiError) AllErrors added in v1.16.0

func (m PartialCaveatInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartialCaveatInfoMultiError) Error added in v1.16.0

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

type PartialCaveatInfoValidationError added in v1.16.0

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

PartialCaveatInfoValidationError is the validation error returned by PartialCaveatInfo.Validate if the designated constraints aren't met.

func (PartialCaveatInfoValidationError) Cause added in v1.16.0

Cause function returns cause value.

func (PartialCaveatInfoValidationError) Error added in v1.16.0

Error satisfies the builtin error interface

func (PartialCaveatInfoValidationError) ErrorName added in v1.16.0

ErrorName returns error name.

func (PartialCaveatInfoValidationError) Field added in v1.16.0

Field function returns field value.

func (PartialCaveatInfoValidationError) Key added in v1.16.0

Key function returns key value.

func (PartialCaveatInfoValidationError) Reason added in v1.16.0

Reason function returns reason value.

type RequestContext

type RequestContext struct {

	// schema is the schema on which to run the developer request.
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// relationships are the test data relationships for the developer request.
	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) CloneMessageVT added in v1.22.0

func (m *RequestContext) CloneMessageVT() proto.Message

func (*RequestContext) CloneVT added in v1.13.0

func (m *RequestContext) CloneVT() *RequestContext

func (*RequestContext) Descriptor deprecated

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

Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.

func (*RequestContext) EqualMessageVT added in v1.22.0

func (this *RequestContext) EqualMessageVT(thatMsg proto.Message) bool

func (*RequestContext) EqualVT added in v1.15.0

func (this *RequestContext) EqualVT(that *RequestContext) bool

func (*RequestContext) GetRelationships

func (x *RequestContext) GetRelationships() []*v1.RelationTuple

func (*RequestContext) GetSchema

func (x *RequestContext) GetSchema() string

func (*RequestContext) MarshalToSizedBufferVT added in v1.13.0

func (m *RequestContext) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RequestContext) MarshalToVT added in v1.13.0

func (m *RequestContext) MarshalToVT(dAtA []byte) (int, error)

func (*RequestContext) MarshalVT added in v1.13.0

func (m *RequestContext) MarshalVT() (dAtA []byte, err error)

func (*RequestContext) ProtoMessage

func (*RequestContext) ProtoMessage()

func (*RequestContext) ProtoReflect

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

func (*RequestContext) Reset

func (x *RequestContext) Reset()

func (*RequestContext) SizeVT added in v1.13.0

func (m *RequestContext) SizeVT() (n int)

func (*RequestContext) String

func (x *RequestContext) String() string

func (*RequestContext) UnmarshalVT added in v1.13.0

func (m *RequestContext) UnmarshalVT(dAtA []byte) error

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

Cause function returns cause value.

func (RequestContextValidationError) Error

Error satisfies the builtin error interface

func (RequestContextValidationError) ErrorName

func (e RequestContextValidationError) ErrorName() string

ErrorName returns error name.

func (RequestContextValidationError) Field

Field function returns field value.

func (RequestContextValidationError) Key

Key function returns key value.

func (RequestContextValidationError) Reason

Reason function returns reason value.

type RunAssertionsParameters added in v1.10.0

type RunAssertionsParameters struct {

	// assertions_yaml are the assertions, in YAML form, to be run.
	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) CloneMessageVT added in v1.22.0

func (m *RunAssertionsParameters) CloneMessageVT() proto.Message

func (*RunAssertionsParameters) CloneVT added in v1.13.0

func (*RunAssertionsParameters) Descriptor deprecated added in v1.10.0

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

Deprecated: Use RunAssertionsParameters.ProtoReflect.Descriptor instead.

func (*RunAssertionsParameters) EqualMessageVT added in v1.22.0

func (this *RunAssertionsParameters) EqualMessageVT(thatMsg proto.Message) bool

func (*RunAssertionsParameters) EqualVT added in v1.15.0

func (*RunAssertionsParameters) GetAssertionsYaml added in v1.10.0

func (x *RunAssertionsParameters) GetAssertionsYaml() string

func (*RunAssertionsParameters) MarshalToSizedBufferVT added in v1.13.0

func (m *RunAssertionsParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RunAssertionsParameters) MarshalToVT added in v1.13.0

func (m *RunAssertionsParameters) MarshalToVT(dAtA []byte) (int, error)

func (*RunAssertionsParameters) MarshalVT added in v1.13.0

func (m *RunAssertionsParameters) MarshalVT() (dAtA []byte, err error)

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) SizeVT added in v1.13.0

func (m *RunAssertionsParameters) SizeVT() (n int)

func (*RunAssertionsParameters) String added in v1.10.0

func (x *RunAssertionsParameters) String() string

func (*RunAssertionsParameters) UnmarshalVT added in v1.13.0

func (m *RunAssertionsParameters) UnmarshalVT(dAtA []byte) error

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

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

Cause function returns cause value.

func (RunAssertionsParametersValidationError) Error added in v1.10.0

Error satisfies the builtin error interface

func (RunAssertionsParametersValidationError) ErrorName added in v1.10.0

ErrorName returns error name.

func (RunAssertionsParametersValidationError) Field added in v1.10.0

Field function returns field value.

func (RunAssertionsParametersValidationError) Key added in v1.10.0

Key function returns key value.

func (RunAssertionsParametersValidationError) Reason added in v1.10.0

Reason function returns reason value.

type RunAssertionsResult added in v1.13.0

type RunAssertionsResult struct {

	// input_error is an error in the given YAML.
	InputError *DeveloperError `protobuf:"bytes,1,opt,name=input_error,json=inputError,proto3" json:"input_error,omitempty"`
	// validation_errors are the validation errors which occurred, if any.
	ValidationErrors []*DeveloperError `protobuf:"bytes,2,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	// contains filtered or unexported fields
}

RunAssertionsResult is the result for a `runAssertions` operation.

func (*RunAssertionsResult) CloneMessageVT added in v1.22.0

func (m *RunAssertionsResult) CloneMessageVT() proto.Message

func (*RunAssertionsResult) CloneVT added in v1.13.0

func (*RunAssertionsResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use RunAssertionsResult.ProtoReflect.Descriptor instead.

func (*RunAssertionsResult) EqualMessageVT added in v1.22.0

func (this *RunAssertionsResult) EqualMessageVT(thatMsg proto.Message) bool

func (*RunAssertionsResult) EqualVT added in v1.15.0

func (this *RunAssertionsResult) EqualVT(that *RunAssertionsResult) bool

func (*RunAssertionsResult) GetInputError added in v1.13.0

func (x *RunAssertionsResult) GetInputError() *DeveloperError

func (*RunAssertionsResult) GetValidationErrors added in v1.13.0

func (x *RunAssertionsResult) GetValidationErrors() []*DeveloperError

func (*RunAssertionsResult) MarshalToSizedBufferVT added in v1.13.0

func (m *RunAssertionsResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RunAssertionsResult) MarshalToVT added in v1.13.0

func (m *RunAssertionsResult) MarshalToVT(dAtA []byte) (int, error)

func (*RunAssertionsResult) MarshalVT added in v1.13.0

func (m *RunAssertionsResult) MarshalVT() (dAtA []byte, err error)

func (*RunAssertionsResult) ProtoMessage added in v1.13.0

func (*RunAssertionsResult) ProtoMessage()

func (*RunAssertionsResult) ProtoReflect added in v1.13.0

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

func (*RunAssertionsResult) Reset added in v1.13.0

func (x *RunAssertionsResult) Reset()

func (*RunAssertionsResult) SizeVT added in v1.13.0

func (m *RunAssertionsResult) SizeVT() (n int)

func (*RunAssertionsResult) String added in v1.13.0

func (x *RunAssertionsResult) String() string

func (*RunAssertionsResult) UnmarshalVT added in v1.13.0

func (m *RunAssertionsResult) UnmarshalVT(dAtA []byte) error

func (*RunAssertionsResult) Validate added in v1.13.0

func (m *RunAssertionsResult) Validate() error

Validate checks the field values on RunAssertionsResult 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 (*RunAssertionsResult) ValidateAll added in v1.13.0

func (m *RunAssertionsResult) ValidateAll() error

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

type RunAssertionsResultMultiError added in v1.13.0

type RunAssertionsResultMultiError []error

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

func (RunAssertionsResultMultiError) AllErrors added in v1.13.0

func (m RunAssertionsResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunAssertionsResultMultiError) Error added in v1.13.0

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

type RunAssertionsResultValidationError added in v1.13.0

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

RunAssertionsResultValidationError is the validation error returned by RunAssertionsResult.Validate if the designated constraints aren't met.

func (RunAssertionsResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (RunAssertionsResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (RunAssertionsResultValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (RunAssertionsResultValidationError) Field added in v1.13.0

Field function returns field value.

func (RunAssertionsResultValidationError) Key added in v1.13.0

Key function returns key value.

func (RunAssertionsResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

type RunValidationParameters added in v1.10.0

type RunValidationParameters struct {

	// validation_yaml is the expected relations validation, in YAML form, to be run.
	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) CloneMessageVT added in v1.22.0

func (m *RunValidationParameters) CloneMessageVT() proto.Message

func (*RunValidationParameters) CloneVT added in v1.13.0

func (*RunValidationParameters) Descriptor deprecated added in v1.10.0

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

Deprecated: Use RunValidationParameters.ProtoReflect.Descriptor instead.

func (*RunValidationParameters) EqualMessageVT added in v1.22.0

func (this *RunValidationParameters) EqualMessageVT(thatMsg proto.Message) bool

func (*RunValidationParameters) EqualVT added in v1.15.0

func (*RunValidationParameters) GetValidationYaml added in v1.10.0

func (x *RunValidationParameters) GetValidationYaml() string

func (*RunValidationParameters) MarshalToSizedBufferVT added in v1.13.0

func (m *RunValidationParameters) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RunValidationParameters) MarshalToVT added in v1.13.0

func (m *RunValidationParameters) MarshalToVT(dAtA []byte) (int, error)

func (*RunValidationParameters) MarshalVT added in v1.13.0

func (m *RunValidationParameters) MarshalVT() (dAtA []byte, err error)

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) SizeVT added in v1.13.0

func (m *RunValidationParameters) SizeVT() (n int)

func (*RunValidationParameters) String added in v1.10.0

func (x *RunValidationParameters) String() string

func (*RunValidationParameters) UnmarshalVT added in v1.13.0

func (m *RunValidationParameters) UnmarshalVT(dAtA []byte) error

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

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

Cause function returns cause value.

func (RunValidationParametersValidationError) Error added in v1.10.0

Error satisfies the builtin error interface

func (RunValidationParametersValidationError) ErrorName added in v1.10.0

ErrorName returns error name.

func (RunValidationParametersValidationError) Field added in v1.10.0

Field function returns field value.

func (RunValidationParametersValidationError) Key added in v1.10.0

Key function returns key value.

func (RunValidationParametersValidationError) Reason added in v1.10.0

Reason function returns reason value.

type RunValidationResult added in v1.13.0

type RunValidationResult struct {

	// input_error is an error in the given YAML.
	InputError *DeveloperError `protobuf:"bytes,1,opt,name=input_error,json=inputError,proto3" json:"input_error,omitempty"`
	// updated_validation_yaml contains the generated and updated validation YAML for the expected
	// relations tab.
	UpdatedValidationYaml string `` /* 126-byte string literal not displayed */
	// validation_errors are the validation errors which occurred, if any.
	ValidationErrors []*DeveloperError `protobuf:"bytes,3,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	// contains filtered or unexported fields
}

RunValidationResult is the result for a `runValidation` operation.

func (*RunValidationResult) CloneMessageVT added in v1.22.0

func (m *RunValidationResult) CloneMessageVT() proto.Message

func (*RunValidationResult) CloneVT added in v1.13.0

func (*RunValidationResult) Descriptor deprecated added in v1.13.0

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

Deprecated: Use RunValidationResult.ProtoReflect.Descriptor instead.

func (*RunValidationResult) EqualMessageVT added in v1.22.0

func (this *RunValidationResult) EqualMessageVT(thatMsg proto.Message) bool

func (*RunValidationResult) EqualVT added in v1.15.0

func (this *RunValidationResult) EqualVT(that *RunValidationResult) bool

func (*RunValidationResult) GetInputError added in v1.13.0

func (x *RunValidationResult) GetInputError() *DeveloperError

func (*RunValidationResult) GetUpdatedValidationYaml added in v1.13.0

func (x *RunValidationResult) GetUpdatedValidationYaml() string

func (*RunValidationResult) GetValidationErrors added in v1.13.0

func (x *RunValidationResult) GetValidationErrors() []*DeveloperError

func (*RunValidationResult) MarshalToSizedBufferVT added in v1.13.0

func (m *RunValidationResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RunValidationResult) MarshalToVT added in v1.13.0

func (m *RunValidationResult) MarshalToVT(dAtA []byte) (int, error)

func (*RunValidationResult) MarshalVT added in v1.13.0

func (m *RunValidationResult) MarshalVT() (dAtA []byte, err error)

func (*RunValidationResult) ProtoMessage added in v1.13.0

func (*RunValidationResult) ProtoMessage()

func (*RunValidationResult) ProtoReflect added in v1.13.0

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

func (*RunValidationResult) Reset added in v1.13.0

func (x *RunValidationResult) Reset()

func (*RunValidationResult) SizeVT added in v1.13.0

func (m *RunValidationResult) SizeVT() (n int)

func (*RunValidationResult) String added in v1.13.0

func (x *RunValidationResult) String() string

func (*RunValidationResult) UnmarshalVT added in v1.13.0

func (m *RunValidationResult) UnmarshalVT(dAtA []byte) error

func (*RunValidationResult) Validate added in v1.13.0

func (m *RunValidationResult) Validate() error

Validate checks the field values on RunValidationResult 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 (*RunValidationResult) ValidateAll added in v1.13.0

func (m *RunValidationResult) ValidateAll() error

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

type RunValidationResultMultiError added in v1.13.0

type RunValidationResultMultiError []error

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

func (RunValidationResultMultiError) AllErrors added in v1.13.0

func (m RunValidationResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunValidationResultMultiError) Error added in v1.13.0

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

type RunValidationResultValidationError added in v1.13.0

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

RunValidationResultValidationError is the validation error returned by RunValidationResult.Validate if the designated constraints aren't met.

func (RunValidationResultValidationError) Cause added in v1.13.0

Cause function returns cause value.

func (RunValidationResultValidationError) Error added in v1.13.0

Error satisfies the builtin error interface

func (RunValidationResultValidationError) ErrorName added in v1.13.0

ErrorName returns error name.

func (RunValidationResultValidationError) Field added in v1.13.0

Field function returns field value.

func (RunValidationResultValidationError) Key added in v1.13.0

Key function returns key value.

func (RunValidationResultValidationError) Reason added in v1.13.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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