developerv1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

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

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

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

func (*CheckOperationParameters) CloneVT

func (*CheckOperationParameters) Descriptor deprecated

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

Deprecated: Use CheckOperationParameters.ProtoReflect.Descriptor instead.

func (*CheckOperationParameters) EqualMessageVT

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

func (*CheckOperationParameters) EqualVT

func (*CheckOperationParameters) GetCaveatContext

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

func (*CheckOperationParameters) GetResource

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

func (*CheckOperationParameters) GetSubject

func (*CheckOperationParameters) MarshalToSizedBufferVT

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

func (*CheckOperationParameters) MarshalToVT

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

func (*CheckOperationParameters) MarshalVT

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

func (*CheckOperationParameters) ProtoMessage

func (*CheckOperationParameters) ProtoMessage()

func (*CheckOperationParameters) ProtoReflect

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

func (*CheckOperationParameters) Reset

func (x *CheckOperationParameters) Reset()

func (*CheckOperationParameters) SizeVT

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

func (*CheckOperationParameters) String

func (x *CheckOperationParameters) String() string

func (*CheckOperationParameters) UnmarshalVT

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

func (*CheckOperationParameters) Validate

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

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

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

func (m CheckOperationParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckOperationParametersMultiError) Error

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

type CheckOperationParametersValidationError

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

Cause function returns cause value.

func (CheckOperationParametersValidationError) Error

Error satisfies the builtin error interface

func (CheckOperationParametersValidationError) ErrorName

ErrorName returns error name.

func (CheckOperationParametersValidationError) Field

Field function returns field value.

func (CheckOperationParametersValidationError) Key

Key function returns key value.

func (CheckOperationParametersValidationError) Reason

Reason function returns reason value.

type CheckOperationsResult

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

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

func (*CheckOperationsResult) CloneVT

func (*CheckOperationsResult) Descriptor deprecated

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

Deprecated: Use CheckOperationsResult.ProtoReflect.Descriptor instead.

func (*CheckOperationsResult) EqualMessageVT

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

func (*CheckOperationsResult) EqualVT

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

func (*CheckOperationsResult) GetCheckError

func (x *CheckOperationsResult) GetCheckError() *DeveloperError

func (*CheckOperationsResult) GetDebugInformation

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

func (*CheckOperationsResult) GetMembership

func (*CheckOperationsResult) GetPartialCaveatInfo

func (x *CheckOperationsResult) GetPartialCaveatInfo() *PartialCaveatInfo

func (*CheckOperationsResult) GetResolvedDebugInformation

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

func (*CheckOperationsResult) MarshalToSizedBufferVT

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

func (*CheckOperationsResult) MarshalToVT

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

func (*CheckOperationsResult) MarshalVT

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

func (*CheckOperationsResult) ProtoMessage

func (*CheckOperationsResult) ProtoMessage()

func (*CheckOperationsResult) ProtoReflect

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

func (*CheckOperationsResult) Reset

func (x *CheckOperationsResult) Reset()

func (*CheckOperationsResult) SizeVT

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

func (*CheckOperationsResult) String

func (x *CheckOperationsResult) String() string

func (*CheckOperationsResult) UnmarshalVT

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

func (*CheckOperationsResult) Validate

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

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

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

func (m CheckOperationsResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckOperationsResultMultiError) Error

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

type CheckOperationsResultValidationError

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

Cause function returns cause value.

func (CheckOperationsResultValidationError) Error

Error satisfies the builtin error interface

func (CheckOperationsResultValidationError) ErrorName

ErrorName returns error name.

func (CheckOperationsResultValidationError) Field

Field function returns field value.

func (CheckOperationsResultValidationError) Key

Key function returns key value.

func (CheckOperationsResultValidationError) Reason

Reason function returns reason value.

type CheckOperationsResult_Membership

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

func (CheckOperationsResult_Membership) Enum

func (CheckOperationsResult_Membership) EnumDescriptor deprecated

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

Deprecated: Use CheckOperationsResult_Membership.Descriptor instead.

func (CheckOperationsResult_Membership) Number

func (CheckOperationsResult_Membership) String

func (CheckOperationsResult_Membership) Type

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

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

func (*DeveloperError) CloneVT

func (m *DeveloperError) CloneVT() *DeveloperError

func (*DeveloperError) Descriptor deprecated

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

Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.

func (*DeveloperError) EqualMessageVT

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

func (*DeveloperError) EqualVT

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

func (*DeveloperError) GetCheckDebugInformation

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

func (*DeveloperError) GetCheckResolvedDebugInformation

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

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

func (*DeveloperError) MarshalToVT

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

func (*DeveloperError) MarshalVT

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

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

func (*DeveloperError) String

