Documentation
¶
Index ¶
- Variables
- type BatonAction
- func (*BatonAction) Descriptor() ([]byte, []int)deprecated
- func (x *BatonAction) GetId() string
- func (x *BatonAction) GetSchema() *BatonActionSchema
- func (*BatonAction) ProtoMessage()
- func (x *BatonAction) ProtoReflect() protoreflect.Message
- func (x *BatonAction) Reset()
- func (x *BatonAction) String() string
- func (m *BatonAction) Validate() error
- func (m *BatonAction) ValidateAll() error
- type BatonActionMultiError
- type BatonActionSchema
- func (*BatonActionSchema) Descriptor() ([]byte, []int)deprecated
- func (x *BatonActionSchema) GetArguments() []*v1.Field
- func (x *BatonActionSchema) GetConstraints() []*v1.Constraint
- func (x *BatonActionSchema) GetFunctionName() string
- func (x *BatonActionSchema) GetReturnTypes() []*v1.Field
- func (*BatonActionSchema) ProtoMessage()
- func (x *BatonActionSchema) ProtoReflect() protoreflect.Message
- func (x *BatonActionSchema) Reset()
- func (x *BatonActionSchema) String() string
- func (m *BatonActionSchema) Validate() error
- func (m *BatonActionSchema) ValidateAll() error
- type BatonActionSchemaMultiError
- type BatonActionSchemaValidationError
- func (e BatonActionSchemaValidationError) Cause() error
- func (e BatonActionSchemaValidationError) Error() string
- func (e BatonActionSchemaValidationError) ErrorName() string
- func (e BatonActionSchemaValidationError) Field() string
- func (e BatonActionSchemaValidationError) Key() bool
- func (e BatonActionSchemaValidationError) Reason() string
- type BatonActionValidationError
- func (e BatonActionValidationError) Cause() error
- func (e BatonActionValidationError) Error() string
- func (e BatonActionValidationError) ErrorName() string
- func (e BatonActionValidationError) Field() string
- func (e BatonActionValidationError) Key() bool
- func (e BatonActionValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (m BatonActionSchemaMultiError) Error() string
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 ¶
func (e BatonActionSchemaValidationError) Cause() error
Cause function returns cause value.
func (BatonActionSchemaValidationError) Error ¶
func (e BatonActionSchemaValidationError) Error() string
Error satisfies the builtin error interface
func (BatonActionSchemaValidationError) ErrorName ¶
func (e BatonActionSchemaValidationError) ErrorName() string
ErrorName returns error name.
func (BatonActionSchemaValidationError) Field ¶
func (e BatonActionSchemaValidationError) Field() string
Field function returns field value.
func (BatonActionSchemaValidationError) Key ¶
func (e BatonActionSchemaValidationError) Key() bool
Key function returns key value.
func (BatonActionSchemaValidationError) Reason ¶
func (e BatonActionSchemaValidationError) Reason() string
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 ¶
func (e BatonActionValidationError) Cause() error
Cause function returns cause value.
func (BatonActionValidationError) Error ¶
func (e BatonActionValidationError) Error() string
Error satisfies the builtin error interface
func (BatonActionValidationError) ErrorName ¶
func (e BatonActionValidationError) ErrorName() string
ErrorName returns error name.
func (BatonActionValidationError) Field ¶
func (e BatonActionValidationError) Field() string
Field function returns field value.
func (BatonActionValidationError) Key ¶
func (e BatonActionValidationError) Key() bool
Key function returns key value.
func (BatonActionValidationError) Reason ¶
func (e BatonActionValidationError) Reason() string
Reason function returns reason value.