Documentation
¶
Overview ¶
Package proto contains generated protocol buffers structures. This package is not intended to be used directly from plugins.
Do not include anything other than automatically generated ones here. If you want to change it, change the *.proto and run `make proto`.
Index ¶
- Variables
- func RegisterRuleSetServer(s grpc.ServiceRegistrar, srv RuleSetServer)
- func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)
- type ApplyConfig
- type ApplyConfig_Request
- func (*ApplyConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyConfig_Request) GetContent() *BodyContent
- func (*ApplyConfig_Request) ProtoMessage()
- func (x *ApplyConfig_Request) ProtoReflect() protoreflect.Message
- func (x *ApplyConfig_Request) Reset()
- func (x *ApplyConfig_Request) String() string
- type ApplyConfig_Response
- type ApplyGlobalConfig
- type ApplyGlobalConfig_Config
- func (*ApplyGlobalConfig_Config) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyGlobalConfig_Config) GetDisabledByDefault() bool
- func (x *ApplyGlobalConfig_Config) GetRules() map[string]*ApplyGlobalConfig_RuleConfig
- func (*ApplyGlobalConfig_Config) ProtoMessage()
- func (x *ApplyGlobalConfig_Config) ProtoReflect() protoreflect.Message
- func (x *ApplyGlobalConfig_Config) Reset()
- func (x *ApplyGlobalConfig_Config) String() string
- type ApplyGlobalConfig_Request
- func (*ApplyGlobalConfig_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyGlobalConfig_Request) GetConfig() *ApplyGlobalConfig_Config
- func (*ApplyGlobalConfig_Request) ProtoMessage()
- func (x *ApplyGlobalConfig_Request) ProtoReflect() protoreflect.Message
- func (x *ApplyGlobalConfig_Request) Reset()
- func (x *ApplyGlobalConfig_Request) String() string
- type ApplyGlobalConfig_Response
- type ApplyGlobalConfig_RuleConfig
- func (*ApplyGlobalConfig_RuleConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyGlobalConfig_RuleConfig) GetEnabled() bool
- func (x *ApplyGlobalConfig_RuleConfig) GetName() string
- func (*ApplyGlobalConfig_RuleConfig) ProtoMessage()
- func (x *ApplyGlobalConfig_RuleConfig) ProtoReflect() protoreflect.Message
- func (x *ApplyGlobalConfig_RuleConfig) Reset()
- func (x *ApplyGlobalConfig_RuleConfig) String() string
- type BodyContent
- func (*BodyContent) Descriptor() ([]byte, []int)deprecated
- func (x *BodyContent) GetAttributes() map[string]*BodyContent_Attribute
- func (x *BodyContent) GetBlocks() []*BodyContent_Block
- func (*BodyContent) ProtoMessage()
- func (x *BodyContent) ProtoReflect() protoreflect.Message
- func (x *BodyContent) Reset()
- func (x *BodyContent) String() string
- type BodyContent_Attribute
- func (*BodyContent_Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *BodyContent_Attribute) GetExpr() []byte
- func (x *BodyContent_Attribute) GetExprRange() *Range
- func (x *BodyContent_Attribute) GetName() string
- func (x *BodyContent_Attribute) GetNameRange() *Range
- func (x *BodyContent_Attribute) GetRange() *Range
- func (*BodyContent_Attribute) ProtoMessage()
- func (x *BodyContent_Attribute) ProtoReflect() protoreflect.Message
- func (x *BodyContent_Attribute) Reset()
- func (x *BodyContent_Attribute) String() string
- type BodyContent_Block
- func (*BodyContent_Block) Descriptor() ([]byte, []int)deprecated
- func (x *BodyContent_Block) GetBody() *BodyContent
- func (x *BodyContent_Block) GetDefRange() *Range
- func (x *BodyContent_Block) GetLabelRanges() []*Range
- func (x *BodyContent_Block) GetLabels() []string
- func (x *BodyContent_Block) GetType() string
- func (x *BodyContent_Block) GetTypeRange() *Range
- func (*BodyContent_Block) ProtoMessage()
- func (x *BodyContent_Block) ProtoReflect() protoreflect.Message
- func (x *BodyContent_Block) Reset()
- func (x *BodyContent_Block) String() string
- type BodySchema
- func (*BodySchema) Descriptor() ([]byte, []int)deprecated
- func (x *BodySchema) GetAttributes() []*BodySchema_Attribute
- func (x *BodySchema) GetBlocks() []*BodySchema_Block
- func (*BodySchema) ProtoMessage()
- func (x *BodySchema) ProtoReflect() protoreflect.Message
- func (x *BodySchema) Reset()
- func (x *BodySchema) String() string
- type BodySchema_Attribute
- func (*BodySchema_Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *BodySchema_Attribute) GetName() string
- func (x *BodySchema_Attribute) GetRequired() bool
- func (*BodySchema_Attribute) ProtoMessage()
- func (x *BodySchema_Attribute) ProtoReflect() protoreflect.Message
- func (x *BodySchema_Attribute) Reset()
- func (x *BodySchema_Attribute) String() string
- type BodySchema_Block
- func (*BodySchema_Block) Descriptor() ([]byte, []int)deprecated
- func (x *BodySchema_Block) GetBody() *BodySchema
- func (x *BodySchema_Block) GetLabelNames() []string
- func (x *BodySchema_Block) GetType() string
- func (*BodySchema_Block) ProtoMessage()
- func (x *BodySchema_Block) ProtoReflect() protoreflect.Message
- func (x *BodySchema_Block) Reset()
- func (x *BodySchema_Block) String() string
- type Check
- type Check_Request
- type Check_Response
- type EmitIssue
- type EmitIssue_Request
- func (*EmitIssue_Request) Descriptor() ([]byte, []int)deprecated
- func (x *EmitIssue_Request) GetMessage() string
- func (x *EmitIssue_Request) GetRange() *Range
- func (x *EmitIssue_Request) GetRule() *EmitIssue_Rule
- func (*EmitIssue_Request) ProtoMessage()
- func (x *EmitIssue_Request) ProtoReflect() protoreflect.Message
- func (x *EmitIssue_Request) Reset()
- func (x *EmitIssue_Request) String() string
- type EmitIssue_Response
- type EmitIssue_Rule
- func (*EmitIssue_Rule) Descriptor() ([]byte, []int)deprecated
- func (x *EmitIssue_Rule) GetEnabled() bool
- func (x *EmitIssue_Rule) GetLink() string
- func (x *EmitIssue_Rule) GetName() string
- func (x *EmitIssue_Rule) GetSeverity() EmitIssue_Severity
- func (*EmitIssue_Rule) ProtoMessage()
- func (x *EmitIssue_Rule) ProtoReflect() protoreflect.Message
- func (x *EmitIssue_Rule) Reset()
- func (x *EmitIssue_Rule) String() string
- type EmitIssue_Severity
- func (EmitIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x EmitIssue_Severity) Enum() *EmitIssue_Severity
- func (EmitIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmitIssue_Severity) Number() protoreflect.EnumNumber
- func (x EmitIssue_Severity) String() string
- func (EmitIssue_Severity) Type() protoreflect.EnumType
- type ErrorCode
- type ErrorDetail
- func (*ErrorDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetail) GetCode() ErrorCode
- func (x *ErrorDetail) GetMessage() string
- func (*ErrorDetail) ProtoMessage()
- func (x *ErrorDetail) ProtoReflect() protoreflect.Message
- func (x *ErrorDetail) Reset()
- func (x *ErrorDetail) String() string
- type EvaluateExpr
- type EvaluateExpr_Option
- func (*EvaluateExpr_Option) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateExpr_Option) GetModuleCtx() ModuleCtxType
- func (x *EvaluateExpr_Option) GetType() []byte
- func (*EvaluateExpr_Option) ProtoMessage()
- func (x *EvaluateExpr_Option) ProtoReflect() protoreflect.Message
- func (x *EvaluateExpr_Option) Reset()
- func (x *EvaluateExpr_Option) String() string
- type EvaluateExpr_Request
- func (*EvaluateExpr_Request) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateExpr_Request) GetExpr() []byte
- func (x *EvaluateExpr_Request) GetExprRange() *Range
- func (x *EvaluateExpr_Request) GetOption() *EvaluateExpr_Option
- func (*EvaluateExpr_Request) ProtoMessage()
- func (x *EvaluateExpr_Request) ProtoReflect() protoreflect.Message
- func (x *EvaluateExpr_Request) Reset()
- func (x *EvaluateExpr_Request) String() string
- type EvaluateExpr_Response
- func (*EvaluateExpr_Response) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateExpr_Response) GetValue() []byte
- func (*EvaluateExpr_Response) ProtoMessage()
- func (x *EvaluateExpr_Response) ProtoReflect() protoreflect.Message
- func (x *EvaluateExpr_Response) Reset()
- func (x *EvaluateExpr_Response) String() string
- type GetConfigSchema
- type GetConfigSchema_Request
- type GetConfigSchema_Response
- func (*GetConfigSchema_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigSchema_Response) GetSchema() *BodySchema
- func (*GetConfigSchema_Response) ProtoMessage()
- func (x *GetConfigSchema_Response) ProtoReflect() protoreflect.Message
- func (x *GetConfigSchema_Response) Reset()
- func (x *GetConfigSchema_Response) String() string
- type GetFile
- type GetFile_Request
- type GetFile_Response
- type GetFiles
- type GetFiles_Request
- type GetFiles_Response
- func (*GetFiles_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetFiles_Response) GetFiles() map[string][]byte
- func (*GetFiles_Response) ProtoMessage()
- func (x *GetFiles_Response) ProtoReflect() protoreflect.Message
- func (x *GetFiles_Response) Reset()
- func (x *GetFiles_Response) String() string
- type GetModuleContent
- type GetModuleContent_Hint
- func (*GetModuleContent_Hint) Descriptor() ([]byte, []int)deprecated
- func (x *GetModuleContent_Hint) GetResourceType() string
- func (*GetModuleContent_Hint) ProtoMessage()
- func (x *GetModuleContent_Hint) ProtoReflect() protoreflect.Message
- func (x *GetModuleContent_Hint) Reset()
- func (x *GetModuleContent_Hint) String() string
- type GetModuleContent_Option
- func (*GetModuleContent_Option) Descriptor() ([]byte, []int)deprecated
- func (x *GetModuleContent_Option) GetHint() *GetModuleContent_Hint
- func (x *GetModuleContent_Option) GetIncludeNotCreated() bool
- func (x *GetModuleContent_Option) GetModuleCtx() ModuleCtxType
- func (*GetModuleContent_Option) ProtoMessage()
- func (x *GetModuleContent_Option) ProtoReflect() protoreflect.Message
- func (x *GetModuleContent_Option) Reset()
- func (x *GetModuleContent_Option) String() string
- type GetModuleContent_Request
- func (*GetModuleContent_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetModuleContent_Request) GetOption() *GetModuleContent_Option
- func (x *GetModuleContent_Request) GetSchema() *BodySchema
- func (*GetModuleContent_Request) ProtoMessage()
- func (x *GetModuleContent_Request) ProtoReflect() protoreflect.Message
- func (x *GetModuleContent_Request) Reset()
- func (x *GetModuleContent_Request) String() string
- type GetModuleContent_Response
- func (*GetModuleContent_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetModuleContent_Response) GetContent() *BodyContent
- func (*GetModuleContent_Response) ProtoMessage()
- func (x *GetModuleContent_Response) ProtoReflect() protoreflect.Message
- func (x *GetModuleContent_Response) Reset()
- func (x *GetModuleContent_Response) String() string
- type GetName
- type GetName_Request
- type GetName_Response
- type GetRuleConfigContent
- type GetRuleConfigContent_Request
- func (*GetRuleConfigContent_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleConfigContent_Request) GetName() string
- func (x *GetRuleConfigContent_Request) GetSchema() *BodySchema
- func (*GetRuleConfigContent_Request) ProtoMessage()
- func (x *GetRuleConfigContent_Request) ProtoReflect() protoreflect.Message
- func (x *GetRuleConfigContent_Request) Reset()
- func (x *GetRuleConfigContent_Request) String() string
- type GetRuleConfigContent_Response
- func (*GetRuleConfigContent_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleConfigContent_Response) GetContent() *BodyContent
- func (*GetRuleConfigContent_Response) ProtoMessage()
- func (x *GetRuleConfigContent_Response) ProtoReflect() protoreflect.Message
- func (x *GetRuleConfigContent_Response) Reset()
- func (x *GetRuleConfigContent_Response) String() string
- type GetRuleNames
- type GetRuleNames_Request
- type GetRuleNames_Response
- func (*GetRuleNames_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleNames_Response) GetNames() []string
- func (*GetRuleNames_Response) ProtoMessage()
- func (x *GetRuleNames_Response) ProtoReflect() protoreflect.Message
- func (x *GetRuleNames_Response) Reset()
- func (x *GetRuleNames_Response) String() string
- type GetVersion
- type GetVersion_Request
- type GetVersion_Response
- func (*GetVersion_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersion_Response) GetVersion() string
- func (*GetVersion_Response) ProtoMessage()
- func (x *GetVersion_Response) ProtoReflect() protoreflect.Message
- func (x *GetVersion_Response) Reset()
- func (x *GetVersion_Response) String() string
- type ModuleCtxType
- func (ModuleCtxType) Descriptor() protoreflect.EnumDescriptor
- func (x ModuleCtxType) Enum() *ModuleCtxType
- func (ModuleCtxType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ModuleCtxType) Number() protoreflect.EnumNumber
- func (x ModuleCtxType) String() string
- func (ModuleCtxType) Type() protoreflect.EnumType
- type Range
- func (*Range) Descriptor() ([]byte, []int)deprecated
- func (x *Range) GetEnd() *Range_Pos
- func (x *Range) GetFilename() string
- func (x *Range) GetStart() *Range_Pos
- func (*Range) ProtoMessage()
- func (x *Range) ProtoReflect() protoreflect.Message
- func (x *Range) Reset()
- func (x *Range) String() string
- type Range_Pos
- func (*Range_Pos) Descriptor() ([]byte, []int)deprecated
- func (x *Range_Pos) GetByte() int64
- func (x *Range_Pos) GetColumn() int64
- func (x *Range_Pos) GetLine() int64
- func (*Range_Pos) ProtoMessage()
- func (x *Range_Pos) ProtoReflect() protoreflect.Message
- func (x *Range_Pos) Reset()
- func (x *Range_Pos) String() string
- type RuleSetClient
- type RuleSetServer
- type RunnerClient
- type RunnerServer
- type UnimplementedRuleSetServer
- func (UnimplementedRuleSetServer) ApplyConfig(context.Context, *ApplyConfig_Request) (*ApplyConfig_Response, error)
- func (UnimplementedRuleSetServer) ApplyGlobalConfig(context.Context, *ApplyGlobalConfig_Request) (*ApplyGlobalConfig_Response, error)
- func (UnimplementedRuleSetServer) Check(context.Context, *Check_Request) (*Check_Response, error)
- func (UnimplementedRuleSetServer) GetConfigSchema(context.Context, *GetConfigSchema_Request) (*GetConfigSchema_Response, error)
- func (UnimplementedRuleSetServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
- func (UnimplementedRuleSetServer) GetRuleNames(context.Context, *GetRuleNames_Request) (*GetRuleNames_Response, error)
- func (UnimplementedRuleSetServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
- type UnimplementedRunnerServer
- func (UnimplementedRunnerServer) EmitIssue(context.Context, *EmitIssue_Request) (*EmitIssue_Response, error)
- func (UnimplementedRunnerServer) EvaluateExpr(context.Context, *EvaluateExpr_Request) (*EvaluateExpr_Response, error)
- func (UnimplementedRunnerServer) GetFile(context.Context, *GetFile_Request) (*GetFile_Response, error)
- func (UnimplementedRunnerServer) GetFiles(context.Context, *GetFiles_Request) (*GetFiles_Response, error)
- func (UnimplementedRunnerServer) GetModuleContent(context.Context, *GetModuleContent_Request) (*GetModuleContent_Response, error)
- func (UnimplementedRunnerServer) GetRuleConfigContent(context.Context, *GetRuleConfigContent_Request) (*GetRuleConfigContent_Response, error)
- type UnsafeRuleSetServer
- type UnsafeRunnerServer
Constants ¶
This section is empty.
Variables ¶
var ( ModuleCtxType_name = map[int32]string{ 0: "MODULE_CTX_TYPE_UNSPECIFIED", 1: "MODULE_CTX_TYPE_SELF", 2: "MODULE_CTX_TYPE_ROOT", } ModuleCtxType_value = map[string]int32{ "MODULE_CTX_TYPE_UNSPECIFIED": 0, "MODULE_CTX_TYPE_SELF": 1, "MODULE_CTX_TYPE_ROOT": 2, } )
Enum value maps for ModuleCtxType.
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "ERROR_CODE_UNKNOWN_VALUE", 2: "ERROR_CODE_NULL_VALUE", 3: "ERROR_CODE_UNEVALUABLE", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_UNKNOWN_VALUE": 1, "ERROR_CODE_NULL_VALUE": 2, "ERROR_CODE_UNEVALUABLE": 3, } )
Enum value maps for ErrorCode.
var ( EmitIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "SEVERITY_ERROR", 2: "SEVERITY_WARNING", 3: "SEVERITY_NOTICE", } EmitIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "SEVERITY_ERROR": 1, "SEVERITY_WARNING": 2, "SEVERITY_NOTICE": 3, } )
Enum value maps for EmitIssue_Severity.
var File_tflint_proto protoreflect.FileDescriptor
var RuleSet_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.RuleSet", HandlerType: (*RuleSetServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetName", Handler: _RuleSet_GetName_Handler, }, { MethodName: "GetVersion", Handler: _RuleSet_GetVersion_Handler, }, { MethodName: "GetRuleNames", Handler: _RuleSet_GetRuleNames_Handler, }, { MethodName: "GetConfigSchema", Handler: _RuleSet_GetConfigSchema_Handler, }, { MethodName: "ApplyGlobalConfig", Handler: _RuleSet_ApplyGlobalConfig_Handler, }, { MethodName: "ApplyConfig", Handler: _RuleSet_ApplyConfig_Handler, }, { MethodName: "Check", Handler: _RuleSet_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tflint.proto", }
RuleSet_ServiceDesc is the grpc.ServiceDesc for RuleSet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Runner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Runner", HandlerType: (*RunnerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetModuleContent", Handler: _Runner_GetModuleContent_Handler, }, { MethodName: "GetFile", Handler: _Runner_GetFile_Handler, }, { MethodName: "GetFiles", Handler: _Runner_GetFiles_Handler, }, { MethodName: "GetRuleConfigContent", Handler: _Runner_GetRuleConfigContent_Handler, }, { MethodName: "EvaluateExpr", Handler: _Runner_EvaluateExpr_Handler, }, { MethodName: "EmitIssue", Handler: _Runner_EmitIssue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tflint.proto", }
Runner_ServiceDesc is the grpc.ServiceDesc for Runner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRuleSetServer ¶
func RegisterRuleSetServer(s grpc.ServiceRegistrar, srv RuleSetServer)
func RegisterRunnerServer ¶
func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)
Types ¶
type ApplyConfig ¶
type ApplyConfig struct {
// contains filtered or unexported fields
}
func (*ApplyConfig) Descriptor
deprecated
func (*ApplyConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfig.ProtoReflect.Descriptor instead.
func (*ApplyConfig) ProtoMessage ¶
func (*ApplyConfig) ProtoMessage()
func (*ApplyConfig) ProtoReflect ¶
func (x *ApplyConfig) ProtoReflect() protoreflect.Message
func (*ApplyConfig) Reset ¶
func (x *ApplyConfig) Reset()
func (*ApplyConfig) String ¶
func (x *ApplyConfig) String() string
type ApplyConfig_Request ¶
type ApplyConfig_Request struct {
Content *BodyContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyConfig_Request) Descriptor
deprecated
func (*ApplyConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfig_Request.ProtoReflect.Descriptor instead.
func (*ApplyConfig_Request) GetContent ¶
func (x *ApplyConfig_Request) GetContent() *BodyContent
func (*ApplyConfig_Request) ProtoMessage ¶
func (*ApplyConfig_Request) ProtoMessage()
func (*ApplyConfig_Request) ProtoReflect ¶
func (x *ApplyConfig_Request) ProtoReflect() protoreflect.Message
func (*ApplyConfig_Request) Reset ¶
func (x *ApplyConfig_Request) Reset()
func (*ApplyConfig_Request) String ¶
func (x *ApplyConfig_Request) String() string
type ApplyConfig_Response ¶
type ApplyConfig_Response struct {
// contains filtered or unexported fields
}
func (*ApplyConfig_Response) Descriptor
deprecated
func (*ApplyConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use ApplyConfig_Response.ProtoReflect.Descriptor instead.
func (*ApplyConfig_Response) ProtoMessage ¶
func (*ApplyConfig_Response) ProtoMessage()
func (*ApplyConfig_Response) ProtoReflect ¶
func (x *ApplyConfig_Response) ProtoReflect() protoreflect.Message
func (*ApplyConfig_Response) Reset ¶
func (x *ApplyConfig_Response) Reset()
func (*ApplyConfig_Response) String ¶
func (x *ApplyConfig_Response) String() string
type ApplyGlobalConfig ¶
type ApplyGlobalConfig struct {
// contains filtered or unexported fields
}
func (*ApplyGlobalConfig) Descriptor
deprecated
func (*ApplyGlobalConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGlobalConfig.ProtoReflect.Descriptor instead.
func (*ApplyGlobalConfig) ProtoMessage ¶
func (*ApplyGlobalConfig) ProtoMessage()
func (*ApplyGlobalConfig) ProtoReflect ¶
func (x *ApplyGlobalConfig) ProtoReflect() protoreflect.Message
func (*ApplyGlobalConfig) Reset ¶
func (x *ApplyGlobalConfig) Reset()
func (*ApplyGlobalConfig) String ¶
func (x *ApplyGlobalConfig) String() string
type ApplyGlobalConfig_Config ¶
type ApplyGlobalConfig_Config struct {
Rules map[string]*ApplyGlobalConfig_RuleConfig `` /* 151-byte string literal not displayed */
DisabledByDefault bool `protobuf:"varint,2,opt,name=disabled_by_default,json=disabledByDefault,proto3" json:"disabled_by_default,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyGlobalConfig_Config) Descriptor
deprecated
func (*ApplyGlobalConfig_Config) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGlobalConfig_Config.ProtoReflect.Descriptor instead.
func (*ApplyGlobalConfig_Config) GetDisabledByDefault ¶
func (x *ApplyGlobalConfig_Config) GetDisabledByDefault() bool
func (*ApplyGlobalConfig_Config) GetRules ¶
func (x *ApplyGlobalConfig_Config) GetRules() map[string]*ApplyGlobalConfig_RuleConfig
func (*ApplyGlobalConfig_Config) ProtoMessage ¶
func (*ApplyGlobalConfig_Config) ProtoMessage()
func (*ApplyGlobalConfig_Config) ProtoReflect ¶
func (x *ApplyGlobalConfig_Config) ProtoReflect() protoreflect.Message
func (*ApplyGlobalConfig_Config) Reset ¶
func (x *ApplyGlobalConfig_Config) Reset()
func (*ApplyGlobalConfig_Config) String ¶
func (x *ApplyGlobalConfig_Config) String() string
type ApplyGlobalConfig_Request ¶
type ApplyGlobalConfig_Request struct {
Config *ApplyGlobalConfig_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyGlobalConfig_Request) Descriptor
deprecated
func (*ApplyGlobalConfig_Request) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGlobalConfig_Request.ProtoReflect.Descriptor instead.
func (*ApplyGlobalConfig_Request) GetConfig ¶
func (x *ApplyGlobalConfig_Request) GetConfig() *ApplyGlobalConfig_Config
func (*ApplyGlobalConfig_Request) ProtoMessage ¶
func (*ApplyGlobalConfig_Request) ProtoMessage()
func (*ApplyGlobalConfig_Request) ProtoReflect ¶
func (x *ApplyGlobalConfig_Request) ProtoReflect() protoreflect.Message
func (*ApplyGlobalConfig_Request) Reset ¶
func (x *ApplyGlobalConfig_Request) Reset()
func (*ApplyGlobalConfig_Request) String ¶
func (x *ApplyGlobalConfig_Request) String() string
type ApplyGlobalConfig_Response ¶
type ApplyGlobalConfig_Response struct {
// contains filtered or unexported fields
}
func (*ApplyGlobalConfig_Response) Descriptor
deprecated
func (*ApplyGlobalConfig_Response) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGlobalConfig_Response.ProtoReflect.Descriptor instead.
func (*ApplyGlobalConfig_Response) ProtoMessage ¶
func (*ApplyGlobalConfig_Response) ProtoMessage()
func (*ApplyGlobalConfig_Response) ProtoReflect ¶
func (x *ApplyGlobalConfig_Response) ProtoReflect() protoreflect.Message
func (*ApplyGlobalConfig_Response) Reset ¶
func (x *ApplyGlobalConfig_Response) Reset()
func (*ApplyGlobalConfig_Response) String ¶
func (x *ApplyGlobalConfig_Response) String() string
type ApplyGlobalConfig_RuleConfig ¶
type ApplyGlobalConfig_RuleConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyGlobalConfig_RuleConfig) Descriptor
deprecated
func (*ApplyGlobalConfig_RuleConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGlobalConfig_RuleConfig.ProtoReflect.Descriptor instead.
func (*ApplyGlobalConfig_RuleConfig) GetEnabled ¶
func (x *ApplyGlobalConfig_RuleConfig) GetEnabled() bool
func (*ApplyGlobalConfig_RuleConfig) GetName ¶
func (x *ApplyGlobalConfig_RuleConfig) GetName() string
func (*ApplyGlobalConfig_RuleConfig) ProtoMessage ¶
func (*ApplyGlobalConfig_RuleConfig) ProtoMessage()
func (*ApplyGlobalConfig_RuleConfig) ProtoReflect ¶
func (x *ApplyGlobalConfig_RuleConfig) ProtoReflect() protoreflect.Message
func (*ApplyGlobalConfig_RuleConfig) Reset ¶
func (x *ApplyGlobalConfig_RuleConfig) Reset()
func (*ApplyGlobalConfig_RuleConfig) String ¶
func (x *ApplyGlobalConfig_RuleConfig) String() string
type BodyContent ¶
type BodyContent struct {
Attributes map[string]*BodyContent_Attribute `` /* 161-byte string literal not displayed */
Blocks []*BodyContent_Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*BodyContent) Descriptor
deprecated
func (*BodyContent) Descriptor() ([]byte, []int)
Deprecated: Use BodyContent.ProtoReflect.Descriptor instead.
func (*BodyContent) GetAttributes ¶
func (x *BodyContent) GetAttributes() map[string]*BodyContent_Attribute
func (*BodyContent) GetBlocks ¶
func (x *BodyContent) GetBlocks() []*BodyContent_Block
func (*BodyContent) ProtoMessage ¶
func (*BodyContent) ProtoMessage()
func (*BodyContent) ProtoReflect ¶
func (x *BodyContent) ProtoReflect() protoreflect.Message
func (*BodyContent) Reset ¶
func (x *BodyContent) Reset()
func (*BodyContent) String ¶
func (x *BodyContent) String() string
type BodyContent_Attribute ¶
type BodyContent_Attribute struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Expr []byte `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"`
ExprRange *Range `protobuf:"bytes,3,opt,name=expr_range,json=exprRange,proto3" json:"expr_range,omitempty"`
Range *Range `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"`
NameRange *Range `protobuf:"bytes,5,opt,name=name_range,json=nameRange,proto3" json:"name_range,omitempty"`
// contains filtered or unexported fields
}
func (*BodyContent_Attribute) Descriptor
deprecated
func (*BodyContent_Attribute) Descriptor() ([]byte, []int)
Deprecated: Use BodyContent_Attribute.ProtoReflect.Descriptor instead.
func (*BodyContent_Attribute) GetExpr ¶
func (x *BodyContent_Attribute) GetExpr() []byte
func (*BodyContent_Attribute) GetExprRange ¶
func (x *BodyContent_Attribute) GetExprRange() *Range
func (*BodyContent_Attribute) GetName ¶
func (x *BodyContent_Attribute) GetName() string
func (*BodyContent_Attribute) GetNameRange ¶
func (x *BodyContent_Attribute) GetNameRange() *Range
func (*BodyContent_Attribute) GetRange ¶
func (x *BodyContent_Attribute) GetRange() *Range
func (*BodyContent_Attribute) ProtoMessage ¶
func (*BodyContent_Attribute) ProtoMessage()
func (*BodyContent_Attribute) ProtoReflect ¶
func (x *BodyContent_Attribute) ProtoReflect() protoreflect.Message
func (*BodyContent_Attribute) Reset ¶
func (x *BodyContent_Attribute) Reset()
func (*BodyContent_Attribute) String ¶
func (x *BodyContent_Attribute) String() string
type BodyContent_Block ¶
type BodyContent_Block struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
Body *BodyContent `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
DefRange *Range `protobuf:"bytes,4,opt,name=def_range,json=defRange,proto3" json:"def_range,omitempty"`
TypeRange *Range `protobuf:"bytes,5,opt,name=type_range,json=typeRange,proto3" json:"type_range,omitempty"`
LabelRanges []*Range `protobuf:"bytes,6,rep,name=label_ranges,json=labelRanges,proto3" json:"label_ranges,omitempty"`
// contains filtered or unexported fields
}
func (*BodyContent_Block) Descriptor
deprecated
func (*BodyContent_Block) Descriptor() ([]byte, []int)
Deprecated: Use BodyContent_Block.ProtoReflect.Descriptor instead.
func (*BodyContent_Block) GetBody ¶
func (x *BodyContent_Block) GetBody() *BodyContent
func (*BodyContent_Block) GetDefRange ¶
func (x *BodyContent_Block) GetDefRange() *Range
func (*BodyContent_Block) GetLabelRanges ¶
func (x *BodyContent_Block) GetLabelRanges() []*Range
func (*BodyContent_Block) GetLabels ¶
func (x *BodyContent_Block) GetLabels() []string
func (*BodyContent_Block) GetType ¶
func (x *BodyContent_Block) GetType() string
func (*BodyContent_Block) GetTypeRange ¶
func (x *BodyContent_Block) GetTypeRange() *Range
func (*BodyContent_Block) ProtoMessage ¶
func (*BodyContent_Block) ProtoMessage()
func (*BodyContent_Block) ProtoReflect ¶
func (x *BodyContent_Block) ProtoReflect() protoreflect.Message
func (*BodyContent_Block) Reset ¶
func (x *BodyContent_Block) Reset()
func (*BodyContent_Block) String ¶
func (x *BodyContent_Block) String() string
type BodySchema ¶
type BodySchema struct {
Attributes []*BodySchema_Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
Blocks []*BodySchema_Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
// contains filtered or unexported fields
}
func (*BodySchema) Descriptor
deprecated
func (*BodySchema) Descriptor() ([]byte, []int)
Deprecated: Use BodySchema.ProtoReflect.Descriptor instead.
func (*BodySchema) GetAttributes ¶
func (x *BodySchema) GetAttributes() []*BodySchema_Attribute
func (*BodySchema) GetBlocks ¶
func (x *BodySchema) GetBlocks() []*BodySchema_Block
func (*BodySchema) ProtoMessage ¶
func (*BodySchema) ProtoMessage()
func (*BodySchema) ProtoReflect ¶
func (x *BodySchema) ProtoReflect() protoreflect.Message
func (*BodySchema) Reset ¶
func (x *BodySchema) Reset()
func (*BodySchema) String ¶
func (x *BodySchema) String() string
type BodySchema_Attribute ¶
type BodySchema_Attribute struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
// contains filtered or unexported fields
}
func (*BodySchema_Attribute) Descriptor
deprecated
func (*BodySchema_Attribute) Descriptor() ([]byte, []int)
Deprecated: Use BodySchema_Attribute.ProtoReflect.Descriptor instead.
func (*BodySchema_Attribute) GetName ¶
func (x *BodySchema_Attribute) GetName() string
func (*BodySchema_Attribute) GetRequired ¶
func (x *BodySchema_Attribute) GetRequired() bool
func (*BodySchema_Attribute) ProtoMessage ¶
func (*BodySchema_Attribute) ProtoMessage()
func (*BodySchema_Attribute) ProtoReflect ¶
func (x *BodySchema_Attribute) ProtoReflect() protoreflect.Message
func (*BodySchema_Attribute) Reset ¶
func (x *BodySchema_Attribute) Reset()
func (*BodySchema_Attribute) String ¶
func (x *BodySchema_Attribute) String() string
type BodySchema_Block ¶
type BodySchema_Block struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
LabelNames []string `protobuf:"bytes,2,rep,name=label_names,json=labelNames,proto3" json:"label_names,omitempty"`
Body *BodySchema `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*BodySchema_Block) Descriptor
deprecated
func (*BodySchema_Block) Descriptor() ([]byte, []int)
Deprecated: Use BodySchema_Block.ProtoReflect.Descriptor instead.
func (*BodySchema_Block) GetBody ¶
func (x *BodySchema_Block) GetBody() *BodySchema
func (*BodySchema_Block) GetLabelNames ¶
func (x *BodySchema_Block) GetLabelNames() []string
func (*BodySchema_Block) GetType ¶
func (x *BodySchema_Block) GetType() string
func (*BodySchema_Block) ProtoMessage ¶
func (*BodySchema_Block) ProtoMessage()
func (*BodySchema_Block) ProtoReflect ¶
func (x *BodySchema_Block) ProtoReflect() protoreflect.Message
func (*BodySchema_Block) Reset ¶
func (x *BodySchema_Block) Reset()
func (*BodySchema_Block) String ¶
func (x *BodySchema_Block) String() string
type Check ¶
type Check struct {
// contains filtered or unexported fields
}
func (*Check) Descriptor
deprecated
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
type Check_Request ¶
type Check_Request struct {
Runner uint32 `protobuf:"varint,1,opt,name=runner,proto3" json:"runner,omitempty"`
// contains filtered or unexported fields
}
func (*Check_Request) Descriptor
deprecated
func (*Check_Request) Descriptor() ([]byte, []int)
Deprecated: Use Check_Request.ProtoReflect.Descriptor instead.
func (*Check_Request) GetRunner ¶
func (x *Check_Request) GetRunner() uint32
func (*Check_Request) ProtoMessage ¶
func (*Check_Request) ProtoMessage()
func (*Check_Request) ProtoReflect ¶
func (x *Check_Request) ProtoReflect() protoreflect.Message
func (*Check_Request) Reset ¶
func (x *Check_Request) Reset()
func (*Check_Request) String ¶
func (x *Check_Request) String() string
type Check_Response ¶
type Check_Response struct {
// contains filtered or unexported fields
}
func (*Check_Response) Descriptor
deprecated
func (*Check_Response) Descriptor() ([]byte, []int)
Deprecated: Use Check_Response.ProtoReflect.Descriptor instead.
func (*Check_Response) ProtoMessage ¶
func (*Check_Response) ProtoMessage()
func (*Check_Response) ProtoReflect ¶
func (x *Check_Response) ProtoReflect() protoreflect.Message
func (*Check_Response) Reset ¶
func (x *Check_Response) Reset()
func (*Check_Response) String ¶
func (x *Check_Response) String() string
type EmitIssue ¶
type EmitIssue struct {
// contains filtered or unexported fields
}
func (*EmitIssue) Descriptor
deprecated
func (*EmitIssue) ProtoMessage ¶
func (*EmitIssue) ProtoMessage()
func (*EmitIssue) ProtoReflect ¶
func (x *EmitIssue) ProtoReflect() protoreflect.Message
type EmitIssue_Request ¶
type EmitIssue_Request struct {
Rule *EmitIssue_Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Range *Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
// contains filtered or unexported fields
}
func (*EmitIssue_Request) Descriptor
deprecated
func (*EmitIssue_Request) Descriptor() ([]byte, []int)
Deprecated: Use EmitIssue_Request.ProtoReflect.Descriptor instead.
func (*EmitIssue_Request) GetMessage ¶
func (x *EmitIssue_Request) GetMessage() string
func (*EmitIssue_Request) GetRange ¶
func (x *EmitIssue_Request) GetRange() *Range
func (*EmitIssue_Request) GetRule ¶
func (x *EmitIssue_Request) GetRule() *EmitIssue_Rule
func (*EmitIssue_Request) ProtoMessage ¶
func (*EmitIssue_Request) ProtoMessage()
func (*EmitIssue_Request) ProtoReflect ¶
func (x *EmitIssue_Request) ProtoReflect() protoreflect.Message
func (*EmitIssue_Request) Reset ¶
func (x *EmitIssue_Request) Reset()
func (*EmitIssue_Request) String ¶
func (x *EmitIssue_Request) String() string
type EmitIssue_Response ¶
type EmitIssue_Response struct {
// contains filtered or unexported fields
}
func (*EmitIssue_Response) Descriptor
deprecated
func (*EmitIssue_Response) Descriptor() ([]byte, []int)
Deprecated: Use EmitIssue_Response.ProtoReflect.Descriptor instead.
func (*EmitIssue_Response) ProtoMessage ¶
func (*EmitIssue_Response) ProtoMessage()
func (*EmitIssue_Response) ProtoReflect ¶
func (x *EmitIssue_Response) ProtoReflect() protoreflect.Message
func (*EmitIssue_Response) Reset ¶
func (x *EmitIssue_Response) Reset()
func (*EmitIssue_Response) String ¶
func (x *EmitIssue_Response) String() string
type EmitIssue_Rule ¶
type EmitIssue_Rule struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Severity EmitIssue_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=proto.EmitIssue_Severity" json:"severity,omitempty"`
Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"`
// contains filtered or unexported fields
}
func (*EmitIssue_Rule) Descriptor
deprecated
func (*EmitIssue_Rule) Descriptor() ([]byte, []int)
Deprecated: Use EmitIssue_Rule.ProtoReflect.Descriptor instead.
func (*EmitIssue_Rule) GetEnabled ¶
func (x *EmitIssue_Rule) GetEnabled() bool
func (*EmitIssue_Rule) GetLink ¶
func (x *EmitIssue_Rule) GetLink() string
func (*EmitIssue_Rule) GetName ¶
func (x *EmitIssue_Rule) GetName() string
func (*EmitIssue_Rule) GetSeverity ¶
func (x *EmitIssue_Rule) GetSeverity() EmitIssue_Severity
func (*EmitIssue_Rule) ProtoMessage ¶
func (*EmitIssue_Rule) ProtoMessage()
func (*EmitIssue_Rule) ProtoReflect ¶
func (x *EmitIssue_Rule) ProtoReflect() protoreflect.Message
func (*EmitIssue_Rule) Reset ¶
func (x *EmitIssue_Rule) Reset()
func (*EmitIssue_Rule) String ¶
func (x *EmitIssue_Rule) String() string
type EmitIssue_Severity ¶
type EmitIssue_Severity int32
const ( EmitIssue_SEVERITY_UNSPECIFIED EmitIssue_Severity = 0 EmitIssue_SEVERITY_ERROR EmitIssue_Severity = 1 EmitIssue_SEVERITY_WARNING EmitIssue_Severity = 2 EmitIssue_SEVERITY_NOTICE EmitIssue_Severity = 3 )
func (EmitIssue_Severity) Descriptor ¶
func (EmitIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (EmitIssue_Severity) Enum ¶
func (x EmitIssue_Severity) Enum() *EmitIssue_Severity
func (EmitIssue_Severity) EnumDescriptor
deprecated
func (EmitIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmitIssue_Severity.Descriptor instead.
func (EmitIssue_Severity) Number ¶
func (x EmitIssue_Severity) Number() protoreflect.EnumNumber
func (EmitIssue_Severity) String ¶
func (x EmitIssue_Severity) String() string
func (EmitIssue_Severity) Type ¶
func (EmitIssue_Severity) Type() protoreflect.EnumType
type ErrorCode ¶
type ErrorCode int32
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type ErrorDetail ¶
type ErrorDetail struct {
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=proto.ErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ErrorDetail) Descriptor
deprecated
func (*ErrorDetail) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.
func (*ErrorDetail) GetCode ¶
func (x *ErrorDetail) GetCode() ErrorCode
func (*ErrorDetail) GetMessage ¶
func (x *ErrorDetail) GetMessage() string
func (*ErrorDetail) ProtoMessage ¶
func (*ErrorDetail) ProtoMessage()
func (*ErrorDetail) ProtoReflect ¶
func (x *ErrorDetail) ProtoReflect() protoreflect.Message
func (*ErrorDetail) Reset ¶
func (x *ErrorDetail) Reset()
func (*ErrorDetail) String ¶
func (x *ErrorDetail) String() string
type EvaluateExpr ¶
type EvaluateExpr struct {
// contains filtered or unexported fields
}
func (*EvaluateExpr) Descriptor
deprecated
func (*EvaluateExpr) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateExpr.ProtoReflect.Descriptor instead.
func (*EvaluateExpr) ProtoMessage ¶
func (*EvaluateExpr) ProtoMessage()
func (*EvaluateExpr) ProtoReflect ¶
func (x *EvaluateExpr) ProtoReflect() protoreflect.Message
func (*EvaluateExpr) Reset ¶
func (x *EvaluateExpr) Reset()
func (*EvaluateExpr) String ¶
func (x *EvaluateExpr) String() string
type EvaluateExpr_Option ¶
type EvaluateExpr_Option struct {
Type []byte `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
ModuleCtx ModuleCtxType `protobuf:"varint,2,opt,name=module_ctx,json=moduleCtx,proto3,enum=proto.ModuleCtxType" json:"module_ctx,omitempty"`
// contains filtered or unexported fields
}
func (*EvaluateExpr_Option) Descriptor
deprecated
func (*EvaluateExpr_Option) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateExpr_Option.ProtoReflect.Descriptor instead.
func (*EvaluateExpr_Option) GetModuleCtx ¶
func (x *EvaluateExpr_Option) GetModuleCtx() ModuleCtxType
func (*EvaluateExpr_Option) GetType ¶
func (x *EvaluateExpr_Option) GetType() []byte
func (*EvaluateExpr_Option) ProtoMessage ¶
func (*EvaluateExpr_Option) ProtoMessage()
func (*EvaluateExpr_Option) ProtoReflect ¶
func (x *EvaluateExpr_Option) ProtoReflect() protoreflect.Message
func (*EvaluateExpr_Option) Reset ¶
func (x *EvaluateExpr_Option) Reset()
func (*EvaluateExpr_Option) String ¶
func (x *EvaluateExpr_Option) String() string
type EvaluateExpr_Request ¶
type EvaluateExpr_Request struct {
Expr []byte `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
ExprRange *Range `protobuf:"bytes,2,opt,name=expr_range,json=exprRange,proto3" json:"expr_range,omitempty"`
Option *EvaluateExpr_Option `protobuf:"bytes,3,opt,name=option,proto3" json:"option,omitempty"`
// contains filtered or unexported fields
}
func (*EvaluateExpr_Request) Descriptor
deprecated
func (*EvaluateExpr_Request) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateExpr_Request.ProtoReflect.Descriptor instead.
func (*EvaluateExpr_Request) GetExpr ¶
func (x *EvaluateExpr_Request) GetExpr() []byte
func (*EvaluateExpr_Request) GetExprRange ¶
func (x *EvaluateExpr_Request) GetExprRange() *Range
func (*EvaluateExpr_Request) GetOption ¶
func (x *EvaluateExpr_Request) GetOption() *EvaluateExpr_Option
func (*EvaluateExpr_Request) ProtoMessage ¶
func (*EvaluateExpr_Request) ProtoMessage()
func (*EvaluateExpr_Request) ProtoReflect ¶
func (x *EvaluateExpr_Request) ProtoReflect() protoreflect.Message
func (*EvaluateExpr_Request) Reset ¶
func (x *EvaluateExpr_Request) Reset()
func (*EvaluateExpr_Request) String ¶
func (x *EvaluateExpr_Request) String() string
type EvaluateExpr_Response ¶
type EvaluateExpr_Response struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*EvaluateExpr_Response) Descriptor
deprecated
func (*EvaluateExpr_Response) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateExpr_Response.ProtoReflect.Descriptor instead.
func (*EvaluateExpr_Response) GetValue ¶
func (x *EvaluateExpr_Response) GetValue() []byte
func (*EvaluateExpr_Response) ProtoMessage ¶
func (*EvaluateExpr_Response) ProtoMessage()
func (*EvaluateExpr_Response) ProtoReflect ¶
func (x *EvaluateExpr_Response) ProtoReflect() protoreflect.Message
func (*EvaluateExpr_Response) Reset ¶
func (x *EvaluateExpr_Response) Reset()
func (*EvaluateExpr_Response) String ¶
func (x *EvaluateExpr_Response) String() string
type GetConfigSchema ¶
type GetConfigSchema struct {
// contains filtered or unexported fields
}
func (*GetConfigSchema) Descriptor
deprecated
func (*GetConfigSchema) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigSchema.ProtoReflect.Descriptor instead.
func (*GetConfigSchema) ProtoMessage ¶
func (*GetConfigSchema) ProtoMessage()
func (*GetConfigSchema) ProtoReflect ¶
func (x *GetConfigSchema) ProtoReflect() protoreflect.Message
func (*GetConfigSchema) Reset ¶
func (x *GetConfigSchema) Reset()
func (*GetConfigSchema) String ¶
func (x *GetConfigSchema) String() string
type GetConfigSchema_Request ¶
type GetConfigSchema_Request struct {
// contains filtered or unexported fields
}
func (*GetConfigSchema_Request) Descriptor
deprecated
func (*GetConfigSchema_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigSchema_Request.ProtoReflect.Descriptor instead.
func (*GetConfigSchema_Request) ProtoMessage ¶
func (*GetConfigSchema_Request) ProtoMessage()
func (*GetConfigSchema_Request) ProtoReflect ¶
func (x *GetConfigSchema_Request) ProtoReflect() protoreflect.Message
func (*GetConfigSchema_Request) Reset ¶
func (x *GetConfigSchema_Request) Reset()
func (*GetConfigSchema_Request) String ¶
func (x *GetConfigSchema_Request) String() string
type GetConfigSchema_Response ¶
type GetConfigSchema_Response struct {
Schema *BodySchema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}
func (*GetConfigSchema_Response) Descriptor
deprecated
func (*GetConfigSchema_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigSchema_Response.ProtoReflect.Descriptor instead.
func (*GetConfigSchema_Response) GetSchema ¶
func (x *GetConfigSchema_Response) GetSchema() *BodySchema
func (*GetConfigSchema_Response) ProtoMessage ¶
func (*GetConfigSchema_Response) ProtoMessage()
func (*GetConfigSchema_Response) ProtoReflect ¶
func (x *GetConfigSchema_Response) ProtoReflect() protoreflect.Message
func (*GetConfigSchema_Response) Reset ¶
func (x *GetConfigSchema_Response) Reset()
func (*GetConfigSchema_Response) String ¶
func (x *GetConfigSchema_Response) String() string
type GetFile ¶
type GetFile struct {
// contains filtered or unexported fields
}
func (*GetFile) Descriptor
deprecated
func (*GetFile) ProtoMessage ¶
func (*GetFile) ProtoMessage()
func (*GetFile) ProtoReflect ¶
func (x *GetFile) ProtoReflect() protoreflect.Message
type GetFile_Request ¶
type GetFile_Request struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetFile_Request) Descriptor
deprecated
func (*GetFile_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetFile_Request.ProtoReflect.Descriptor instead.
func (*GetFile_Request) GetName ¶
func (x *GetFile_Request) GetName() string
func (*GetFile_Request) ProtoMessage ¶
func (*GetFile_Request) ProtoMessage()
func (*GetFile_Request) ProtoReflect ¶
func (x *GetFile_Request) ProtoReflect() protoreflect.Message
func (*GetFile_Request) Reset ¶
func (x *GetFile_Request) Reset()
func (*GetFile_Request) String ¶
func (x *GetFile_Request) String() string
type GetFile_Response ¶
type GetFile_Response struct {
File []byte `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
func (*GetFile_Response) Descriptor
deprecated
func (*GetFile_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetFile_Response.ProtoReflect.Descriptor instead.
func (*GetFile_Response) GetFile ¶
func (x *GetFile_Response) GetFile() []byte
func (*GetFile_Response) ProtoMessage ¶
func (*GetFile_Response) ProtoMessage()
func (*GetFile_Response) ProtoReflect ¶
func (x *GetFile_Response) ProtoReflect() protoreflect.Message
func (*GetFile_Response) Reset ¶
func (x *GetFile_Response) Reset()
func (*GetFile_Response) String ¶
func (x *GetFile_Response) String() string
type GetFiles ¶
type GetFiles struct {
// contains filtered or unexported fields
}
func (*GetFiles) Descriptor
deprecated
func (*GetFiles) ProtoMessage ¶
func (*GetFiles) ProtoMessage()
func (*GetFiles) ProtoReflect ¶
func (x *GetFiles) ProtoReflect() protoreflect.Message
type GetFiles_Request ¶
type GetFiles_Request struct {
// contains filtered or unexported fields
}
func (*GetFiles_Request) Descriptor
deprecated
func (*GetFiles_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetFiles_Request.ProtoReflect.Descriptor instead.
func (*GetFiles_Request) ProtoMessage ¶
func (*GetFiles_Request) ProtoMessage()
func (*GetFiles_Request) ProtoReflect ¶
func (x *GetFiles_Request) ProtoReflect() protoreflect.Message
func (*GetFiles_Request) Reset ¶
func (x *GetFiles_Request) Reset()
func (*GetFiles_Request) String ¶
func (x *GetFiles_Request) String() string
type GetFiles_Response ¶
type GetFiles_Response struct {
Files map[string][]byte `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetFiles_Response) Descriptor
deprecated
func (*GetFiles_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetFiles_Response.ProtoReflect.Descriptor instead.
func (*GetFiles_Response) GetFiles ¶
func (x *GetFiles_Response) GetFiles() map[string][]byte
func (*GetFiles_Response) ProtoMessage ¶
func (*GetFiles_Response) ProtoMessage()
func (*GetFiles_Response) ProtoReflect ¶
func (x *GetFiles_Response) ProtoReflect() protoreflect.Message
func (*GetFiles_Response) Reset ¶
func (x *GetFiles_Response) Reset()
func (*GetFiles_Response) String ¶
func (x *GetFiles_Response) String() string
type GetModuleContent ¶
type GetModuleContent struct {
// contains filtered or unexported fields
}
func (*GetModuleContent) Descriptor
deprecated
func (*GetModuleContent) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleContent.ProtoReflect.Descriptor instead.
func (*GetModuleContent) ProtoMessage ¶
func (*GetModuleContent) ProtoMessage()
func (*GetModuleContent) ProtoReflect ¶
func (x *GetModuleContent) ProtoReflect() protoreflect.Message
func (*GetModuleContent) Reset ¶
func (x *GetModuleContent) Reset()
func (*GetModuleContent) String ¶
func (x *GetModuleContent) String() string
type GetModuleContent_Hint ¶
type GetModuleContent_Hint struct {
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// contains filtered or unexported fields
}
func (*GetModuleContent_Hint) Descriptor
deprecated
func (*GetModuleContent_Hint) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleContent_Hint.ProtoReflect.Descriptor instead.
func (*GetModuleContent_Hint) GetResourceType ¶
func (x *GetModuleContent_Hint) GetResourceType() string
func (*GetModuleContent_Hint) ProtoMessage ¶
func (*GetModuleContent_Hint) ProtoMessage()
func (*GetModuleContent_Hint) ProtoReflect ¶
func (x *GetModuleContent_Hint) ProtoReflect() protoreflect.Message
func (*GetModuleContent_Hint) Reset ¶
func (x *GetModuleContent_Hint) Reset()
func (*GetModuleContent_Hint) String ¶
func (x *GetModuleContent_Hint) String() string
type GetModuleContent_Option ¶
type GetModuleContent_Option struct {
ModuleCtx ModuleCtxType `protobuf:"varint,1,opt,name=module_ctx,json=moduleCtx,proto3,enum=proto.ModuleCtxType" json:"module_ctx,omitempty"`
Hint *GetModuleContent_Hint `protobuf:"bytes,2,opt,name=hint,proto3" json:"hint,omitempty"`
IncludeNotCreated bool `protobuf:"varint,3,opt,name=include_not_created,json=includeNotCreated,proto3" json:"include_not_created,omitempty"`
// contains filtered or unexported fields
}
func (*GetModuleContent_Option) Descriptor
deprecated
func (*GetModuleContent_Option) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleContent_Option.ProtoReflect.Descriptor instead.
func (*GetModuleContent_Option) GetHint ¶
func (x *GetModuleContent_Option) GetHint() *GetModuleContent_Hint
func (*GetModuleContent_Option) GetIncludeNotCreated ¶ added in v0.11.0
func (x *GetModuleContent_Option) GetIncludeNotCreated() bool
func (*GetModuleContent_Option) GetModuleCtx ¶
func (x *GetModuleContent_Option) GetModuleCtx() ModuleCtxType
func (*GetModuleContent_Option) ProtoMessage ¶
func (*GetModuleContent_Option) ProtoMessage()
func (*GetModuleContent_Option) ProtoReflect ¶
func (x *GetModuleContent_Option) ProtoReflect() protoreflect.Message
func (*GetModuleContent_Option) Reset ¶
func (x *GetModuleContent_Option) Reset()
func (*GetModuleContent_Option) String ¶
func (x *GetModuleContent_Option) String() string
type GetModuleContent_Request ¶
type GetModuleContent_Request struct {
Schema *BodySchema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
Option *GetModuleContent_Option `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
// contains filtered or unexported fields
}
func (*GetModuleContent_Request) Descriptor
deprecated
func (*GetModuleContent_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleContent_Request.ProtoReflect.Descriptor instead.
func (*GetModuleContent_Request) GetOption ¶
func (x *GetModuleContent_Request) GetOption() *GetModuleContent_Option
func (*GetModuleContent_Request) GetSchema ¶
func (x *GetModuleContent_Request) GetSchema() *BodySchema
func (*GetModuleContent_Request) ProtoMessage ¶
func (*GetModuleContent_Request) ProtoMessage()
func (*GetModuleContent_Request) ProtoReflect ¶
func (x *GetModuleContent_Request) ProtoReflect() protoreflect.Message
func (*GetModuleContent_Request) Reset ¶
func (x *GetModuleContent_Request) Reset()
func (*GetModuleContent_Request) String ¶
func (x *GetModuleContent_Request) String() string
type GetModuleContent_Response ¶
type GetModuleContent_Response struct {
Content *BodyContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*GetModuleContent_Response) Descriptor
deprecated
func (*GetModuleContent_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleContent_Response.ProtoReflect.Descriptor instead.
func (*GetModuleContent_Response) GetContent ¶
func (x *GetModuleContent_Response) GetContent() *BodyContent
func (*GetModuleContent_Response) ProtoMessage ¶
func (*GetModuleContent_Response) ProtoMessage()
func (*GetModuleContent_Response) ProtoReflect ¶
func (x *GetModuleContent_Response) ProtoReflect() protoreflect.Message
func (*GetModuleContent_Response) Reset ¶
func (x *GetModuleContent_Response) Reset()
func (*GetModuleContent_Response) String ¶
func (x *GetModuleContent_Response) String() string
type GetName ¶
type GetName struct {
// contains filtered or unexported fields
}
func (*GetName) Descriptor
deprecated
func (*GetName) ProtoMessage ¶
func (*GetName) ProtoMessage()
func (*GetName) ProtoReflect ¶
func (x *GetName) ProtoReflect() protoreflect.Message
type GetName_Request ¶
type GetName_Request struct {
// contains filtered or unexported fields
}
func (*GetName_Request) Descriptor
deprecated
func (*GetName_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetName_Request.ProtoReflect.Descriptor instead.
func (*GetName_Request) ProtoMessage ¶
func (*GetName_Request) ProtoMessage()
func (*GetName_Request) ProtoReflect ¶
func (x *GetName_Request) ProtoReflect() protoreflect.Message
func (*GetName_Request) Reset ¶
func (x *GetName_Request) Reset()
func (*GetName_Request) String ¶
func (x *GetName_Request) String() string
type GetName_Response ¶
type GetName_Response struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetName_Response) Descriptor
deprecated
func (*GetName_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetName_Response.ProtoReflect.Descriptor instead.
func (*GetName_Response) GetName ¶
func (x *GetName_Response) GetName() string
func (*GetName_Response) ProtoMessage ¶
func (*GetName_Response) ProtoMessage()
func (*GetName_Response) ProtoReflect ¶
func (x *GetName_Response) ProtoReflect() protoreflect.Message
func (*GetName_Response) Reset ¶
func (x *GetName_Response) Reset()
func (*GetName_Response) String ¶
func (x *GetName_Response) String() string
type GetRuleConfigContent ¶
type GetRuleConfigContent struct {
// contains filtered or unexported fields
}
func (*GetRuleConfigContent) Descriptor
deprecated
func (*GetRuleConfigContent) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleConfigContent.ProtoReflect.Descriptor instead.
func (*GetRuleConfigContent) ProtoMessage ¶
func (*GetRuleConfigContent) ProtoMessage()
func (*GetRuleConfigContent) ProtoReflect ¶
func (x *GetRuleConfigContent) ProtoReflect() protoreflect.Message
func (*GetRuleConfigContent) Reset ¶
func (x *GetRuleConfigContent) Reset()
func (*GetRuleConfigContent) String ¶
func (x *GetRuleConfigContent) String() string
type GetRuleConfigContent_Request ¶
type GetRuleConfigContent_Request struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Schema *BodySchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}
func (*GetRuleConfigContent_Request) Descriptor
deprecated
func (*GetRuleConfigContent_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleConfigContent_Request.ProtoReflect.Descriptor instead.
func (*GetRuleConfigContent_Request) GetName ¶
func (x *GetRuleConfigContent_Request) GetName() string
func (*GetRuleConfigContent_Request) GetSchema ¶
func (x *GetRuleConfigContent_Request) GetSchema() *BodySchema
func (*GetRuleConfigContent_Request) ProtoMessage ¶
func (*GetRuleConfigContent_Request) ProtoMessage()
func (*GetRuleConfigContent_Request) ProtoReflect ¶
func (x *GetRuleConfigContent_Request) ProtoReflect() protoreflect.Message
func (*GetRuleConfigContent_Request) Reset ¶
func (x *GetRuleConfigContent_Request) Reset()
func (*GetRuleConfigContent_Request) String ¶
func (x *GetRuleConfigContent_Request) String() string
type GetRuleConfigContent_Response ¶
type GetRuleConfigContent_Response struct {
Content *BodyContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*GetRuleConfigContent_Response) Descriptor
deprecated
func (*GetRuleConfigContent_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleConfigContent_Response.ProtoReflect.Descriptor instead.
func (*GetRuleConfigContent_Response) GetContent ¶
func (x *GetRuleConfigContent_Response) GetContent() *BodyContent
func (*GetRuleConfigContent_Response) ProtoMessage ¶
func (*GetRuleConfigContent_Response) ProtoMessage()
func (*GetRuleConfigContent_Response) ProtoReflect ¶
func (x *GetRuleConfigContent_Response) ProtoReflect() protoreflect.Message
func (*GetRuleConfigContent_Response) Reset ¶
func (x *GetRuleConfigContent_Response) Reset()
func (*GetRuleConfigContent_Response) String ¶
func (x *GetRuleConfigContent_Response) String() string
type GetRuleNames ¶
type GetRuleNames struct {
// contains filtered or unexported fields
}
func (*GetRuleNames) Descriptor
deprecated
func (*GetRuleNames) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleNames.ProtoReflect.Descriptor instead.
func (*GetRuleNames) ProtoMessage ¶
func (*GetRuleNames) ProtoMessage()
func (*GetRuleNames) ProtoReflect ¶
func (x *GetRuleNames) ProtoReflect() protoreflect.Message
func (*GetRuleNames) Reset ¶
func (x *GetRuleNames) Reset()
func (*GetRuleNames) String ¶
func (x *GetRuleNames) String() string
type GetRuleNames_Request ¶
type GetRuleNames_Request struct {
// contains filtered or unexported fields
}
func (*GetRuleNames_Request) Descriptor
deprecated
func (*GetRuleNames_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleNames_Request.ProtoReflect.Descriptor instead.
func (*GetRuleNames_Request) ProtoMessage ¶
func (*GetRuleNames_Request) ProtoMessage()
func (*GetRuleNames_Request) ProtoReflect ¶
func (x *GetRuleNames_Request) ProtoReflect() protoreflect.Message
func (*GetRuleNames_Request) Reset ¶
func (x *GetRuleNames_Request) Reset()
func (*GetRuleNames_Request) String ¶
func (x *GetRuleNames_Request) String() string
type GetRuleNames_Response ¶
type GetRuleNames_Response struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
func (*GetRuleNames_Response) Descriptor
deprecated
func (*GetRuleNames_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleNames_Response.ProtoReflect.Descriptor instead.
func (*GetRuleNames_Response) GetNames ¶
func (x *GetRuleNames_Response) GetNames() []string
func (*GetRuleNames_Response) ProtoMessage ¶
func (*GetRuleNames_Response) ProtoMessage()
func (*GetRuleNames_Response) ProtoReflect ¶
func (x *GetRuleNames_Response) ProtoReflect() protoreflect.Message
func (*GetRuleNames_Response) Reset ¶
func (x *GetRuleNames_Response) Reset()
func (*GetRuleNames_Response) String ¶
func (x *GetRuleNames_Response) String() string
type GetVersion ¶
type GetVersion struct {
// contains filtered or unexported fields
}
func (*GetVersion) Descriptor
deprecated
func (*GetVersion) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion.ProtoReflect.Descriptor instead.
func (*GetVersion) ProtoMessage ¶
func (*GetVersion) ProtoMessage()
func (*GetVersion) ProtoReflect ¶
func (x *GetVersion) ProtoReflect() protoreflect.Message
func (*GetVersion) Reset ¶
func (x *GetVersion) Reset()
func (*GetVersion) String ¶
func (x *GetVersion) String() string
type GetVersion_Request ¶
type GetVersion_Request struct {
// contains filtered or unexported fields
}
func (*GetVersion_Request) Descriptor
deprecated
func (*GetVersion_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion_Request.ProtoReflect.Descriptor instead.
func (*GetVersion_Request) ProtoMessage ¶
func (*GetVersion_Request) ProtoMessage()
func (*GetVersion_Request) ProtoReflect ¶
func (x *GetVersion_Request) ProtoReflect() protoreflect.Message
func (*GetVersion_Request) Reset ¶
func (x *GetVersion_Request) Reset()
func (*GetVersion_Request) String ¶
func (x *GetVersion_Request) String() string
type GetVersion_Response ¶
type GetVersion_Response struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*GetVersion_Response) Descriptor
deprecated
func (*GetVersion_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetVersion_Response.ProtoReflect.Descriptor instead.
func (*GetVersion_Response) GetVersion ¶
func (x *GetVersion_Response) GetVersion() string
func (*GetVersion_Response) ProtoMessage ¶
func (*GetVersion_Response) ProtoMessage()
func (*GetVersion_Response) ProtoReflect ¶
func (x *GetVersion_Response) ProtoReflect() protoreflect.Message
func (*GetVersion_Response) Reset ¶
func (x *GetVersion_Response) Reset()
func (*GetVersion_Response) String ¶
func (x *GetVersion_Response) String() string
type ModuleCtxType ¶
type ModuleCtxType int32
const ( ModuleCtxType_MODULE_CTX_TYPE_UNSPECIFIED ModuleCtxType = 0 ModuleCtxType_MODULE_CTX_TYPE_SELF ModuleCtxType = 1 ModuleCtxType_MODULE_CTX_TYPE_ROOT ModuleCtxType = 2 )
func (ModuleCtxType) Descriptor ¶
func (ModuleCtxType) Descriptor() protoreflect.EnumDescriptor
func (ModuleCtxType) Enum ¶
func (x ModuleCtxType) Enum() *ModuleCtxType
func (ModuleCtxType) EnumDescriptor
deprecated
func (ModuleCtxType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ModuleCtxType.Descriptor instead.
func (ModuleCtxType) Number ¶
func (x ModuleCtxType) Number() protoreflect.EnumNumber
func (ModuleCtxType) String ¶
func (x ModuleCtxType) String() string
func (ModuleCtxType) Type ¶
func (ModuleCtxType) Type() protoreflect.EnumType
type Range ¶
type Range struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
Start *Range_Pos `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
End *Range_Pos `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) GetFilename ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type Range_Pos ¶
type Range_Pos struct {
Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
Byte int64 `protobuf:"varint,3,opt,name=byte,proto3" json:"byte,omitempty"`
// contains filtered or unexported fields
}
func (*Range_Pos) Descriptor
deprecated
func (*Range_Pos) ProtoMessage ¶
func (*Range_Pos) ProtoMessage()
func (*Range_Pos) ProtoReflect ¶
func (x *Range_Pos) ProtoReflect() protoreflect.Message
type RuleSetClient ¶
type RuleSetClient interface {
GetName(ctx context.Context, in *GetName_Request, opts ...grpc.CallOption) (*GetName_Response, error)
GetVersion(ctx context.Context, in *GetVersion_Request, opts ...grpc.CallOption) (*GetVersion_Response, error)
GetRuleNames(ctx context.Context, in *GetRuleNames_Request, opts ...grpc.CallOption) (*GetRuleNames_Response, error)
GetConfigSchema(ctx context.Context, in *GetConfigSchema_Request, opts ...grpc.CallOption) (*GetConfigSchema_Response, error)
ApplyGlobalConfig(ctx context.Context, in *ApplyGlobalConfig_Request, opts ...grpc.CallOption) (*ApplyGlobalConfig_Response, error)
ApplyConfig(ctx context.Context, in *ApplyConfig_Request, opts ...grpc.CallOption) (*ApplyConfig_Response, error)
Check(ctx context.Context, in *Check_Request, opts ...grpc.CallOption) (*Check_Response, error)
}
RuleSetClient is the client API for RuleSet service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRuleSetClient ¶
func NewRuleSetClient(cc grpc.ClientConnInterface) RuleSetClient
type RuleSetServer ¶
type RuleSetServer interface {
GetName(context.Context, *GetName_Request) (*GetName_Response, error)
GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
GetRuleNames(context.Context, *GetRuleNames_Request) (*GetRuleNames_Response, error)
GetConfigSchema(context.Context, *GetConfigSchema_Request) (*GetConfigSchema_Response, error)
ApplyGlobalConfig(context.Context, *ApplyGlobalConfig_Request) (*ApplyGlobalConfig_Response, error)
ApplyConfig(context.Context, *ApplyConfig_Request) (*ApplyConfig_Response, error)
Check(context.Context, *Check_Request) (*Check_Response, error)
// contains filtered or unexported methods
}
RuleSetServer is the server API for RuleSet service. All implementations must embed UnimplementedRuleSetServer for forward compatibility
type RunnerClient ¶
type RunnerClient interface {
GetModuleContent(ctx context.Context, in *GetModuleContent_Request, opts ...grpc.CallOption) (*GetModuleContent_Response, error)
GetFile(ctx context.Context, in *GetFile_Request, opts ...grpc.CallOption) (*GetFile_Response, error)
GetFiles(ctx context.Context, in *GetFiles_Request, opts ...grpc.CallOption) (*GetFiles_Response, error)
GetRuleConfigContent(ctx context.Context, in *GetRuleConfigContent_Request, opts ...grpc.CallOption) (*GetRuleConfigContent_Response, error)
EvaluateExpr(ctx context.Context, in *EvaluateExpr_Request, opts ...grpc.CallOption) (*EvaluateExpr_Response, error)
EmitIssue(ctx context.Context, in *EmitIssue_Request, opts ...grpc.CallOption) (*EmitIssue_Response, error)
}
RunnerClient is the client API for Runner service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRunnerClient ¶
func NewRunnerClient(cc grpc.ClientConnInterface) RunnerClient
type RunnerServer ¶
type RunnerServer interface {
GetModuleContent(context.Context, *GetModuleContent_Request) (*GetModuleContent_Response, error)
GetFile(context.Context, *GetFile_Request) (*GetFile_Response, error)
GetFiles(context.Context, *GetFiles_Request) (*GetFiles_Response, error)
GetRuleConfigContent(context.Context, *GetRuleConfigContent_Request) (*GetRuleConfigContent_Response, error)
EvaluateExpr(context.Context, *EvaluateExpr_Request) (*EvaluateExpr_Response, error)
EmitIssue(context.Context, *EmitIssue_Request) (*EmitIssue_Response, error)
// contains filtered or unexported methods
}
RunnerServer is the server API for Runner service. All implementations must embed UnimplementedRunnerServer for forward compatibility
type UnimplementedRuleSetServer ¶
type UnimplementedRuleSetServer struct {
}
UnimplementedRuleSetServer must be embedded to have forward compatible implementations.
func (UnimplementedRuleSetServer) ApplyConfig ¶
func (UnimplementedRuleSetServer) ApplyConfig(context.Context, *ApplyConfig_Request) (*ApplyConfig_Response, error)
func (UnimplementedRuleSetServer) ApplyGlobalConfig ¶
func (UnimplementedRuleSetServer) ApplyGlobalConfig(context.Context, *ApplyGlobalConfig_Request) (*ApplyGlobalConfig_Response, error)
func (UnimplementedRuleSetServer) Check ¶
func (UnimplementedRuleSetServer) Check(context.Context, *Check_Request) (*Check_Response, error)
func (UnimplementedRuleSetServer) GetConfigSchema ¶
func (UnimplementedRuleSetServer) GetConfigSchema(context.Context, *GetConfigSchema_Request) (*GetConfigSchema_Response, error)
func (UnimplementedRuleSetServer) GetName ¶
func (UnimplementedRuleSetServer) GetName(context.Context, *GetName_Request) (*GetName_Response, error)
func (UnimplementedRuleSetServer) GetRuleNames ¶
func (UnimplementedRuleSetServer) GetRuleNames(context.Context, *GetRuleNames_Request) (*GetRuleNames_Response, error)
func (UnimplementedRuleSetServer) GetVersion ¶
func (UnimplementedRuleSetServer) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error)
type UnimplementedRunnerServer ¶
type UnimplementedRunnerServer struct {
}
UnimplementedRunnerServer must be embedded to have forward compatible implementations.
func (UnimplementedRunnerServer) EmitIssue ¶
func (UnimplementedRunnerServer) EmitIssue(context.Context, *EmitIssue_Request) (*EmitIssue_Response, error)
func (UnimplementedRunnerServer) EvaluateExpr ¶
func (UnimplementedRunnerServer) EvaluateExpr(context.Context, *EvaluateExpr_Request) (*EvaluateExpr_Response, error)
func (UnimplementedRunnerServer) GetFile ¶
func (UnimplementedRunnerServer) GetFile(context.Context, *GetFile_Request) (*GetFile_Response, error)
func (UnimplementedRunnerServer) GetFiles ¶
func (UnimplementedRunnerServer) GetFiles(context.Context, *GetFiles_Request) (*GetFiles_Response, error)
func (UnimplementedRunnerServer) GetModuleContent ¶
func (UnimplementedRunnerServer) GetModuleContent(context.Context, *GetModuleContent_Request) (*GetModuleContent_Response, error)
func (UnimplementedRunnerServer) GetRuleConfigContent ¶
func (UnimplementedRunnerServer) GetRuleConfigContent(context.Context, *GetRuleConfigContent_Request) (*GetRuleConfigContent_Response, error)
type UnsafeRuleSetServer ¶
type UnsafeRuleSetServer interface {
// contains filtered or unexported methods
}
UnsafeRuleSetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuleSetServer will result in compilation errors.
type UnsafeRunnerServer ¶
type UnsafeRunnerServer interface {
// contains filtered or unexported methods
}
UnsafeRunnerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RunnerServer will result in compilation errors.