func (x *DeveloperError) String() string

func (*DeveloperError) UnmarshalVT

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

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

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

func (*DeveloperErrors) CloneVT

func (m *DeveloperErrors) CloneVT() *DeveloperErrors

func (*DeveloperErrors) Descriptor deprecated

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

Deprecated: Use DeveloperErrors.ProtoReflect.Descriptor instead.

func (*DeveloperErrors) EqualMessageVT

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

func (*DeveloperErrors) EqualVT

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

func (*DeveloperErrors) GetInputErrors

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

func (*DeveloperErrors) MarshalToSizedBufferVT

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

func (*DeveloperErrors) MarshalToVT

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

func (*DeveloperErrors) MarshalVT

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

func (*DeveloperErrors) ProtoMessage

func (*DeveloperErrors) ProtoMessage()

func (*DeveloperErrors) ProtoReflect

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

func (*DeveloperErrors) Reset

func (x *DeveloperErrors) Reset()

func (*DeveloperErrors) SizeVT

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

func (*DeveloperErrors) String

func (x *DeveloperErrors) String() string

func (*DeveloperErrors) UnmarshalVT

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

func (*DeveloperErrors) Validate

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

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

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

func (m DeveloperErrorsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperErrorsMultiError) Error

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

type DeveloperErrorsValidationError

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

Cause function returns cause value.

func (DeveloperErrorsValidationError) Error

Error satisfies the builtin error interface

func (DeveloperErrorsValidationError) ErrorName

func (e DeveloperErrorsValidationError) ErrorName() string

ErrorName returns error name.

func (DeveloperErrorsValidationError) Field

Field function returns field value.

func (DeveloperErrorsValidationError) Key

Key function returns key value.

func (DeveloperErrorsValidationError) Reason

Reason function returns reason value.

type DeveloperRequest

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

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

func (*DeveloperRequest) CloneVT

func (m *DeveloperRequest) CloneVT() *DeveloperRequest

func (*DeveloperRequest) Descriptor deprecated

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

Deprecated: Use DeveloperRequest.ProtoReflect.Descriptor instead.

func (*DeveloperRequest) EqualMessageVT

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

func (*DeveloperRequest) EqualVT

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

func (*DeveloperRequest) GetContext

func (x *DeveloperRequest) GetContext() *RequestContext

func (*DeveloperRequest) GetOperations

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

func (*DeveloperRequest) MarshalToSizedBufferVT

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

func (*DeveloperRequest) MarshalToVT

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

func (*DeveloperRequest) MarshalVT

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

func (*DeveloperRequest) ProtoMessage

func (*DeveloperRequest) ProtoMessage()

func (*DeveloperRequest) ProtoReflect

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

func (*DeveloperRequest) Reset

func (x *DeveloperRequest) Reset()

func (*DeveloperRequest) SizeVT

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

func (*DeveloperRequest) String

func (x *DeveloperRequest) String() string

func (*DeveloperRequest) UnmarshalVT

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

func (*DeveloperRequest) Validate

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

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

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

func (m DeveloperRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperRequestMultiError) Error

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

type DeveloperRequestValidationError

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

Cause function returns cause value.

func (DeveloperRequestValidationError) Error

Error satisfies the builtin error interface

func (DeveloperRequestValidationError) ErrorName

ErrorName returns error name.

func (DeveloperRequestValidationError) Field

Field function returns field value.

func (DeveloperRequestValidationError) Key

Key function returns key value.

func (DeveloperRequestValidationError) Reason

Reason function returns reason value.

type DeveloperResponse

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

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

func (*DeveloperResponse) CloneVT

func (m *DeveloperResponse) CloneVT() *DeveloperResponse

func (*DeveloperResponse) Descriptor deprecated

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

Deprecated: Use DeveloperResponse.ProtoReflect.Descriptor instead.

func (*DeveloperResponse) EqualMessageVT

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

func (*DeveloperResponse) EqualVT

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

func (*DeveloperResponse) GetDeveloperErrors

func (x *DeveloperResponse) GetDeveloperErrors() *DeveloperErrors

func (*DeveloperResponse) GetInternalError

func (x *DeveloperResponse) GetInternalError() string

func (*DeveloperResponse) GetOperationsResults

func (x *DeveloperResponse) GetOperationsResults() *OperationsResults

func (*DeveloperResponse) MarshalToSizedBufferVT

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

func (*DeveloperResponse) MarshalToVT

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

func (*DeveloperResponse) MarshalVT

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

func (*DeveloperResponse) ProtoMessage

func (*DeveloperResponse) ProtoMessage()

func (*DeveloperResponse) ProtoReflect

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

func (*DeveloperResponse) Reset

