v1

package
v0.2.76 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_c1_action_v1_action_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BatonAction

type BatonAction struct {
	Id     string             `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	Schema *BatonActionSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*BatonAction) Descriptor deprecated

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

Deprecated: Use BatonAction.ProtoReflect.Descriptor instead.

func (*BatonAction) GetId

func (x *BatonAction) GetId() string

func (*BatonAction) GetSchema

func (x *BatonAction) GetSchema() *BatonActionSchema

func (*BatonAction) ProtoMessage

func (*BatonAction) ProtoMessage()

func (*BatonAction) ProtoReflect

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

func (*BatonAction) Reset

func (x *BatonAction) Reset()

func (*BatonAction) String

func (x *BatonAction) String() string

func (*BatonAction) Validate

func (m *BatonAction) Validate() error

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

func (m *BatonAction) ValidateAll() error

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

type BatonActionMultiError

type BatonActionMultiError []error

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

func (BatonActionMultiError) AllErrors

func (m BatonActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatonActionMultiError) Error

func (m BatonActionMultiError) Error() string

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

type BatonActionSchema

type BatonActionSchema struct {
	FunctionName string           `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	Arguments    []*v1.Field      `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
	Constraints  []*v1.Constraint `protobuf:"bytes,3,rep,name=constraints,proto3" json:"constraints,omitempty"`
	ReturnTypes  []*v1.Field      `protobuf:"bytes,4,rep,name=return_types,json=returnTypes,proto3" json:"return_types,omitempty"`
	// contains filtered or unexported fields
}

func (*BatonActionSchema) Descriptor deprecated

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

Deprecated: Use BatonActionSchema.ProtoReflect.Descriptor instead.

func (*BatonActionSchema) GetArguments

func (x *BatonActionSchema) GetArguments() []*v1.Field

func (*BatonActionSchema) GetConstraints

func (x *BatonActionSchema) GetConstraints() []*v1.Constraint

func (*BatonActionSchema) GetFunctionName

func (x *BatonActionSchema) GetFunctionName() string

func (*BatonActionSchema) GetReturnTypes

func (x *BatonActionSchema) GetReturnTypes() []*v1.Field

func (*BatonActionSchema) ProtoMessage

func (*BatonActionSchema) ProtoMessage()

func (*BatonActionSchema) ProtoReflect

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

func (*BatonActionSchema) Reset

func (x *BatonActionSchema) Reset()

func (*BatonActionSchema) String

func (x *BatonActionSchema) String() string

func (*BatonActionSchema) Validate

func (m *BatonActionSchema) Validate() error

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

func (m *BatonActionSchema) ValidateAll() error

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

type BatonActionSchemaMultiError

type BatonActionSchemaMultiError []error

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

func (BatonActionSchemaMultiError) AllErrors

func (m BatonActionSchemaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatonActionSchemaMultiError) Error

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

type BatonActionSchemaValidationError

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

BatonActionSchemaValidationError is the validation error returned by BatonActionSchema.Validate if the designated constraints aren't met.

func (BatonActionSchemaValidationError) Cause

Cause function returns cause value.

func (BatonActionSchemaValidationError) Error

Error satisfies the builtin error interface

func (BatonActionSchemaValidationError) ErrorName

ErrorName returns error name.

func (BatonActionSchemaValidationError) Field

Field function returns field value.

func (BatonActionSchemaValidationError) Key

Key function returns key value.

func (BatonActionSchemaValidationError) Reason

Reason function returns reason value.

type BatonActionValidationError

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

BatonActionValidationError is the validation error returned by BatonAction.Validate if the designated constraints aren't met.

func (BatonActionValidationError) Cause

Cause function returns cause value.

func (BatonActionValidationError) Error

Error satisfies the builtin error interface

func (BatonActionValidationError) ErrorName

func (e BatonActionValidationError) ErrorName() string

ErrorName returns error name.

func (BatonActionValidationError) Field

Field function returns field value.

func (BatonActionValidationError) Key

Key function returns key value.

func (BatonActionValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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