Documentation ¶
Index ¶
- type Checksums
- type CloseEvaluator
- type CreateEvaluator
- type CreateEvaluatorResponse
- type Evaluate
- type EvaluateResponse
- type Http
- type IncomingMessage
- type ListModules
- type ListModulesResponse
- type ListResources
- type ListResourcesResponse
- type Log
- type ModuleReader
- type OutgoingMessage
- type PathElement
- type ProjectOrDependency
- type Proxy
- type ReadModule
- type ReadModuleResponse
- type ReadResource
- type ReadResourceResponse
- type ResourceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseEvaluator ¶
type CloseEvaluator struct {
EvaluatorId int64 `msgpack:"evaluatorId,omitempty"`
}
func (*CloseEvaluator) ToMsgPack ¶
func (msg *CloseEvaluator) ToMsgPack() ([]byte, error)
type CreateEvaluator ¶
type CreateEvaluator struct { RequestId int64 `msgpack:"requestId"` ResourceReaders []*ResourceReader `msgpack:"clientResourceReaders,omitempty"` ModuleReaders []*ModuleReader `msgpack:"clientModuleReaders,omitempty"` ModulePaths []string `msgpack:"modulePaths,omitempty"` Env map[string]string `msgpack:"env,omitempty"` Properties map[string]string `msgpack:"properties,omitempty"` OutputFormat string `msgpack:"outputFormat,omitempty"` AllowedModules []string `msgpack:"allowedModules,omitempty"` AllowedResources []string `msgpack:"allowedResources,omitempty"` RootDir string `msgpack:"rootDir,omitempty"` CacheDir string `msgpack:"cacheDir,omitempty"` Project *ProjectOrDependency `msgpack:"project,omitempty"` Http *Http `msgpack:"http,omitempty"` // Intentionally not used right now. Go has `context.WithTimeout` which is a more canonical way to handle timeouts. TimeoutSeconds int64 `msgpack:"timeoutSeconds,omitempty"` }
func (*CreateEvaluator) ToMsgPack ¶
func (msg *CreateEvaluator) ToMsgPack() ([]byte, error)
type CreateEvaluatorResponse ¶
type Evaluate ¶
type EvaluateResponse ¶
type IncomingMessage ¶
type IncomingMessage interface {
// contains filtered or unexported methods
}
func Decode ¶
func Decode(decoder *msgpack.Decoder) (IncomingMessage, error)
type ListModules ¶
type ListModulesResponse ¶
type ListModulesResponse struct { RequestId int64 `msgpack:"requestId"` EvaluatorId int64 `msgpack:"evaluatorId"` PathElements []*PathElement `msgpack:"pathElements,omitempty"` Error string `msgpack:"error,omitempty"` }
func (ListModulesResponse) ToMsgPack ¶
func (msg ListModulesResponse) ToMsgPack() ([]byte, error)
type ListResources ¶
type ListResourcesResponse ¶
type ListResourcesResponse struct { RequestId int64 `msgpack:"requestId"` EvaluatorId int64 `msgpack:"evaluatorId"` PathElements []*PathElement `msgpack:"pathElements,omitempty"` Error string `msgpack:"error,omitempty"` }
func (ListResourcesResponse) ToMsgPack ¶
func (msg ListResourcesResponse) ToMsgPack() ([]byte, error)
type ModuleReader ¶
type OutgoingMessage ¶
type PathElement ¶
type ProjectOrDependency ¶
type ReadModule ¶
type ReadModuleResponse ¶
type ReadModuleResponse struct { RequestId int64 `msgpack:"requestId"` EvaluatorId int64 `msgpack:"evaluatorId"` Contents string `msgpack:"contents,omitempty"` Error string `msgpack:"error,omitempty"` }
func (*ReadModuleResponse) ToMsgPack ¶
func (msg *ReadModuleResponse) ToMsgPack() ([]byte, error)
type ReadResource ¶
type ReadResourceResponse ¶
type ReadResourceResponse struct { RequestId int64 `msgpack:"requestId"` EvaluatorId int64 `msgpack:"evaluatorId"` Contents []byte `msgpack:"contents,omitempty"` Error string `msgpack:"error,omitempty"` }
func (*ReadResourceResponse) ToMsgPack ¶
func (msg *ReadResourceResponse) ToMsgPack() ([]byte, error)
type ResourceReader ¶
Click to show internal directories.
Click to hide internal directories.