func (x *DeveloperResponse) Reset()

func (*DeveloperResponse) SizeVT

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

func (*DeveloperResponse) String

func (x *DeveloperResponse) String() string

func (*DeveloperResponse) UnmarshalVT

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

func (*DeveloperResponse) Validate

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

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

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

func (m DeveloperResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperResponseMultiError) Error

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

type DeveloperResponseValidationError

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

Cause function returns cause value.

func (DeveloperResponseValidationError) Error

Error satisfies the builtin error interface

func (DeveloperResponseValidationError) ErrorName

ErrorName returns error name.

func (DeveloperResponseValidationError) Field

Field function returns field value.

func (DeveloperResponseValidationError) Key

Key function returns key value.

func (DeveloperResponseValidationError) Reason

Reason function returns reason value.

type DeveloperWarning

type DeveloperWarning struct {

	// message is the message for the developer warning.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// line is the 1-indexed line for the developer warning.
	Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	// column is the 1-indexed column on the line for the developer warning.
	Column uint32 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
	// source_code is the source code for the developer warning, if any.
	SourceCode string `protobuf:"bytes,4,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
	// contains filtered or unexported fields
}

DeveloperWarning represents a single warning raised by the development package.

func (*DeveloperWarning) CloneMessageVT

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

func (*DeveloperWarning) CloneVT

func (m *DeveloperWarning) CloneVT() *DeveloperWarning

func (*DeveloperWarning) Descriptor deprecated

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

Deprecated: Use DeveloperWarning.ProtoReflect.Descriptor instead.

func (*DeveloperWarning) EqualMessageVT

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

func (*DeveloperWarning) EqualVT

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

func (*DeveloperWarning) GetColumn

func (x *DeveloperWarning) GetColumn() uint32

func (*DeveloperWarning) GetLine

func (x *DeveloperWarning) GetLine() uint32

func (*DeveloperWarning) GetMessage

func (x *DeveloperWarning) GetMessage() string

func (*DeveloperWarning) GetSourceCode added in v0.0.3

func (x *DeveloperWarning) GetSourceCode() string

func (*DeveloperWarning) MarshalToSizedBufferVT

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

func (*DeveloperWarning) MarshalToVT

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

func (*DeveloperWarning) MarshalVT

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

func (*DeveloperWarning) ProtoMessage

func (*DeveloperWarning) ProtoMessage()

func (*DeveloperWarning) ProtoReflect

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

func (*DeveloperWarning) Reset

func (x *DeveloperWarning) Reset()

func (*DeveloperWarning) SizeVT

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

func (*DeveloperWarning) String

func (x *DeveloperWarning) String() string

func (*DeveloperWarning) UnmarshalVT

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

func (*DeveloperWarning) Validate

func (m *DeveloperWarning) Validate() error

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

func (m *DeveloperWarning) ValidateAll() error

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

type DeveloperWarningMultiError

type DeveloperWarningMultiError []error

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

func (DeveloperWarningMultiError) AllErrors

func (m DeveloperWarningMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperWarningMultiError) Error

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

type DeveloperWarningValidationError

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

DeveloperWarningValidationError is the validation error returned by DeveloperWarning.Validate if the designated constraints aren't met.

func (DeveloperWarningValidationError) Cause

Cause function returns cause value.

func (DeveloperWarningValidationError) Error

Error satisfies the builtin error interface

func (DeveloperWarningValidationError) ErrorName

ErrorName returns error name.

func (DeveloperWarningValidationError) Field

Field function returns field value.

func (DeveloperWarningValidationError) Key

Key function returns key value.

func (DeveloperWarningValidationError) Reason

Reason function returns reason value.

type FormatSchemaParameters

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

FormatSchemaParameters are the parameters for a `formatSchema` operation.

func (*FormatSchemaParameters) CloneMessageVT

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

func (*FormatSchemaParameters) CloneVT

func (*FormatSchemaParameters) Descriptor deprecated

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

Deprecated: Use FormatSchemaParameters.ProtoReflect.Descriptor instead.

func (*FormatSchemaParameters) EqualMessageVT

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

func (*FormatSchemaParameters) EqualVT

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

func (*FormatSchemaParameters) MarshalToSizedBufferVT

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

func (*FormatSchemaParameters) MarshalToVT

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

func (*FormatSchemaParameters) MarshalVT

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

func (*FormatSchemaParameters) ProtoMessage

func (*FormatSchemaParameters) ProtoMessage()

func (*FormatSchemaParameters) ProtoReflect

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

func (*FormatSchemaParameters) Reset

func (x *FormatSchemaParameters) Reset()

func (*FormatSchemaParameters) SizeVT

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

func (*FormatSchemaParameters) String

func (x *FormatSchemaParameters) String() string

func (*FormatSchemaParameters) UnmarshalVT

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

func (*FormatSchemaParameters) Validate

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

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

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

func (m FormatSchemaParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaParametersMultiError) Error

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

type FormatSchemaParametersValidationError

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

Cause function returns cause value.

func (FormatSchemaParametersValidationError) Error

Error satisfies the builtin error interface

func (FormatSchemaParametersValidationError) ErrorName

ErrorName returns error name.

func (FormatSchemaParametersValidationError) Field

Field function returns field value.

func (FormatSchemaParametersValidationError) Key

Key function returns key value.

func (FormatSchemaParametersValidationError) Reason

Reason function returns reason value.

type FormatSchemaResult

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

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

func (*FormatSchemaResult) CloneVT

func (m *FormatSchemaResult) CloneVT() *FormatSchemaResult

func (*FormatSchemaResult) Descriptor deprecated

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

Deprecated: Use FormatSchemaResult.ProtoReflect.Descriptor instead.

func (*FormatSchemaResult) EqualMessageVT

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

func (*FormatSchemaResult) EqualVT

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

func (*FormatSchemaResult) GetFormattedSchema

func (x *FormatSchemaResult) GetFormattedSchema() string

func (*FormatSchemaResult) MarshalToSizedBufferVT

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

func (*FormatSchemaResult) MarshalToVT

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

func (*FormatSchemaResult) MarshalVT

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

func (*FormatSchemaResult) ProtoMessage

func (*FormatSchemaResult) ProtoMessage()

func (*FormatSchemaResult) ProtoReflect

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

func (*FormatSchemaResult) Reset

func (x *FormatSchemaResult) Reset()

func (*FormatSchemaResult) SizeVT

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

func (*FormatSchemaResult) String

func (x *FormatSchemaResult) String() string

func (*FormatSchemaResult) UnmarshalVT

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

func (*FormatSchemaResult) Validate

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

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

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

func (m FormatSchemaResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaResultMultiError) Error

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

type FormatSchemaResultValidationError

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

Cause function returns cause value.

func (FormatSchemaResultValidationError) Error

Error satisfies the builtin error interface

func (FormatSchemaResultValidationError) ErrorName

ErrorName returns error name.

func (FormatSchemaResultValidationError) Field

Field function returns field value.

func (FormatSchemaResultValidationError) Key

Key function returns key value.

func (FormatSchemaResultValidationError) Reason

Reason function returns reason value.

type Operation

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 */
	SchemaWarningsParameters *SchemaWarningsParameters `` /* 135-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

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

func (*Operation) CloneVT

func (m *Operation) CloneVT() *Operation

func (*Operation) Descriptor deprecated

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) EqualMessageVT

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

func (*Operation) EqualVT

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

func (*Operation) GetAssertionsParameters

func (x *Operation) GetAssertionsParameters() *RunAssertionsParameters

func (*Operation) GetCheckParameters

func (x *Operation) GetCheckParameters() *CheckOperationParameters

func (*Operation) GetFormatSchemaParameters

func (x *Operation) GetFormatSchemaParameters() *FormatSchemaParameters

func (*Operation) GetSchemaWarningsParameters added in v0.0.3

func (x *Operation) GetSchemaWarningsParameters() *SchemaWarningsParameters

func (*Operation) GetValidationParameters

func (x *Operation) GetValidationParameters() *RunValidationParameters

func (*Operation) MarshalToSizedBufferVT

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

func (*Operation) MarshalToVT

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

func (*Operation) MarshalVT

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

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

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

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) SizeVT

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

func (*Operation) String

func (x *Operation) String() string

func (*Operation) UnmarshalVT

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

func (*Operation) Validate

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

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

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

func (m OperationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationMultiError) Error

func (m OperationMultiError) Error() string

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

type OperationResult

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"`
	SchemaWarningsResult *SchemaWarningsResult  `protobuf:"bytes,5,opt,name=schema_warnings_result,json=schemaWarningsResult,proto3" json:"schema_warnings_result,omitempty"`
	// contains filtered or unexported fields
}

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

