package testpb
import "cel.dev/expr/proto/test/v1/testpb"
Index ¶
- Variables
- type Env
- func (*Env) Descriptor() ([]byte, []int)
- func (x *Env) GetDecl() []*v1alpha1.Decl
- func (x *Env) GetName() string
- func (*Env) ProtoMessage()
- func (x *Env) ProtoReflect() protoreflect.Message
- func (x *Env) Reset()
- func (x *Env) String() string
- type ErrorSetMatcher
- func (*ErrorSetMatcher) Descriptor() ([]byte, []int)
- func (x *ErrorSetMatcher) GetErrors() []*v1alpha1.ErrorSet
- func (*ErrorSetMatcher) ProtoMessage()
- func (x *ErrorSetMatcher) ProtoReflect() protoreflect.Message
- func (x *ErrorSetMatcher) Reset()
- func (x *ErrorSetMatcher) String() string
- type SimpleTest
- func (*SimpleTest) Descriptor() ([]byte, []int)
- func (x *SimpleTest) GetAnyEvalErrors() *ErrorSetMatcher
- func (x *SimpleTest) GetAnyUnknowns() *UnknownSetMatcher
- func (x *SimpleTest) GetBindings() map[string]*v1alpha1.ExprValue
- func (x *SimpleTest) GetContainer() string
- func (x *SimpleTest) GetDescription() string
- func (x *SimpleTest) GetDisableCheck() bool
- func (x *SimpleTest) GetDisableMacros() bool
- func (x *SimpleTest) GetEvalError() *v1alpha1.ErrorSet
- func (x *SimpleTest) GetExpr() string
- func (x *SimpleTest) GetName() string
- func (m *SimpleTest) GetResultMatcher() isSimpleTest_ResultMatcher
- func (x *SimpleTest) GetTypeEnv() []*v1alpha1.Decl
- func (x *SimpleTest) GetUnknown() *v1alpha1.UnknownSet
- func (x *SimpleTest) GetValue() *v1alpha1.Value
- func (*SimpleTest) ProtoMessage()
- func (x *SimpleTest) ProtoReflect() protoreflect.Message
- func (x *SimpleTest) Reset()
- func (x *SimpleTest) String() string
- type SimpleTestFile
- func (*SimpleTestFile) Descriptor() ([]byte, []int)
- func (x *SimpleTestFile) GetDescription() string
- func (x *SimpleTestFile) GetName() string
- func (x *SimpleTestFile) GetSection() []*SimpleTestSection
- func (*SimpleTestFile) ProtoMessage()
- func (x *SimpleTestFile) ProtoReflect() protoreflect.Message
- func (x *SimpleTestFile) Reset()
- func (x *SimpleTestFile) String() string
- type SimpleTestSection
- func (*SimpleTestSection) Descriptor() ([]byte, []int)
- func (x *SimpleTestSection) GetDescription() string
- func (x *SimpleTestSection) GetName() string
- func (x *SimpleTestSection) GetTest() []*SimpleTest
- func (*SimpleTestSection) ProtoMessage()
- func (x *SimpleTestSection) ProtoReflect() protoreflect.Message
- func (x *SimpleTestSection) Reset()
- func (x *SimpleTestSection) String() string
- type SimpleTest_AnyEvalErrors
- type SimpleTest_AnyUnknowns
- type SimpleTest_EvalError
- type SimpleTest_Unknown
- type SimpleTest_Value
- type UnknownSetMatcher
- func (*UnknownSetMatcher) Descriptor() ([]byte, []int)
- func (x *UnknownSetMatcher) GetUnknowns() []*v1alpha1.UnknownSet
- func (*UnknownSetMatcher) ProtoMessage()
- func (x *UnknownSetMatcher) ProtoReflect() protoreflect.Message
- func (x *UnknownSetMatcher) Reset()
- func (x *UnknownSetMatcher) String() string
Variables ¶
var File_proto_test_v1_envcheck_proto protoreflect.FileDescriptor
var File_proto_test_v1_simple_proto protoreflect.FileDescriptor
Types ¶
type Env ¶
type Env struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Decl []*v1alpha1.Decl `protobuf:"bytes,2,rep,name=decl,proto3" json:"decl,omitempty"` // contains filtered or unexported fields }
func (*Env) Descriptor ¶
Deprecated: Use Env.ProtoReflect.Descriptor instead.
func (*Env) GetDecl ¶
func (*Env) GetName ¶
func (*Env) ProtoMessage ¶
func (*Env) ProtoMessage()
func (*Env) ProtoReflect ¶
func (x *Env) ProtoReflect() protoreflect.Message
func (*Env) Reset ¶
func (x *Env) Reset()
func (*Env) String ¶
type ErrorSetMatcher ¶
type ErrorSetMatcher struct { Errors []*v1alpha1.ErrorSet `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*ErrorSetMatcher) Descriptor ¶
func (*ErrorSetMatcher) Descriptor() ([]byte, []int)
Deprecated: Use ErrorSetMatcher.ProtoReflect.Descriptor instead.
func (*ErrorSetMatcher) GetErrors ¶
func (x *ErrorSetMatcher) GetErrors() []*v1alpha1.ErrorSet
func (*ErrorSetMatcher) ProtoMessage ¶
func (*ErrorSetMatcher) ProtoMessage()
func (*ErrorSetMatcher) ProtoReflect ¶
func (x *ErrorSetMatcher) ProtoReflect() protoreflect.Message
func (*ErrorSetMatcher) Reset ¶
func (x *ErrorSetMatcher) Reset()
func (*ErrorSetMatcher) String ¶
func (x *ErrorSetMatcher) String() string
type SimpleTest ¶
type SimpleTest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Expr string `protobuf:"bytes,3,opt,name=expr,proto3" json:"expr,omitempty"` DisableMacros bool `protobuf:"varint,4,opt,name=disable_macros,json=disableMacros,proto3" json:"disable_macros,omitempty"` DisableCheck bool `protobuf:"varint,5,opt,name=disable_check,json=disableCheck,proto3" json:"disable_check,omitempty"` TypeEnv []*v1alpha1.Decl `protobuf:"bytes,6,rep,name=type_env,json=typeEnv,proto3" json:"type_env,omitempty"` Container string `protobuf:"bytes,13,opt,name=container,proto3" json:"container,omitempty"` Bindings map[string]*v1alpha1.ExprValue `protobuf:"bytes,7,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Types that are assignable to ResultMatcher: // // *SimpleTest_Value // *SimpleTest_EvalError // *SimpleTest_AnyEvalErrors // *SimpleTest_Unknown // *SimpleTest_AnyUnknowns ResultMatcher isSimpleTest_ResultMatcher `protobuf_oneof:"result_matcher"` // contains filtered or unexported fields }
func (*SimpleTest) Descriptor ¶
func (*SimpleTest) Descriptor() ([]byte, []int)
Deprecated: Use SimpleTest.ProtoReflect.Descriptor instead.
func (*SimpleTest) GetAnyEvalErrors ¶
func (x *SimpleTest) GetAnyEvalErrors() *ErrorSetMatcher
func (*SimpleTest) GetAnyUnknowns ¶
func (x *SimpleTest) GetAnyUnknowns() *UnknownSetMatcher
func (*SimpleTest) GetBindings ¶
func (x *SimpleTest) GetBindings() map[string]*v1alpha1.ExprValue
func (*SimpleTest) GetContainer ¶
func (x *SimpleTest) GetContainer() string
func (*SimpleTest) GetDescription ¶
func (x *SimpleTest) GetDescription() string
func (*SimpleTest) GetDisableCheck ¶
func (x *SimpleTest) GetDisableCheck() bool
func (*SimpleTest) GetDisableMacros ¶
func (x *SimpleTest) GetDisableMacros() bool
func (*SimpleTest) GetEvalError ¶
func (x *SimpleTest) GetEvalError() *v1alpha1.ErrorSet
func (*SimpleTest) GetExpr ¶
func (x *SimpleTest) GetExpr() string
func (*SimpleTest) GetName ¶
func (x *SimpleTest) GetName() string
func (*SimpleTest) GetResultMatcher ¶
func (m *SimpleTest) GetResultMatcher() isSimpleTest_ResultMatcher
func (*SimpleTest) GetTypeEnv ¶
func (x *SimpleTest) GetTypeEnv() []*v1alpha1.Decl
func (*SimpleTest) GetUnknown ¶
func (x *SimpleTest) GetUnknown() *v1alpha1.UnknownSet
func (*SimpleTest) GetValue ¶
func (x *SimpleTest) GetValue() *v1alpha1.Value
func (*SimpleTest) ProtoMessage ¶
func (*SimpleTest) ProtoMessage()
func (*SimpleTest) ProtoReflect ¶
func (x *SimpleTest) ProtoReflect() protoreflect.Message
func (*SimpleTest) Reset ¶
func (x *SimpleTest) Reset()
func (*SimpleTest) String ¶
func (x *SimpleTest) String() string
type SimpleTestFile ¶
type SimpleTestFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Section []*SimpleTestSection `protobuf:"bytes,3,rep,name=section,proto3" json:"section,omitempty"` // contains filtered or unexported fields }
func (*SimpleTestFile) Descriptor ¶
func (*SimpleTestFile) Descriptor() ([]byte, []int)
Deprecated: Use SimpleTestFile.ProtoReflect.Descriptor instead.
func (*SimpleTestFile) GetDescription ¶
func (x *SimpleTestFile) GetDescription() string
func (*SimpleTestFile) GetName ¶
func (x *SimpleTestFile) GetName() string
func (*SimpleTestFile) GetSection ¶
func (x *SimpleTestFile) GetSection() []*SimpleTestSection
func (*SimpleTestFile) ProtoMessage ¶
func (*SimpleTestFile) ProtoMessage()
func (*SimpleTestFile) ProtoReflect ¶
func (x *SimpleTestFile) ProtoReflect() protoreflect.Message
func (*SimpleTestFile) Reset ¶
func (x *SimpleTestFile) Reset()
func (*SimpleTestFile) String ¶
func (x *SimpleTestFile) String() string
type SimpleTestSection ¶
type SimpleTestSection struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Test []*SimpleTest `protobuf:"bytes,3,rep,name=test,proto3" json:"test,omitempty"` // contains filtered or unexported fields }
func (*SimpleTestSection) Descriptor ¶
func (*SimpleTestSection) Descriptor() ([]byte, []int)
Deprecated: Use SimpleTestSection.ProtoReflect.Descriptor instead.
func (*SimpleTestSection) GetDescription ¶
func (x *SimpleTestSection) GetDescription() string
func (*SimpleTestSection) GetName ¶
func (x *SimpleTestSection) GetName() string
func (*SimpleTestSection) GetTest ¶
func (x *SimpleTestSection) GetTest() []*SimpleTest
func (*SimpleTestSection) ProtoMessage ¶
func (*SimpleTestSection) ProtoMessage()
func (*SimpleTestSection) ProtoReflect ¶
func (x *SimpleTestSection) ProtoReflect() protoreflect.Message
func (*SimpleTestSection) Reset ¶
func (x *SimpleTestSection) Reset()
func (*SimpleTestSection) String ¶
func (x *SimpleTestSection) String() string
type SimpleTest_AnyEvalErrors ¶
type SimpleTest_AnyEvalErrors struct { AnyEvalErrors *ErrorSetMatcher `protobuf:"bytes,10,opt,name=any_eval_errors,json=anyEvalErrors,proto3,oneof"` }
type SimpleTest_AnyUnknowns ¶
type SimpleTest_AnyUnknowns struct { AnyUnknowns *UnknownSetMatcher `protobuf:"bytes,12,opt,name=any_unknowns,json=anyUnknowns,proto3,oneof"` }
type SimpleTest_EvalError ¶
type SimpleTest_EvalError struct { EvalError *v1alpha1.ErrorSet `protobuf:"bytes,9,opt,name=eval_error,json=evalError,proto3,oneof"` }
type SimpleTest_Unknown ¶
type SimpleTest_Unknown struct { Unknown *v1alpha1.UnknownSet `protobuf:"bytes,11,opt,name=unknown,proto3,oneof"` }
type SimpleTest_Value ¶
type SimpleTest_Value struct { Value *v1alpha1.Value `protobuf:"bytes,8,opt,name=value,proto3,oneof"` }
type UnknownSetMatcher ¶
type UnknownSetMatcher struct { Unknowns []*v1alpha1.UnknownSet `protobuf:"bytes,1,rep,name=unknowns,proto3" json:"unknowns,omitempty"` // contains filtered or unexported fields }
func (*UnknownSetMatcher) Descriptor ¶
func (*UnknownSetMatcher) Descriptor() ([]byte, []int)
Deprecated: Use UnknownSetMatcher.ProtoReflect.Descriptor instead.
func (*UnknownSetMatcher) GetUnknowns ¶
func (x *UnknownSetMatcher) GetUnknowns() []*v1alpha1.UnknownSet
func (*UnknownSetMatcher) ProtoMessage ¶
func (*UnknownSetMatcher) ProtoMessage()
func (*UnknownSetMatcher) ProtoReflect ¶
func (x *UnknownSetMatcher) ProtoReflect() protoreflect.Message
func (*UnknownSetMatcher) Reset ¶
func (x *UnknownSetMatcher) Reset()
func (*UnknownSetMatcher) String ¶
func (x *UnknownSetMatcher) String() string
Source Files ¶
envcheck.pb.go simple.pb.go
- Version
- v0.16.0
- Published
- Aug 13, 2024
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 8 minutes ago –
Tools for package owners.