func (*OperationResult) CloneMessageVT

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

func (*OperationResult) CloneVT

func (m *OperationResult) CloneVT() *OperationResult

func (*OperationResult) Descriptor deprecated

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

Deprecated: Use OperationResult.ProtoReflect.Descriptor instead.

func (*OperationResult) EqualMessageVT

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

func (*OperationResult) EqualVT

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

func (*OperationResult) GetAssertionsResult

func (x *OperationResult) GetAssertionsResult() *RunAssertionsResult

func (*OperationResult) GetCheckResult

func (x *OperationResult) GetCheckResult() *CheckOperationsResult

func (*OperationResult) GetFormatSchemaResult

func (x *OperationResult) GetFormatSchemaResult() *FormatSchemaResult

func (*OperationResult) GetSchemaWarningsResult added in v0.0.3

func (x *OperationResult) GetSchemaWarningsResult() *SchemaWarningsResult

func (*OperationResult) GetValidationResult

func (x *OperationResult) GetValidationResult() *RunValidationResult

func (*OperationResult) MarshalToSizedBufferVT

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

func (*OperationResult) MarshalToVT

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

func (*OperationResult) MarshalVT

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

func (*OperationResult) ProtoMessage

func (*OperationResult) ProtoMessage()

func (*OperationResult) ProtoReflect

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

func (*OperationResult) Reset

func (x *OperationResult) Reset()

func (*OperationResult) SizeVT

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

func (*OperationResult) String

func (x *OperationResult) String() string

func (*OperationResult) UnmarshalVT

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

func (*OperationResult) Validate

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

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

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

func (m OperationResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationResultMultiError) Error

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

type OperationResultValidationError

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

Cause function returns cause value.

func (OperationResultValidationError) Error

Error satisfies the builtin error interface

func (OperationResultValidationError) ErrorName

func (e OperationResultValidationError) ErrorName() string

ErrorName returns error name.

func (OperationResultValidationError) Field

Field function returns field value.

func (OperationResultValidationError) Key

Key function returns key value.

func (OperationResultValidationError) Reason

Reason function returns reason value.

type OperationValidationError

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

func (e OperationValidationError) Cause() error

Cause function returns cause value.

func (OperationValidationError) Error

func (e OperationValidationError) Error() string

Error satisfies the builtin error interface

func (OperationValidationError) ErrorName

func (e OperationValidationError) ErrorName() string

ErrorName returns error name.

func (OperationValidationError) Field

func (e OperationValidationError) Field() string

Field function returns field value.

func (OperationValidationError) Key

Key function returns key value.

func (OperationValidationError) Reason

func (e OperationValidationError) Reason() string

Reason function returns reason value.

type OperationsResults

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

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

func (*OperationsResults) CloneVT

func (m *OperationsResults) CloneVT() *OperationsResults

func (*OperationsResults) Descriptor deprecated

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

Deprecated: Use OperationsResults.ProtoReflect.Descriptor instead.

func (*OperationsResults) EqualMessageVT

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

func (*OperationsResults) EqualVT

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

func (*OperationsResults) GetResults

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

func (*OperationsResults) MarshalToSizedBufferVT

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

func (*OperationsResults) MarshalToVT

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

func (*OperationsResults) MarshalVT

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

func (*OperationsResults) ProtoMessage

func (*OperationsResults) ProtoMessage()

func (*OperationsResults) ProtoReflect

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

func (*OperationsResults) Reset

func (x *OperationsResults) Reset()

func (*OperationsResults) SizeVT

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

func (*OperationsResults) String

func (x *OperationsResults) String() string

func (*OperationsResults) UnmarshalVT

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

func (*OperationsResults) Validate

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

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

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

func (m OperationsResultsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OperationsResultsMultiError) Error

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

type OperationsResultsValidationError

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

Cause function returns cause value.

func (OperationsResultsValidationError) Error

Error satisfies the builtin error interface

func (OperationsResultsValidationError) ErrorName

ErrorName returns error name.

func (OperationsResultsValidationError) Field

Field function returns field value.

func (OperationsResultsValidationError) Key

Key function returns key value.

func (OperationsResultsValidationError) Reason

Reason function returns reason value.

type PartialCaveatInfo

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

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

func (*PartialCaveatInfo) CloneVT

func (m *PartialCaveatInfo) CloneVT() *PartialCaveatInfo

func (*PartialCaveatInfo) Descriptor deprecated

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

Deprecated: Use PartialCaveatInfo.ProtoReflect.Descriptor instead.

func (*PartialCaveatInfo) EqualMessageVT

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

func (*PartialCaveatInfo) EqualVT

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

func (*PartialCaveatInfo) GetMissingRequiredContext

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

func (*PartialCaveatInfo) MarshalToSizedBufferVT

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

func (*PartialCaveatInfo) MarshalToVT

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

func (*PartialCaveatInfo) MarshalVT

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

func (*PartialCaveatInfo) ProtoMessage

func (*PartialCaveatInfo) ProtoMessage()

func (*PartialCaveatInfo) ProtoReflect

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

func (*PartialCaveatInfo) Reset

func (x *PartialCaveatInfo) Reset()

func (*PartialCaveatInfo) SizeVT

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

func (*PartialCaveatInfo) String

func (x *PartialCaveatInfo) String() string

func (*PartialCaveatInfo) UnmarshalVT

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

func (*PartialCaveatInfo) Validate

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

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

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

func (m PartialCaveatInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartialCaveatInfoMultiError) Error

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

type PartialCaveatInfoValidationError

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

Cause function returns cause value.

func (PartialCaveatInfoValidationError) Error

Error satisfies the builtin error interface

func (PartialCaveatInfoValidationError) ErrorName

ErrorName returns error name.

func (PartialCaveatInfoValidationError) Field

Field function returns field value.

func (PartialCaveatInfoValidationError) Key

Key function returns key value.

func (PartialCaveatInfoValidationError) Reason

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

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

func (*RequestContext) CloneVT

func (m *RequestContext) CloneVT() *RequestContext

func (*RequestContext) Descriptor deprecated

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

Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.

func (*RequestContext) EqualMessageVT

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

func (*RequestContext) EqualVT

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

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

func (*RequestContext) MarshalToVT

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

func (*RequestContext) MarshalVT

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

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

func (*RequestContext) String

func (x *RequestContext) String() string

func (*RequestContext) UnmarshalVT

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

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

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

func (*RunAssertionsParameters) CloneVT

func (*RunAssertionsParameters) Descriptor deprecated

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

Deprecated: Use RunAssertionsParameters.ProtoReflect.Descriptor instead.

func (*RunAssertionsParameters) EqualMessageVT

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

func (*RunAssertionsParameters) EqualVT

func (*RunAssertionsParameters) GetAssertionsYaml

func (x *RunAssertionsParameters) GetAssertionsYaml() string

func (*RunAssertionsParameters) MarshalToSizedBufferVT

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

func (*RunAssertionsParameters) MarshalToVT

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

func (*RunAssertionsParameters) MarshalVT

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

func (*RunAssertionsParameters) ProtoMessage

func (*RunAssertionsParameters) ProtoMessage()

func (*RunAssertionsParameters) ProtoReflect

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

func (*RunAssertionsParameters) Reset

func (x *RunAssertionsParameters) Reset()

func (*RunAssertionsParameters) SizeVT

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

func (*RunAssertionsParameters) String

func (x *RunAssertionsParameters) String() string

func (*RunAssertionsParameters) UnmarshalVT

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

func (*RunAssertionsParameters) Validate

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

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

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

func (m RunAssertionsParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunAssertionsParametersMultiError) Error

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

type RunAssertionsParametersValidationError

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

Cause function returns cause value.

func (RunAssertionsParametersValidationError) Error

Error satisfies the builtin error interface

func (RunAssertionsParametersValidationError) ErrorName

ErrorName returns error name.

func (RunAssertionsParametersValidationError) Field

Field function returns field value.

func (RunAssertionsParametersValidationError) Key

Key function returns key value.

func (RunAssertionsParametersValidationError) Reason

Reason function returns reason value.

type RunAssertionsResult

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

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

func (*RunAssertionsResult) CloneVT

func (*RunAssertionsResult) Descriptor deprecated

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

Deprecated: Use RunAssertionsResult.ProtoReflect.Descriptor instead.

func (*RunAssertionsResult) EqualMessageVT

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

func (*RunAssertionsResult) EqualVT

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

func (*RunAssertionsResult) GetInputError

func (x *RunAssertionsResult) GetInputError() *DeveloperError

func (*RunAssertionsResult) GetValidationErrors

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

func (*RunAssertionsResult) MarshalToSizedBufferVT

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

func (*RunAssertionsResult) MarshalToVT

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

func (*RunAssertionsResult) MarshalVT

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

func (*RunAssertionsResult) ProtoMessage

func (*RunAssertionsResult) ProtoMessage()

func (*RunAssertionsResult) ProtoReflect

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

func (*RunAssertionsResult) Reset

func (x *RunAssertionsResult) Reset()

func (*RunAssertionsResult) SizeVT

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

func (*RunAssertionsResult) String

func (x *RunAssertionsResult) String() string

func (*RunAssertionsResult) UnmarshalVT

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

func (*RunAssertionsResult) Validate

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

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

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

func (m RunAssertionsResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunAssertionsResultMultiError) Error

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

type RunAssertionsResultValidationError

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

Cause function returns cause value.

func (RunAssertionsResultValidationError) Error

Error satisfies the builtin error interface

func (RunAssertionsResultValidationError) ErrorName

ErrorName returns error name.

func (RunAssertionsResultValidationError) Field

Field function returns field value.

func (RunAssertionsResultValidationError) Key

Key function returns key value.

func (RunAssertionsResultValidationError) Reason

Reason function returns reason value.

type RunValidationParameters

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

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

func (*RunValidationParameters) CloneVT

func (*RunValidationParameters) Descriptor deprecated

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

Deprecated: Use RunValidationParameters.ProtoReflect.Descriptor instead.

func (*RunValidationParameters) EqualMessageVT

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

func (*RunValidationParameters) EqualVT

func (*RunValidationParameters) GetValidationYaml

func (x *RunValidationParameters) GetValidationYaml() string

func (*RunValidationParameters) MarshalToSizedBufferVT

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

func (*RunValidationParameters) MarshalToVT

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

func (*RunValidationParameters) MarshalVT

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

func (*RunValidationParameters) ProtoMessage

func (*RunValidationParameters) ProtoMessage()

func (*RunValidationParameters) ProtoReflect

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

func (*RunValidationParameters) Reset

func (x *RunValidationParameters) Reset()

func (*RunValidationParameters) SizeVT

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

func (*RunValidationParameters) String

func (x *RunValidationParameters) String() string

func (*RunValidationParameters) UnmarshalVT

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

func (*RunValidationParameters) Validate

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

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

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

func (m RunValidationParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunValidationParametersMultiError) Error

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

type RunValidationParametersValidationError

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

Cause function returns cause value.

func (RunValidationParametersValidationError) Error

Error satisfies the builtin error interface

func (RunValidationParametersValidationError) ErrorName

ErrorName returns error name.

func (RunValidationParametersValidationError) Field

Field function returns field value.

func (RunValidationParametersValidationError) Key

Key function returns key value.

func (RunValidationParametersValidationError) Reason

Reason function returns reason value.

type RunValidationResult

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

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

func (*RunValidationResult) CloneVT

func (*RunValidationResult) Descriptor deprecated

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

Deprecated: Use RunValidationResult.ProtoReflect.Descriptor instead.

func (*RunValidationResult) EqualMessageVT

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

func (*RunValidationResult) EqualVT

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

func (*RunValidationResult) GetInputError

func (x *RunValidationResult) GetInputError() *DeveloperError

func (*RunValidationResult) GetUpdatedValidationYaml

func (x *RunValidationResult) GetUpdatedValidationYaml() string

func (*RunValidationResult) GetValidationErrors

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

func (*RunValidationResult) MarshalToSizedBufferVT

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

func (*RunValidationResult) MarshalToVT

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

func (*RunValidationResult) MarshalVT

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

func (*RunValidationResult) ProtoMessage

func (*RunValidationResult) ProtoMessage()

func (*RunValidationResult) ProtoReflect

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

func (*RunValidationResult) Reset

func (x *RunValidationResult) Reset()

func (*RunValidationResult) SizeVT

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

func (*RunValidationResult) String

func (x *RunValidationResult) String() string

func (*RunValidationResult) UnmarshalVT

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

func (*RunValidationResult) Validate

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

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

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

func (m RunValidationResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RunValidationResultMultiError) Error

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

type RunValidationResultValidationError

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

Cause function returns cause value.

func (RunValidationResultValidationError) Error

Error satisfies the builtin error interface

func (RunValidationResultValidationError) ErrorName

ErrorName returns error name.

func (RunValidationResultValidationError) Field

Field function returns field value.

func (RunValidationResultValidationError) Key

Key function returns key value.

func (RunValidationResultValidationError) Reason

Reason function returns reason value.

type SchemaWarningsParameters added in v0.0.3

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

SchemaWarningsParameters are the parameters for a `schemaWarnings` operation.

func (*SchemaWarningsParameters) CloneMessageVT added in v0.0.3

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

func (*SchemaWarningsParameters) CloneVT added in v0.0.3

func (*SchemaWarningsParameters) Descriptor deprecated added in v0.0.3

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

Deprecated: Use SchemaWarningsParameters.ProtoReflect.Descriptor instead.

func (*SchemaWarningsParameters) EqualMessageVT added in v0.0.3

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

func (*SchemaWarningsParameters) EqualVT added in v0.0.3

func (*SchemaWarningsParameters) MarshalToSizedBufferVT added in v0.0.3

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

func (*SchemaWarningsParameters) MarshalToVT added in v0.0.3

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

func (*SchemaWarningsParameters) MarshalVT added in v0.0.3

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

func (*SchemaWarningsParameters) ProtoMessage added in v0.0.3

func (*SchemaWarningsParameters) ProtoMessage()

func (*SchemaWarningsParameters) ProtoReflect added in v0.0.3

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

func (*SchemaWarningsParameters) Reset added in v0.0.3

func (x *SchemaWarningsParameters) Reset()

func (*SchemaWarningsParameters) SizeVT added in v0.0.3

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

func (*SchemaWarningsParameters) String added in v0.0.3

func (x *SchemaWarningsParameters) String() string

func (*SchemaWarningsParameters) UnmarshalVT added in v0.0.3

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

func (*SchemaWarningsParameters) Validate added in v0.0.3

func (m *SchemaWarningsParameters) Validate() error

Validate checks the field values on SchemaWarningsParameters 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 (*SchemaWarningsParameters) ValidateAll added in v0.0.3

func (m *SchemaWarningsParameters) ValidateAll() error

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

type SchemaWarningsParametersMultiError added in v0.0.3

type SchemaWarningsParametersMultiError []error

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

func (SchemaWarningsParametersMultiError) AllErrors added in v0.0.3

func (m SchemaWarningsParametersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchemaWarningsParametersMultiError) Error added in v0.0.3

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

type SchemaWarningsParametersValidationError added in v0.0.3

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

SchemaWarningsParametersValidationError is the validation error returned by SchemaWarningsParameters.Validate if the designated constraints aren't met.

func (SchemaWarningsParametersValidationError) Cause added in v0.0.3

Cause function returns cause value.

func (SchemaWarningsParametersValidationError) Error added in v0.0.3

Error satisfies the builtin error interface

func (SchemaWarningsParametersValidationError) ErrorName added in v0.0.3

ErrorName returns error name.

func (SchemaWarningsParametersValidationError) Field added in v0.0.3

Field function returns field value.

func (SchemaWarningsParametersValidationError) Key added in v0.0.3

Key function returns key value.

func (SchemaWarningsParametersValidationError) Reason added in v0.0.3

Reason function returns reason value.

type SchemaWarningsResult added in v0.0.3

type SchemaWarningsResult struct {
	Warnings []*DeveloperWarning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

SchemaWarningsResult is the result of the `schemaWarnings` operation.

func (*SchemaWarningsResult) CloneMessageVT added in v0.0.3

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

func (*SchemaWarningsResult) CloneVT added in v0.0.3

func (*SchemaWarningsResult) Descriptor deprecated added in v0.0.3

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

Deprecated: Use SchemaWarningsResult.ProtoReflect.Descriptor instead.

func (*SchemaWarningsResult) EqualMessageVT added in v0.0.3

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

func (*SchemaWarningsResult) EqualVT added in v0.0.3

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

func (*SchemaWarningsResult) GetWarnings added in v0.0.3

func (x *SchemaWarningsResult) GetWarnings() []*DeveloperWarning

func (*SchemaWarningsResult) MarshalToSizedBufferVT added in v0.0.3

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

func (*SchemaWarningsResult) MarshalToVT added in v0.0.3

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

func (*SchemaWarningsResult) MarshalVT added in v0.0.3

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

func (*SchemaWarningsResult) ProtoMessage added in v0.0.3

func (*SchemaWarningsResult) ProtoMessage()

func (*SchemaWarningsResult) ProtoReflect added in v0.0.3

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

func (*SchemaWarningsResult) Reset added in v0.0.3

func (x *SchemaWarningsResult) Reset()

func (*SchemaWarningsResult) SizeVT added in v0.0.3

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

func (*SchemaWarningsResult) String added in v0.0.3

func (x *SchemaWarningsResult) String() string

func (*SchemaWarningsResult) UnmarshalVT added in v0.0.3

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

func (*SchemaWarningsResult) Validate added in v0.0.3

func (m *SchemaWarningsResult) Validate() error

Validate checks the field values on SchemaWarningsResult 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 (*SchemaWarningsResult) ValidateAll added in v0.0.3

func (m *SchemaWarningsResult) ValidateAll() error

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

type SchemaWarningsResultMultiError added in v0.0.3

type SchemaWarningsResultMultiError []error

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

func (SchemaWarningsResultMultiError) AllErrors added in v0.0.3

func (m SchemaWarningsResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchemaWarningsResultMultiError) Error added in v0.0.3

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

type SchemaWarningsResultValidationError added in v0.0.3

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

SchemaWarningsResultValidationError is the validation error returned by SchemaWarningsResult.Validate if the designated constraints aren't met.

func (SchemaWarningsResultValidationError) Cause added in v0.0.3

Cause function returns cause value.

func (SchemaWarningsResultValidationError) Error added in v0.0.3

Error satisfies the builtin error interface

func (SchemaWarningsResultValidationError) ErrorName added in v0.0.3

ErrorName returns error name.

func (SchemaWarningsResultValidationError) Field added in v0.0.3

Field function returns field value.

func (SchemaWarningsResultValidationError) Key added in v0.0.3

Key function returns key value.

func (SchemaWarningsResultValidationError) Reason added in v0.0.3

Reason function returns reason value.

Jump to

Keyboard shortcuts

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