Documentation ¶
Index ¶
- Variables
- func AttachService(ctx context.Context, manager jasper.Manager, s *grpc.Server) error
- func RegisterJasperProcessManagerServer(s grpc.ServiceRegistrar, srv JasperProcessManagerServer)
- type ArchiveFormat
- func (ArchiveFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ArchiveFormat) Enum() *ArchiveFormat
- func (ArchiveFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (format ArchiveFormat) Export() options.ArchiveFormat
- func (x ArchiveFormat) Number() protoreflect.EnumNumber
- func (x ArchiveFormat) String() string
- func (ArchiveFormat) Type() protoreflect.EnumType
- type ArchiveOptions
- func (*ArchiveOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *ArchiveOptions) Export() options.Archive
- func (x *ArchiveOptions) GetFormat() ArchiveFormat
- func (x *ArchiveOptions) GetShouldExtract() bool
- func (x *ArchiveOptions) GetTargetPath() string
- func (*ArchiveOptions) ProtoMessage()
- func (x *ArchiveOptions) ProtoReflect() protoreflect.Message
- func (x *ArchiveOptions) Reset()
- func (x *ArchiveOptions) String() string
- type BaseOptions
- func (*BaseOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *BaseOptions) Export() options.BaseOptions
- func (x *BaseOptions) GetBuffer() *BufferOptions
- func (x *BaseOptions) GetFormat() LogFormat
- func (x *BaseOptions) GetLevel() *LogLevel
- func (*BaseOptions) ProtoMessage()
- func (x *BaseOptions) ProtoReflect() protoreflect.Message
- func (x *BaseOptions) Reset()
- func (x *BaseOptions) String() string
- type BufferOptions
- func (*BufferOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *BufferOptions) Export() options.BufferOptions
- func (x *BufferOptions) GetBuffered() bool
- func (x *BufferOptions) GetDuration() int64
- func (x *BufferOptions) GetMaxSize() int64
- func (*BufferOptions) ProtoMessage()
- func (x *BufferOptions) ProtoReflect() protoreflect.Message
- func (x *BufferOptions) Reset()
- func (x *BufferOptions) String() string
- type BuildOptions
- func (*BuildOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *BuildOptions) Export() bond.BuildOptions
- func (x *BuildOptions) GetArch() string
- func (x *BuildOptions) GetDebug() bool
- func (x *BuildOptions) GetEdition() string
- func (x *BuildOptions) GetTarget() string
- func (*BuildOptions) ProtoMessage()
- func (x *BuildOptions) ProtoReflect() protoreflect.Message
- func (x *BuildOptions) Reset()
- func (x *BuildOptions) String() string
- type BuildloggerURLs
- func (*BuildloggerURLs) Descriptor() ([]byte, []int)deprecated
- func (u *BuildloggerURLs) Export() []string
- func (x *BuildloggerURLs) GetUrls() []string
- func (*BuildloggerURLs) ProtoMessage()
- func (x *BuildloggerURLs) ProtoReflect() protoreflect.Message
- func (x *BuildloggerURLs) Reset()
- func (x *BuildloggerURLs) String() string
- type BuildloggerV2Info
- func (*BuildloggerV2Info) Descriptor() ([]byte, []int)deprecated
- func (opts *BuildloggerV2Info) Export() send.BuildloggerConfig
- func (x *BuildloggerV2Info) GetBuilder() string
- func (x *BuildloggerV2Info) GetCommand() string
- func (x *BuildloggerV2Info) GetCreateTest() bool
- func (x *BuildloggerV2Info) GetNumber() int64
- func (x *BuildloggerV2Info) GetPhase() string
- func (x *BuildloggerV2Info) GetTest() string
- func (x *BuildloggerV2Info) GetUrl() string
- func (*BuildloggerV2Info) ProtoMessage()
- func (x *BuildloggerV2Info) ProtoReflect() protoreflect.Message
- func (x *BuildloggerV2Info) Reset()
- func (x *BuildloggerV2Info) String() string
- type BuildloggerV2Options
- func (*BuildloggerV2Options) Descriptor() ([]byte, []int)deprecated
- func (opts *BuildloggerV2Options) Export() options.LoggerProducer
- func (x *BuildloggerV2Options) GetBase() *BaseOptions
- func (x *BuildloggerV2Options) GetBuildlogger() *BuildloggerV2Info
- func (*BuildloggerV2Options) ProtoMessage()
- func (x *BuildloggerV2Options) ProtoReflect() protoreflect.Message
- func (x *BuildloggerV2Options) Reset()
- func (x *BuildloggerV2Options) String() string
- type BuildloggerV3Info
- func (*BuildloggerV3Info) Descriptor() ([]byte, []int)deprecated
- func (x *BuildloggerV3Info) GetApiKey() string
- func (x *BuildloggerV3Info) GetArgs() map[string]string
- func (x *BuildloggerV3Info) GetBaseAddress() string
- func (x *BuildloggerV3Info) GetDisableNewLineCheck() bool
- func (x *BuildloggerV3Info) GetExecution() int32
- func (x *BuildloggerV3Info) GetFlushInterval() int64
- func (x *BuildloggerV3Info) GetFormat() LogFormat
- func (x *BuildloggerV3Info) GetInsecure() bool
- func (x *BuildloggerV3Info) GetMainline() bool
- func (x *BuildloggerV3Info) GetMaxBufferSize() int64
- func (x *BuildloggerV3Info) GetPrefix() string
- func (x *BuildloggerV3Info) GetProcName() string
- func (x *BuildloggerV3Info) GetProject() string
- func (x *BuildloggerV3Info) GetRpcPort() string
- func (x *BuildloggerV3Info) GetTags() []string
- func (x *BuildloggerV3Info) GetTaskId() string
- func (x *BuildloggerV3Info) GetTaskName() string
- func (x *BuildloggerV3Info) GetTestName() string
- func (x *BuildloggerV3Info) GetTrial() int32
- func (x *BuildloggerV3Info) GetUsername() string
- func (x *BuildloggerV3Info) GetVariant() string
- func (x *BuildloggerV3Info) GetVersion() string
- func (*BuildloggerV3Info) ProtoMessage()
- func (x *BuildloggerV3Info) ProtoReflect() protoreflect.Message
- func (x *BuildloggerV3Info) Reset()
- func (x *BuildloggerV3Info) String() string
- type BuildloggerV3Options
- func (*BuildloggerV3Options) Descriptor() ([]byte, []int)deprecated
- func (opts *BuildloggerV3Options) Export() (*options.LoggerConfig, error)
- func (x *BuildloggerV3Options) GetBuildloggerv3() *BuildloggerV3Info
- func (x *BuildloggerV3Options) GetLevel() *LogLevel
- func (x *BuildloggerV3Options) GetName() string
- func (*BuildloggerV3Options) ProtoMessage()
- func (x *BuildloggerV3Options) ProtoReflect() protoreflect.Message
- func (x *BuildloggerV3Options) Reset()
- func (x *BuildloggerV3Options) String() string
- type CacheOptions
- func (*CacheOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *CacheOptions) Export() options.Cache
- func (x *CacheOptions) GetDisabled() bool
- func (x *CacheOptions) GetMaxSize() int64
- func (x *CacheOptions) GetPruneDelaySeconds() int64
- func (*CacheOptions) ProtoMessage()
- func (x *CacheOptions) ProtoReflect() protoreflect.Message
- func (x *CacheOptions) Reset()
- func (x *CacheOptions) String() string
- type CreateOptions
- func (*CreateOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *CreateOptions) Export() (*options.Create, error)
- func (x *CreateOptions) GetArgs() []string
- func (x *CreateOptions) GetEnvironment() map[string]string
- func (x *CreateOptions) GetOnFailure() []*CreateOptions
- func (x *CreateOptions) GetOnSuccess() []*CreateOptions
- func (x *CreateOptions) GetOnTimeout() []*CreateOptions
- func (x *CreateOptions) GetOutput() *OutputOptions
- func (x *CreateOptions) GetOverrideEnviron() bool
- func (x *CreateOptions) GetStandardInputBytes() []byte
- func (x *CreateOptions) GetTags() []string
- func (x *CreateOptions) GetTimeoutSeconds() int64
- func (x *CreateOptions) GetWorkingDirectory() string
- func (*CreateOptions) ProtoMessage()
- func (x *CreateOptions) ProtoReflect() protoreflect.Message
- func (x *CreateOptions) Reset()
- func (x *CreateOptions) String() string
- type DefaultLoggerOptions
- func (*DefaultLoggerOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *DefaultLoggerOptions) Export() options.LoggerProducer
- func (x *DefaultLoggerOptions) GetBase() *BaseOptions
- func (x *DefaultLoggerOptions) GetPrefix() string
- func (*DefaultLoggerOptions) ProtoMessage()
- func (x *DefaultLoggerOptions) ProtoReflect() protoreflect.Message
- func (x *DefaultLoggerOptions) Reset()
- func (x *DefaultLoggerOptions) String() string
- type DownloadInfo
- func (*DownloadInfo) Descriptor() ([]byte, []int)deprecated
- func (opts *DownloadInfo) Export() options.Download
- func (x *DownloadInfo) GetArchiveOpts() *ArchiveOptions
- func (x *DownloadInfo) GetPath() string
- func (x *DownloadInfo) GetUrl() string
- func (*DownloadInfo) ProtoMessage()
- func (x *DownloadInfo) ProtoReflect() protoreflect.Message
- func (x *DownloadInfo) Reset()
- func (x *DownloadInfo) String() string
- type EventName
- type FileLoggerOptions
- func (*FileLoggerOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *FileLoggerOptions) Export() options.LoggerProducer
- func (x *FileLoggerOptions) GetBase() *BaseOptions
- func (x *FileLoggerOptions) GetFilename() string
- func (*FileLoggerOptions) ProtoMessage()
- func (x *FileLoggerOptions) ProtoReflect() protoreflect.Message
- func (x *FileLoggerOptions) Reset()
- func (x *FileLoggerOptions) String() string
- type Filter
- type FilterSpecifications
- func (FilterSpecifications) Descriptor() protoreflect.EnumDescriptor
- func (x FilterSpecifications) Enum() *FilterSpecifications
- func (FilterSpecifications) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilterSpecifications) Number() protoreflect.EnumNumber
- func (x FilterSpecifications) String() string
- func (FilterSpecifications) Type() protoreflect.EnumType
- type IDResponse
- type InMemoryLoggerOptions
- func (*InMemoryLoggerOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *InMemoryLoggerOptions) Export() options.LoggerProducer
- func (x *InMemoryLoggerOptions) GetBase() *BaseOptions
- func (x *InMemoryLoggerOptions) GetInMemoryCap() int64
- func (*InMemoryLoggerOptions) ProtoMessage()
- func (x *InMemoryLoggerOptions) ProtoReflect() protoreflect.Message
- func (x *InMemoryLoggerOptions) Reset()
- func (x *InMemoryLoggerOptions) String() string
- type InheritedLoggerOptions
- func (*InheritedLoggerOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *InheritedLoggerOptions) Export() options.LoggerProducer
- func (x *InheritedLoggerOptions) GetBase() *BaseOptions
- func (*InheritedLoggerOptions) ProtoMessage()
- func (x *InheritedLoggerOptions) ProtoReflect() protoreflect.Message
- func (x *InheritedLoggerOptions) Reset()
- func (x *InheritedLoggerOptions) String() string
- type JasperProcessID
- type JasperProcessManagerClient
- type JasperProcessManagerServer
- type JasperProcessManager_GroupClient
- type JasperProcessManager_GroupServer
- type JasperProcessManager_ListClient
- type JasperProcessManager_ListServer
- type JasperProcessManager_WriteFileClient
- type JasperProcessManager_WriteFileServer
- type LogFormat
- func (LogFormat) Descriptor() protoreflect.EnumDescriptor
- func (x LogFormat) Enum() *LogFormat
- func (LogFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (f LogFormat) Export() options.LogFormat
- func (x LogFormat) Number() protoreflect.EnumNumber
- func (x LogFormat) String() string
- func (LogFormat) Type() protoreflect.EnumType
- type LogLevel
- func (*LogLevel) Descriptor() ([]byte, []int)deprecated
- func (l *LogLevel) Export() send.LevelInfo
- func (x *LogLevel) GetDefault() int32
- func (x *LogLevel) GetThreshold() int32
- func (*LogLevel) ProtoMessage()
- func (x *LogLevel) ProtoReflect() protoreflect.Message
- func (x *LogLevel) Reset()
- func (x *LogLevel) String() string
- type LogRequest
- type LogStream
- func (*LogStream) Descriptor() ([]byte, []int)deprecated
- func (l *LogStream) Export() jasper.LogStream
- func (x *LogStream) GetDone() bool
- func (x *LogStream) GetLogs() []string
- func (*LogStream) ProtoMessage()
- func (x *LogStream) ProtoReflect() protoreflect.Message
- func (x *LogStream) Reset()
- func (x *LogStream) String() string
- type LoggerConfig
- func (*LoggerConfig) Descriptor() ([]byte, []int)deprecated
- func (logger *LoggerConfig) Export() (*options.LoggerConfig, error)
- func (x *LoggerConfig) GetBuildloggerv2() *BuildloggerV2Options
- func (x *LoggerConfig) GetBuildloggerv3() *BuildloggerV3Options
- func (x *LoggerConfig) GetDefault() *DefaultLoggerOptions
- func (x *LoggerConfig) GetFile() *FileLoggerOptions
- func (x *LoggerConfig) GetInMemory() *InMemoryLoggerOptions
- func (x *LoggerConfig) GetInherited() *InheritedLoggerOptions
- func (m *LoggerConfig) GetProducer() isLoggerConfig_Producer
- func (x *LoggerConfig) GetRaw() *RawLoggerConfig
- func (x *LoggerConfig) GetSplunk() *SplunkLoggerOptions
- func (*LoggerConfig) ProtoMessage()
- func (x *LoggerConfig) ProtoReflect() protoreflect.Message
- func (x *LoggerConfig) Reset()
- func (x *LoggerConfig) String() string
- type LoggerConfig_Buildloggerv2
- type LoggerConfig_Buildloggerv3
- type LoggerConfig_Default
- type LoggerConfig_File
- type LoggerConfig_InMemory
- type LoggerConfig_Inherited
- type LoggerConfig_Raw
- type LoggerConfig_Splunk
- type LoggingCacheArgs
- type LoggingCacheCreateArgs
- func (*LoggingCacheCreateArgs) Descriptor() ([]byte, []int)deprecated
- func (x *LoggingCacheCreateArgs) GetId() string
- func (x *LoggingCacheCreateArgs) GetOptions() *OutputOptions
- func (*LoggingCacheCreateArgs) ProtoMessage()
- func (x *LoggingCacheCreateArgs) ProtoReflect() protoreflect.Message
- func (x *LoggingCacheCreateArgs) Reset()
- func (x *LoggingCacheCreateArgs) String() string
- type LoggingCacheInstance
- func (*LoggingCacheInstance) Descriptor() ([]byte, []int)deprecated
- func (l *LoggingCacheInstance) Export() (*options.CachedLogger, error)
- func (x *LoggingCacheInstance) GetAccessed() *timestamppb.Timestamp
- func (x *LoggingCacheInstance) GetId() string
- func (x *LoggingCacheInstance) GetManagerID() string
- func (x *LoggingCacheInstance) GetOutcome() *OperationOutcome
- func (*LoggingCacheInstance) ProtoMessage()
- func (x *LoggingCacheInstance) ProtoReflect() protoreflect.Message
- func (x *LoggingCacheInstance) Reset()
- func (x *LoggingCacheInstance) String() string
- type LoggingCacheLenResponse
- func (*LoggingCacheLenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoggingCacheLenResponse) GetLen() int64
- func (x *LoggingCacheLenResponse) GetOutcome() *OperationOutcome
- func (*LoggingCacheLenResponse) ProtoMessage()
- func (x *LoggingCacheLenResponse) ProtoReflect() protoreflect.Message
- func (x *LoggingCacheLenResponse) Reset()
- func (x *LoggingCacheLenResponse) String() string
- type LoggingPayload
- func (*LoggingPayload) Descriptor() ([]byte, []int)deprecated
- func (lp *LoggingPayload) Export() *options.LoggingPayload
- func (x *LoggingPayload) GetAddMetadata() bool
- func (x *LoggingPayload) GetData() []*LoggingPayloadData
- func (x *LoggingPayload) GetFormat() LoggingPayloadFormat
- func (x *LoggingPayload) GetIsMulti() bool
- func (x *LoggingPayload) GetLoggerID() string
- func (x *LoggingPayload) GetPreferSendToError() bool
- func (x *LoggingPayload) GetPriority() int32
- func (*LoggingPayload) ProtoMessage()
- func (x *LoggingPayload) ProtoReflect() protoreflect.Message
- func (x *LoggingPayload) Reset()
- func (x *LoggingPayload) String() string
- type LoggingPayloadData
- func (*LoggingPayloadData) Descriptor() ([]byte, []int)deprecated
- func (m *LoggingPayloadData) GetData() isLoggingPayloadData_Data
- func (x *LoggingPayloadData) GetMsg() string
- func (x *LoggingPayloadData) GetRaw() []byte
- func (*LoggingPayloadData) ProtoMessage()
- func (x *LoggingPayloadData) ProtoReflect() protoreflect.Message
- func (x *LoggingPayloadData) Reset()
- func (x *LoggingPayloadData) String() string
- type LoggingPayloadData_Msg
- type LoggingPayloadData_Raw
- type LoggingPayloadFormat
- func (LoggingPayloadFormat) Descriptor() protoreflect.EnumDescriptor
- func (x LoggingPayloadFormat) Enum() *LoggingPayloadFormat
- func (LoggingPayloadFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (lf LoggingPayloadFormat) Export() options.LoggingPayloadFormat
- func (x LoggingPayloadFormat) Number() protoreflect.EnumNumber
- func (x LoggingPayloadFormat) String() string
- func (LoggingPayloadFormat) Type() protoreflect.EnumType
- type MongoDBDownloadOptions
- func (*MongoDBDownloadOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *MongoDBDownloadOptions) Export() options.MongoDBDownload
- func (x *MongoDBDownloadOptions) GetBuildOpts() *BuildOptions
- func (x *MongoDBDownloadOptions) GetPath() string
- func (x *MongoDBDownloadOptions) GetReleases() []string
- func (*MongoDBDownloadOptions) ProtoMessage()
- func (x *MongoDBDownloadOptions) ProtoReflect() protoreflect.Message
- func (x *MongoDBDownloadOptions) Reset()
- func (x *MongoDBDownloadOptions) String() string
- type OperationOutcome
- func (*OperationOutcome) Descriptor() ([]byte, []int)deprecated
- func (x *OperationOutcome) GetExitCode() int32
- func (x *OperationOutcome) GetSuccess() bool
- func (x *OperationOutcome) GetText() string
- func (*OperationOutcome) ProtoMessage()
- func (x *OperationOutcome) ProtoReflect() protoreflect.Message
- func (x *OperationOutcome) Reset()
- func (x *OperationOutcome) String() string
- type OutputOptions
- func (*OutputOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *OutputOptions) Export() (options.Output, error)
- func (x *OutputOptions) GetLoggers() []*LoggerConfig
- func (x *OutputOptions) GetRedirectErrorToOutput() bool
- func (x *OutputOptions) GetRedirectOutputToError() bool
- func (x *OutputOptions) GetSuppressError() bool
- func (x *OutputOptions) GetSuppressOutput() bool
- func (*OutputOptions) ProtoMessage()
- func (x *OutputOptions) ProtoReflect() protoreflect.Message
- func (x *OutputOptions) Reset()
- func (x *OutputOptions) String() string
- type ProcessInfo
- func (*ProcessInfo) Descriptor() ([]byte, []int)deprecated
- func (info *ProcessInfo) Export() (jasper.ProcessInfo, error)
- func (x *ProcessInfo) GetComplete() bool
- func (x *ProcessInfo) GetEndAt() *timestamppb.Timestamp
- func (x *ProcessInfo) GetExitCode() int32
- func (x *ProcessInfo) GetHostId() string
- func (x *ProcessInfo) GetId() string
- func (x *ProcessInfo) GetOptions() *CreateOptions
- func (x *ProcessInfo) GetPid() int64
- func (x *ProcessInfo) GetRunning() bool
- func (x *ProcessInfo) GetStartAt() *timestamppb.Timestamp
- func (x *ProcessInfo) GetSuccessful() bool
- func (x *ProcessInfo) GetTimedout() bool
- func (*ProcessInfo) ProtoMessage()
- func (x *ProcessInfo) ProtoReflect() protoreflect.Message
- func (x *ProcessInfo) Reset()
- func (x *ProcessInfo) String() string
- type ProcessTags
- func (*ProcessTags) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessTags) GetProcessID() string
- func (x *ProcessTags) GetTags() []string
- func (*ProcessTags) ProtoMessage()
- func (x *ProcessTags) ProtoReflect() protoreflect.Message
- func (x *ProcessTags) Reset()
- func (x *ProcessTags) String() string
- type RawLoggerConfig
- func (*RawLoggerConfig) Descriptor() ([]byte, []int)deprecated
- func (logger *RawLoggerConfig) Export() (*options.LoggerConfig, error)
- func (x *RawLoggerConfig) GetConfigData() []byte
- func (x *RawLoggerConfig) GetFormat() RawLoggerConfigFormat
- func (*RawLoggerConfig) ProtoMessage()
- func (x *RawLoggerConfig) ProtoReflect() protoreflect.Message
- func (x *RawLoggerConfig) Reset()
- func (x *RawLoggerConfig) String() string
- type RawLoggerConfigFormat
- func (RawLoggerConfigFormat) Descriptor() protoreflect.EnumDescriptor
- func (x RawLoggerConfigFormat) Enum() *RawLoggerConfigFormat
- func (RawLoggerConfigFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (f RawLoggerConfigFormat) Export() options.RawLoggerConfigFormat
- func (x RawLoggerConfigFormat) Number() protoreflect.EnumNumber
- func (x RawLoggerConfigFormat) String() string
- func (RawLoggerConfigFormat) Type() protoreflect.EnumType
- type ScriptingHarnessBuildArgs
- func (*ScriptingHarnessBuildArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessBuildArgs) GetArgs() []string
- func (x *ScriptingHarnessBuildArgs) GetDirectory() string
- func (x *ScriptingHarnessBuildArgs) GetId() string
- func (*ScriptingHarnessBuildArgs) ProtoMessage()
- func (x *ScriptingHarnessBuildArgs) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessBuildArgs) Reset()
- func (x *ScriptingHarnessBuildArgs) String() string
- type ScriptingHarnessBuildResponse
- func (*ScriptingHarnessBuildResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessBuildResponse) GetOutcome() *OperationOutcome
- func (x *ScriptingHarnessBuildResponse) GetPath() string
- func (*ScriptingHarnessBuildResponse) ProtoMessage()
- func (x *ScriptingHarnessBuildResponse) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessBuildResponse) Reset()
- func (x *ScriptingHarnessBuildResponse) String() string
- type ScriptingHarnessID
- type ScriptingHarnessRunArgs
- func (*ScriptingHarnessRunArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessRunArgs) GetArgs() []string
- func (x *ScriptingHarnessRunArgs) GetId() string
- func (*ScriptingHarnessRunArgs) ProtoMessage()
- func (x *ScriptingHarnessRunArgs) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessRunArgs) Reset()
- func (x *ScriptingHarnessRunArgs) String() string
- type ScriptingHarnessRunScriptArgs
- func (*ScriptingHarnessRunScriptArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessRunScriptArgs) GetId() string
- func (x *ScriptingHarnessRunScriptArgs) GetScript() string
- func (*ScriptingHarnessRunScriptArgs) ProtoMessage()
- func (x *ScriptingHarnessRunScriptArgs) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessRunScriptArgs) Reset()
- func (x *ScriptingHarnessRunScriptArgs) String() string
- type ScriptingHarnessTestArgs
- func (*ScriptingHarnessTestArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessTestArgs) GetDirectory() string
- func (x *ScriptingHarnessTestArgs) GetId() string
- func (x *ScriptingHarnessTestArgs) GetOptions() []*ScriptingHarnessTestOptions
- func (*ScriptingHarnessTestArgs) ProtoMessage()
- func (x *ScriptingHarnessTestArgs) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessTestArgs) Reset()
- func (x *ScriptingHarnessTestArgs) String() string
- type ScriptingHarnessTestOptions
- func (*ScriptingHarnessTestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessTestOptions) GetArgs() []string
- func (x *ScriptingHarnessTestOptions) GetCount() int32
- func (x *ScriptingHarnessTestOptions) GetName() string
- func (x *ScriptingHarnessTestOptions) GetPattern() string
- func (x *ScriptingHarnessTestOptions) GetTimeout() *durationpb.Duration
- func (*ScriptingHarnessTestOptions) ProtoMessage()
- func (x *ScriptingHarnessTestOptions) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessTestOptions) Reset()
- func (x *ScriptingHarnessTestOptions) String() string
- type ScriptingHarnessTestResponse
- func (*ScriptingHarnessTestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessTestResponse) GetOutcome() *OperationOutcome
- func (x *ScriptingHarnessTestResponse) GetResults() []*ScriptingHarnessTestResult
- func (*ScriptingHarnessTestResponse) ProtoMessage()
- func (x *ScriptingHarnessTestResponse) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessTestResponse) Reset()
- func (x *ScriptingHarnessTestResponse) String() string
- type ScriptingHarnessTestResult
- func (*ScriptingHarnessTestResult) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingHarnessTestResult) GetDuration() *durationpb.Duration
- func (x *ScriptingHarnessTestResult) GetName() string
- func (x *ScriptingHarnessTestResult) GetOutcome() string
- func (x *ScriptingHarnessTestResult) GetStartAt() *timestamppb.Timestamp
- func (*ScriptingHarnessTestResult) ProtoMessage()
- func (x *ScriptingHarnessTestResult) ProtoReflect() protoreflect.Message
- func (x *ScriptingHarnessTestResult) Reset()
- func (x *ScriptingHarnessTestResult) String() string
- type ScriptingOptions
- func (*ScriptingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingOptions) GetDuration() int64
- func (x *ScriptingOptions) GetEnvironment() map[string]string
- func (x *ScriptingOptions) GetGolang() *ScriptingOptionsGolang
- func (x *ScriptingOptions) GetOutput() *OutputOptions
- func (x *ScriptingOptions) GetPython() *ScriptingOptionsPython
- func (x *ScriptingOptions) GetRoswell() *ScriptingOptionsRoswell
- func (m *ScriptingOptions) GetValue() isScriptingOptions_Value
- func (*ScriptingOptions) ProtoMessage()
- func (x *ScriptingOptions) ProtoReflect() protoreflect.Message
- func (x *ScriptingOptions) Reset()
- func (x *ScriptingOptions) String() string
- type ScriptingOptionsGolang
- func (*ScriptingOptionsGolang) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingOptionsGolang) GetDirectory() string
- func (x *ScriptingOptionsGolang) GetGopath() string
- func (x *ScriptingOptionsGolang) GetGoroot() string
- func (x *ScriptingOptionsGolang) GetPackages() []string
- func (x *ScriptingOptionsGolang) GetUpdatePackages() bool
- func (*ScriptingOptionsGolang) ProtoMessage()
- func (x *ScriptingOptionsGolang) ProtoReflect() protoreflect.Message
- func (x *ScriptingOptionsGolang) Reset()
- func (x *ScriptingOptionsGolang) String() string
- type ScriptingOptionsPython
- func (*ScriptingOptionsPython) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingOptionsPython) GetAddTestReqs() bool
- func (x *ScriptingOptionsPython) GetInterpreterBinary() string
- func (x *ScriptingOptionsPython) GetLegacyPython() bool
- func (x *ScriptingOptionsPython) GetPackages() []string
- func (x *ScriptingOptionsPython) GetRequirementsPath() string
- func (x *ScriptingOptionsPython) GetVirtualEnvPath() string
- func (*ScriptingOptionsPython) ProtoMessage()
- func (x *ScriptingOptionsPython) ProtoReflect() protoreflect.Message
- func (x *ScriptingOptionsPython) Reset()
- func (x *ScriptingOptionsPython) String() string
- type ScriptingOptionsRoswell
- func (*ScriptingOptionsRoswell) Descriptor() ([]byte, []int)deprecated
- func (x *ScriptingOptionsRoswell) GetLisp() string
- func (x *ScriptingOptionsRoswell) GetPath() string
- func (x *ScriptingOptionsRoswell) GetSystems() []string
- func (*ScriptingOptionsRoswell) ProtoMessage()
- func (x *ScriptingOptionsRoswell) ProtoReflect() protoreflect.Message
- func (x *ScriptingOptionsRoswell) Reset()
- func (x *ScriptingOptionsRoswell) String() string
- type ScriptingOptions_Golang
- type ScriptingOptions_Python
- type ScriptingOptions_Roswell
- type SignalProcess
- func (*SignalProcess) Descriptor() ([]byte, []int)deprecated
- func (x *SignalProcess) GetProcessID() *JasperProcessID
- func (x *SignalProcess) GetSignal() Signals
- func (*SignalProcess) ProtoMessage()
- func (x *SignalProcess) ProtoReflect() protoreflect.Message
- func (x *SignalProcess) Reset()
- func (x *SignalProcess) String() string
- type SignalTriggerID
- func (SignalTriggerID) Descriptor() protoreflect.EnumDescriptor
- func (x SignalTriggerID) Enum() *SignalTriggerID
- func (SignalTriggerID) EnumDescriptor() ([]byte, []int)deprecated
- func (t SignalTriggerID) Export() jasper.SignalTriggerID
- func (x SignalTriggerID) Number() protoreflect.EnumNumber
- func (x SignalTriggerID) String() string
- func (SignalTriggerID) Type() protoreflect.EnumType
- type SignalTriggerParams
- func (*SignalTriggerParams) Descriptor() ([]byte, []int)deprecated
- func (t *SignalTriggerParams) Export() (string, jasper.SignalTriggerID)
- func (x *SignalTriggerParams) GetProcessID() *JasperProcessID
- func (x *SignalTriggerParams) GetSignalTriggerID() SignalTriggerID
- func (*SignalTriggerParams) ProtoMessage()
- func (x *SignalTriggerParams) ProtoReflect() protoreflect.Message
- func (x *SignalTriggerParams) Reset()
- func (x *SignalTriggerParams) String() string
- type Signals
- func (Signals) Descriptor() protoreflect.EnumDescriptor
- func (x Signals) Enum() *Signals
- func (Signals) EnumDescriptor() ([]byte, []int)deprecated
- func (s Signals) Export() syscall.Signal
- func (x Signals) Number() protoreflect.EnumNumber
- func (x Signals) String() string
- func (Signals) Type() protoreflect.EnumType
- type SplunkInfo
- func (*SplunkInfo) Descriptor() ([]byte, []int)deprecated
- func (opts *SplunkInfo) Export() send.SplunkConnectionInfo
- func (x *SplunkInfo) GetChannel() string
- func (x *SplunkInfo) GetToken() string
- func (x *SplunkInfo) GetUrl() string
- func (*SplunkInfo) ProtoMessage()
- func (x *SplunkInfo) ProtoReflect() protoreflect.Message
- func (x *SplunkInfo) Reset()
- func (x *SplunkInfo) String() string
- type SplunkLoggerOptions
- func (*SplunkLoggerOptions) Descriptor() ([]byte, []int)deprecated
- func (opts *SplunkLoggerOptions) Export() options.LoggerProducer
- func (x *SplunkLoggerOptions) GetBase() *BaseOptions
- func (x *SplunkLoggerOptions) GetSplunk() *SplunkInfo
- func (*SplunkLoggerOptions) ProtoMessage()
- func (x *SplunkLoggerOptions) ProtoReflect() protoreflect.Message
- func (x *SplunkLoggerOptions) Reset()
- func (x *SplunkLoggerOptions) String() string
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatusResponse) GetActive() bool
- func (x *StatusResponse) GetHostId() string
- func (*StatusResponse) ProtoMessage()
- func (x *StatusResponse) ProtoReflect() protoreflect.Message
- func (x *StatusResponse) Reset()
- func (x *StatusResponse) String() string
- type TagName
- type UnimplementedJasperProcessManagerServer
- func (UnimplementedJasperProcessManagerServer) Clear(context.Context, *emptypb.Empty) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Close(context.Context, *emptypb.Empty) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ConfigureCache(context.Context, *CacheOptions) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Create(context.Context, *CreateOptions) (*ProcessInfo, error)
- func (UnimplementedJasperProcessManagerServer) DownloadFile(context.Context, *DownloadInfo) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) DownloadMongoDB(context.Context, *MongoDBDownloadOptions) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Get(context.Context, *JasperProcessID) (*ProcessInfo, error)
- func (UnimplementedJasperProcessManagerServer) GetBuildloggerURLs(context.Context, *JasperProcessID) (*BuildloggerURLs, error)
- func (UnimplementedJasperProcessManagerServer) GetLogStream(context.Context, *LogRequest) (*LogStream, error)
- func (UnimplementedJasperProcessManagerServer) GetTags(context.Context, *JasperProcessID) (*ProcessTags, error)
- func (UnimplementedJasperProcessManagerServer) Group(*TagName, JasperProcessManager_GroupServer) error
- func (UnimplementedJasperProcessManagerServer) ID(context.Context, *emptypb.Empty) (*IDResponse, error)
- func (UnimplementedJasperProcessManagerServer) List(*Filter, JasperProcessManager_ListServer) error
- func (UnimplementedJasperProcessManagerServer) LoggingCacheClear(context.Context, *emptypb.Empty) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCacheCloseAndRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCacheCreate(context.Context, *LoggingCacheCreateArgs) (*LoggingCacheInstance, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCacheGet(context.Context, *LoggingCacheArgs) (*LoggingCacheInstance, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCacheLen(context.Context, *emptypb.Empty) (*LoggingCacheLenResponse, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCachePrune(context.Context, *timestamppb.Timestamp) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) LoggingCacheRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) RegisterSignalTriggerID(context.Context, *SignalTriggerParams) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ResetTags(context.Context, *JasperProcessID) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Respawn(context.Context, *JasperProcessID) (*ProcessInfo, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessBuild(context.Context, *ScriptingHarnessBuildArgs) (*ScriptingHarnessBuildResponse, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCleanup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCreate(context.Context, *ScriptingOptions) (*ScriptingHarnessID, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessGet(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRun(context.Context, *ScriptingHarnessRunArgs) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRunScript(context.Context, *ScriptingHarnessRunScriptArgs) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessSetup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) ScriptingHarnessTest(context.Context, *ScriptingHarnessTestArgs) (*ScriptingHarnessTestResponse, error)
- func (UnimplementedJasperProcessManagerServer) SendMessages(context.Context, *LoggingPayload) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Signal(context.Context, *SignalProcess) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) SignalEvent(context.Context, *EventName) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Status(context.Context, *emptypb.Empty) (*StatusResponse, error)
- func (UnimplementedJasperProcessManagerServer) TagProcess(context.Context, *ProcessTags) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) Wait(context.Context, *JasperProcessID) (*OperationOutcome, error)
- func (UnimplementedJasperProcessManagerServer) WriteFile(JasperProcessManager_WriteFileServer) error
- type UnsafeJasperProcessManagerServer
- type WriteFileInfo
- func (*WriteFileInfo) Descriptor() ([]byte, []int)deprecated
- func (opts *WriteFileInfo) Export() options.WriteFile
- func (x *WriteFileInfo) GetAppend() bool
- func (x *WriteFileInfo) GetContent() []byte
- func (x *WriteFileInfo) GetPath() string
- func (x *WriteFileInfo) GetPerm() uint32
- func (*WriteFileInfo) ProtoMessage()
- func (x *WriteFileInfo) ProtoReflect() protoreflect.Message
- func (x *WriteFileInfo) Reset()
- func (x *WriteFileInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var ( LogFormat_name = map[int32]string{ 0: "LOGFORMATUNKNOWN", 1: "LOGFORMATPLAIN", 2: "LOGFORMATJSON", 3: "LOGFORMATBSON", 4: "LOGFORMATDEFAULT", } LogFormat_value = map[string]int32{ "LOGFORMATUNKNOWN": 0, "LOGFORMATPLAIN": 1, "LOGFORMATJSON": 2, "LOGFORMATBSON": 3, "LOGFORMATDEFAULT": 4, } )
Enum value maps for LogFormat.
var ( RawLoggerConfigFormat_name = map[int32]string{ 0: "RAWLOGGERCONFIGFORMATJSON", 1: "RAWLOGGERCONFIGFORMATBSON", 2: "RAWLOGGERCONFIGFORMATUNKNOWN", } RawLoggerConfigFormat_value = map[string]int32{ "RAWLOGGERCONFIGFORMATJSON": 0, "RAWLOGGERCONFIGFORMATBSON": 1, "RAWLOGGERCONFIGFORMATUNKNOWN": 2, } )
Enum value maps for RawLoggerConfigFormat.
var ( FilterSpecifications_name = map[int32]string{ 0: "ALL", 1: "RUNNING", 2: "TERMINATED", 3: "FAILED", 4: "SUCCESSFUL", } FilterSpecifications_value = map[string]int32{ "ALL": 0, "RUNNING": 1, "TERMINATED": 2, "FAILED": 3, "SUCCESSFUL": 4, } )
Enum value maps for FilterSpecifications.
var ( Signals_name = map[int32]string{ 0: "UNKNOWN", 1: "TERMINATE", 2: "KILL", 3: "HANGUP", 4: "INIT", 5: "USER1", 6: "USER2", 7: "ABRT", } Signals_value = map[string]int32{ "UNKNOWN": 0, "TERMINATE": 1, "KILL": 2, "HANGUP": 3, "INIT": 4, "USER1": 5, "USER2": 6, "ABRT": 7, } )
Enum value maps for Signals.
var ( ArchiveFormat_name = map[int32]string{ 0: "ARCHIVEUNKNOWN", 1: "ARCHIVEAUTO", 2: "ARCHIVETARGZ", 3: "ARCHIVEZIP", } ArchiveFormat_value = map[string]int32{ "ARCHIVEUNKNOWN": 0, "ARCHIVEAUTO": 1, "ARCHIVETARGZ": 2, "ARCHIVEZIP": 3, } )
Enum value maps for ArchiveFormat.
var ( SignalTriggerID_name = map[int32]string{ 0: "NONE", 1: "CLEANTERMINATION", } SignalTriggerID_value = map[string]int32{ "NONE": 0, "CLEANTERMINATION": 1, } )
Enum value maps for SignalTriggerID.
var ( LoggingPayloadFormat_name = map[int32]string{ 0: "FORMATUNKNONW", 1: "FORMATBSON", 2: "FORMATJSON", 3: "FORMATSTRING", } LoggingPayloadFormat_value = map[string]int32{ "FORMATUNKNONW": 0, "FORMATBSON": 1, "FORMATJSON": 2, "FORMATSTRING": 3, } )
Enum value maps for LoggingPayloadFormat.
var File_jasper_proto protoreflect.FileDescriptor
var JasperProcessManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "jasper.JasperProcessManager", HandlerType: (*JasperProcessManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ID", Handler: _JasperProcessManager_ID_Handler, }, { MethodName: "Create", Handler: _JasperProcessManager_Create_Handler, }, { MethodName: "Get", Handler: _JasperProcessManager_Get_Handler, }, { MethodName: "Signal", Handler: _JasperProcessManager_Signal_Handler, }, { MethodName: "Clear", Handler: _JasperProcessManager_Clear_Handler, }, { MethodName: "Close", Handler: _JasperProcessManager_Close_Handler, }, { MethodName: "TagProcess", Handler: _JasperProcessManager_TagProcess_Handler, }, { MethodName: "ResetTags", Handler: _JasperProcessManager_ResetTags_Handler, }, { MethodName: "GetTags", Handler: _JasperProcessManager_GetTags_Handler, }, { MethodName: "RegisterSignalTriggerID", Handler: _JasperProcessManager_RegisterSignalTriggerID_Handler, }, { MethodName: "Wait", Handler: _JasperProcessManager_Wait_Handler, }, { MethodName: "Respawn", Handler: _JasperProcessManager_Respawn_Handler, }, { MethodName: "ScriptingHarnessSetup", Handler: _JasperProcessManager_ScriptingHarnessSetup_Handler, }, { MethodName: "ScriptingHarnessCleanup", Handler: _JasperProcessManager_ScriptingHarnessCleanup_Handler, }, { MethodName: "ScriptingHarnessRun", Handler: _JasperProcessManager_ScriptingHarnessRun_Handler, }, { MethodName: "ScriptingHarnessBuild", Handler: _JasperProcessManager_ScriptingHarnessBuild_Handler, }, { MethodName: "ScriptingHarnessRunScript", Handler: _JasperProcessManager_ScriptingHarnessRunScript_Handler, }, { MethodName: "ScriptingHarnessTest", Handler: _JasperProcessManager_ScriptingHarnessTest_Handler, }, { MethodName: "LoggingCacheCreate", Handler: _JasperProcessManager_LoggingCacheCreate_Handler, }, { MethodName: "LoggingCacheGet", Handler: _JasperProcessManager_LoggingCacheGet_Handler, }, { MethodName: "LoggingCacheRemove", Handler: _JasperProcessManager_LoggingCacheRemove_Handler, }, { MethodName: "LoggingCacheCloseAndRemove", Handler: _JasperProcessManager_LoggingCacheCloseAndRemove_Handler, }, { MethodName: "LoggingCacheClear", Handler: _JasperProcessManager_LoggingCacheClear_Handler, }, { MethodName: "LoggingCacheLen", Handler: _JasperProcessManager_LoggingCacheLen_Handler, }, { MethodName: "LoggingCachePrune", Handler: _JasperProcessManager_LoggingCachePrune_Handler, }, { MethodName: "ScriptingHarnessCreate", Handler: _JasperProcessManager_ScriptingHarnessCreate_Handler, }, { MethodName: "ScriptingHarnessGet", Handler: _JasperProcessManager_ScriptingHarnessGet_Handler, }, { MethodName: "Status", Handler: _JasperProcessManager_Status_Handler, }, { MethodName: "ConfigureCache", Handler: _JasperProcessManager_ConfigureCache_Handler, }, { MethodName: "DownloadFile", Handler: _JasperProcessManager_DownloadFile_Handler, }, { MethodName: "DownloadMongoDB", Handler: _JasperProcessManager_DownloadMongoDB_Handler, }, { MethodName: "GetLogStream", Handler: _JasperProcessManager_GetLogStream_Handler, }, { MethodName: "GetBuildloggerURLs", Handler: _JasperProcessManager_GetBuildloggerURLs_Handler, }, { MethodName: "SignalEvent", Handler: _JasperProcessManager_SignalEvent_Handler, }, { MethodName: "SendMessages", Handler: _JasperProcessManager_SendMessages_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _JasperProcessManager_List_Handler, ServerStreams: true, }, { StreamName: "Group", Handler: _JasperProcessManager_Group_Handler, ServerStreams: true, }, { StreamName: "WriteFile", Handler: _JasperProcessManager_WriteFile_Handler, ClientStreams: true, }, }, Metadata: "jasper.proto", }
JasperProcessManager_ServiceDesc is the grpc.ServiceDesc for JasperProcessManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func AttachService ¶
AttachService attaches the given manager to the jasper GRPC server. This function eventually calls generated Protobuf code for registering the GRPC Jasper server with the given Manager.
func RegisterJasperProcessManagerServer ¶
func RegisterJasperProcessManagerServer(s grpc.ServiceRegistrar, srv JasperProcessManagerServer)
Types ¶
type ArchiveFormat ¶
type ArchiveFormat int32
const ( ArchiveFormat_ARCHIVEUNKNOWN ArchiveFormat = 0 ArchiveFormat_ARCHIVEAUTO ArchiveFormat = 1 ArchiveFormat_ARCHIVETARGZ ArchiveFormat = 2 ArchiveFormat_ARCHIVEZIP ArchiveFormat = 3 )
func ConvertArchiveFormat ¶
func ConvertArchiveFormat(format options.ArchiveFormat) ArchiveFormat
ConvertArchiveFormat takes a Jasper ArchiveFormat struct and returns an equivalent protobuf RPC ArchiveFormat struct. ConvertArchiveFormat is the inverse of (ArchiveFormat) Export().
func (ArchiveFormat) Descriptor ¶
func (ArchiveFormat) Descriptor() protoreflect.EnumDescriptor
func (ArchiveFormat) Enum ¶
func (x ArchiveFormat) Enum() *ArchiveFormat
func (ArchiveFormat) EnumDescriptor
deprecated
func (ArchiveFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ArchiveFormat.Descriptor instead.
func (ArchiveFormat) Export ¶
func (format ArchiveFormat) Export() options.ArchiveFormat
Export takes a protobuf RPC ArchiveFormat struct and returns the analogous Jasper ArchiveFormat struct.
func (ArchiveFormat) Number ¶
func (x ArchiveFormat) Number() protoreflect.EnumNumber
func (ArchiveFormat) String ¶
func (x ArchiveFormat) String() string
func (ArchiveFormat) Type ¶
func (ArchiveFormat) Type() protoreflect.EnumType
type ArchiveOptions ¶
type ArchiveOptions struct { ShouldExtract bool `protobuf:"varint,1,opt,name=should_extract,json=shouldExtract,proto3" json:"should_extract,omitempty"` Format ArchiveFormat `protobuf:"varint,2,opt,name=format,proto3,enum=jasper.ArchiveFormat" json:"format,omitempty"` TargetPath string `protobuf:"bytes,3,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"` // contains filtered or unexported fields }
func ConvertArchiveOptions ¶
func ConvertArchiveOptions(opts options.Archive) *ArchiveOptions
ConvertArchiveOptions takes a Jasper ArchiveOptions struct and returns an equivalent protobuf RPC ArchiveOptions struct. ConvertArchiveOptions is the inverse of (ArchiveOptions) Export().
func (*ArchiveOptions) Descriptor
deprecated
func (*ArchiveOptions) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveOptions.ProtoReflect.Descriptor instead.
func (*ArchiveOptions) Export ¶
func (opts *ArchiveOptions) Export() options.Archive
Export takes a protobuf RPC ArchiveOptions struct and returns the analogous Jasper ArchiveOptions struct.
func (*ArchiveOptions) GetFormat ¶
func (x *ArchiveOptions) GetFormat() ArchiveFormat
func (*ArchiveOptions) GetShouldExtract ¶
func (x *ArchiveOptions) GetShouldExtract() bool
func (*ArchiveOptions) GetTargetPath ¶
func (x *ArchiveOptions) GetTargetPath() string
func (*ArchiveOptions) ProtoMessage ¶
func (*ArchiveOptions) ProtoMessage()
func (*ArchiveOptions) ProtoReflect ¶
func (x *ArchiveOptions) ProtoReflect() protoreflect.Message
func (*ArchiveOptions) Reset ¶
func (x *ArchiveOptions) Reset()
func (*ArchiveOptions) String ¶
func (x *ArchiveOptions) String() string
type BaseOptions ¶
type BaseOptions struct { Level *LogLevel `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` Buffer *BufferOptions `protobuf:"bytes,2,opt,name=buffer,proto3" json:"buffer,omitempty"` Format LogFormat `protobuf:"varint,3,opt,name=format,proto3,enum=jasper.LogFormat" json:"format,omitempty"` // contains filtered or unexported fields }
func (*BaseOptions) Descriptor
deprecated
func (*BaseOptions) Descriptor() ([]byte, []int)
Deprecated: Use BaseOptions.ProtoReflect.Descriptor instead.
func (*BaseOptions) Export ¶
func (opts *BaseOptions) Export() options.BaseOptions
Export takes a protobuf RPC BaseOptions struct and returns the analogous Jasper BaseOptions struct.
func (*BaseOptions) GetBuffer ¶
func (x *BaseOptions) GetBuffer() *BufferOptions
func (*BaseOptions) GetFormat ¶
func (x *BaseOptions) GetFormat() LogFormat
func (*BaseOptions) GetLevel ¶
func (x *BaseOptions) GetLevel() *LogLevel
func (*BaseOptions) ProtoMessage ¶
func (*BaseOptions) ProtoMessage()
func (*BaseOptions) ProtoReflect ¶
func (x *BaseOptions) ProtoReflect() protoreflect.Message
func (*BaseOptions) Reset ¶
func (x *BaseOptions) Reset()
func (*BaseOptions) String ¶
func (x *BaseOptions) String() string
type BufferOptions ¶
type BufferOptions struct { Buffered bool `protobuf:"varint,1,opt,name=buffered,proto3" json:"buffered,omitempty"` Duration int64 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"` MaxSize int64 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // contains filtered or unexported fields }
func ConvertBufferOptions ¶
func ConvertBufferOptions(opts options.BufferOptions) *BufferOptions
ConvertBufferOptions takes a Jasper BufferOptions struct and returns an equivalent protobuf RPC BufferOptions struct. ConvertBufferOptions is the inverse of (*BufferOptions) Export().
func (*BufferOptions) Descriptor
deprecated
func (*BufferOptions) Descriptor() ([]byte, []int)
Deprecated: Use BufferOptions.ProtoReflect.Descriptor instead.
func (*BufferOptions) Export ¶
func (opts *BufferOptions) Export() options.BufferOptions
Export takes a protobuf RPC BufferOptions struct and returns the analogous Jasper BufferOptions struct.
func (*BufferOptions) GetBuffered ¶
func (x *BufferOptions) GetBuffered() bool
func (*BufferOptions) GetDuration ¶
func (x *BufferOptions) GetDuration() int64
func (*BufferOptions) GetMaxSize ¶
func (x *BufferOptions) GetMaxSize() int64
func (*BufferOptions) ProtoMessage ¶
func (*BufferOptions) ProtoMessage()
func (*BufferOptions) ProtoReflect ¶
func (x *BufferOptions) ProtoReflect() protoreflect.Message
func (*BufferOptions) Reset ¶
func (x *BufferOptions) Reset()
func (*BufferOptions) String ¶
func (x *BufferOptions) String() string
type BuildOptions ¶
type BuildOptions struct { Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"` Edition string `protobuf:"bytes,3,opt,name=edition,proto3" json:"edition,omitempty"` Debug bool `protobuf:"varint,4,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func ConvertBuildOptions ¶
func ConvertBuildOptions(opts bond.BuildOptions) *BuildOptions
ConvertBuildOptions takes a bond BuildOptions struct and returns an equivalent protobuf RPC BuildOptions struct. ConvertBuildOptions is the inverse of (*BuildOptions) Export().
func (*BuildOptions) Descriptor
deprecated
func (*BuildOptions) Descriptor() ([]byte, []int)
Deprecated: Use BuildOptions.ProtoReflect.Descriptor instead.
func (*BuildOptions) Export ¶
func (opts *BuildOptions) Export() bond.BuildOptions
Export takes a protobuf RPC BuildOptions struct and returns the analogous bond.BuildOptions struct.
func (*BuildOptions) GetArch ¶
func (x *BuildOptions) GetArch() string
func (*BuildOptions) GetDebug ¶
func (x *BuildOptions) GetDebug() bool
func (*BuildOptions) GetEdition ¶
func (x *BuildOptions) GetEdition() string
func (*BuildOptions) GetTarget ¶
func (x *BuildOptions) GetTarget() string
func (*BuildOptions) ProtoMessage ¶
func (*BuildOptions) ProtoMessage()
func (*BuildOptions) ProtoReflect ¶
func (x *BuildOptions) ProtoReflect() protoreflect.Message
func (*BuildOptions) Reset ¶
func (x *BuildOptions) Reset()
func (*BuildOptions) String ¶
func (x *BuildOptions) String() string
type BuildloggerURLs ¶
type BuildloggerURLs struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
func ConvertBuildloggerURLs ¶
func ConvertBuildloggerURLs(urls []string) *BuildloggerURLs
ConvertBuildloggerURLs takes a []string and returns the analogous protobuf RPC BuildloggerURLs struct. ConvertBuildloggerURLs is the inverse of (*BuildloggerURLs) Export().
func (*BuildloggerURLs) Descriptor
deprecated
func (*BuildloggerURLs) Descriptor() ([]byte, []int)
Deprecated: Use BuildloggerURLs.ProtoReflect.Descriptor instead.
func (*BuildloggerURLs) Export ¶
func (u *BuildloggerURLs) Export() []string
Export takes a protobuf RPC BuildloggerURLs struct and returns the analogous []string.
func (*BuildloggerURLs) GetUrls ¶
func (x *BuildloggerURLs) GetUrls() []string
func (*BuildloggerURLs) ProtoMessage ¶
func (*BuildloggerURLs) ProtoMessage()
func (*BuildloggerURLs) ProtoReflect ¶
func (x *BuildloggerURLs) ProtoReflect() protoreflect.Message
func (*BuildloggerURLs) Reset ¶
func (x *BuildloggerURLs) Reset()
func (*BuildloggerURLs) String ¶
func (x *BuildloggerURLs) String() string
type BuildloggerV2Info ¶
type BuildloggerV2Info struct { CreateTest bool `protobuf:"varint,1,opt,name=create_test,json=createTest,proto3" json:"create_test,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Number int64 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"` Builder string `protobuf:"bytes,5,opt,name=builder,proto3" json:"builder,omitempty"` Test string `protobuf:"bytes,6,opt,name=test,proto3" json:"test,omitempty"` Command string `protobuf:"bytes,7,opt,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
func ConvertBuildloggerOptions ¶
func ConvertBuildloggerOptions(opts send.BuildloggerConfig) *BuildloggerV2Info
ConvertBuildloggerOptions takes a grip send.BuildloggerConfig and returns an equivalent protobuf RPC BuildloggerV2Info struct. ConvertBuildloggerOptions is the inverse of (BuildloggerV2Info) Export().
func (*BuildloggerV2Info) Descriptor
deprecated
func (*BuildloggerV2Info) Descriptor() ([]byte, []int)
Deprecated: Use BuildloggerV2Info.ProtoReflect.Descriptor instead.
func (*BuildloggerV2Info) Export ¶
func (opts *BuildloggerV2Info) Export() send.BuildloggerConfig
Export takes a protobuf RPC BuildloggerV2Info struct and returns the analogous grip send.BuildloggerConfig struct.
func (*BuildloggerV2Info) GetBuilder ¶
func (x *BuildloggerV2Info) GetBuilder() string
func (*BuildloggerV2Info) GetCommand ¶
func (x *BuildloggerV2Info) GetCommand() string
func (*BuildloggerV2Info) GetCreateTest ¶
func (x *BuildloggerV2Info) GetCreateTest() bool
func (*BuildloggerV2Info) GetNumber ¶
func (x *BuildloggerV2Info) GetNumber() int64
func (*BuildloggerV2Info) GetPhase ¶
func (x *BuildloggerV2Info) GetPhase() string
func (*BuildloggerV2Info) GetTest ¶
func (x *BuildloggerV2Info) GetTest() string
func (*BuildloggerV2Info) GetUrl ¶
func (x *BuildloggerV2Info) GetUrl() string
func (*BuildloggerV2Info) ProtoMessage ¶
func (*BuildloggerV2Info) ProtoMessage()
func (*BuildloggerV2Info) ProtoReflect ¶
func (x *BuildloggerV2Info) ProtoReflect() protoreflect.Message
func (*BuildloggerV2Info) Reset ¶
func (x *BuildloggerV2Info) Reset()
func (*BuildloggerV2Info) String ¶
func (x *BuildloggerV2Info) String() string
type BuildloggerV2Options ¶
type BuildloggerV2Options struct { Buildlogger *BuildloggerV2Info `protobuf:"bytes,1,opt,name=buildlogger,proto3" json:"buildlogger,omitempty"` Base *BaseOptions `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*BuildloggerV2Options) Descriptor
deprecated
func (*BuildloggerV2Options) Descriptor() ([]byte, []int)
Deprecated: Use BuildloggerV2Options.ProtoReflect.Descriptor instead.
func (*BuildloggerV2Options) Export ¶
func (opts *BuildloggerV2Options) Export() options.LoggerProducer
Export takes a protobuf RPC BuildloggerV2Options struct and returns the analogous Jasper options.LoggerProducer.
func (*BuildloggerV2Options) GetBase ¶
func (x *BuildloggerV2Options) GetBase() *BaseOptions
func (*BuildloggerV2Options) GetBuildlogger ¶
func (x *BuildloggerV2Options) GetBuildlogger() *BuildloggerV2Info
func (*BuildloggerV2Options) ProtoMessage ¶
func (*BuildloggerV2Options) ProtoMessage()
func (*BuildloggerV2Options) ProtoReflect ¶
func (x *BuildloggerV2Options) ProtoReflect() protoreflect.Message
func (*BuildloggerV2Options) Reset ¶
func (x *BuildloggerV2Options) Reset()
func (*BuildloggerV2Options) String ¶
func (x *BuildloggerV2Options) String() string
type BuildloggerV3Info ¶
type BuildloggerV3Info struct { Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Variant string `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"` TaskName string `protobuf:"bytes,4,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` TaskId string `protobuf:"bytes,5,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` Execution int32 `protobuf:"varint,6,opt,name=execution,proto3" json:"execution,omitempty"` TestName string `protobuf:"bytes,7,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"` Trial int32 `protobuf:"varint,8,opt,name=trial,proto3" json:"trial,omitempty"` ProcName string `protobuf:"bytes,9,opt,name=proc_name,json=procName,proto3" json:"proc_name,omitempty"` Format LogFormat `protobuf:"varint,10,opt,name=format,proto3,enum=jasper.LogFormat" json:"format,omitempty"` Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` Args map[string]string `` /* 150-byte string literal not displayed */ Mainline bool `protobuf:"varint,13,opt,name=mainline,proto3" json:"mainline,omitempty"` Prefix string `protobuf:"bytes,14,opt,name=prefix,proto3" json:"prefix,omitempty"` MaxBufferSize int64 `protobuf:"varint,15,opt,name=max_buffer_size,json=maxBufferSize,proto3" json:"max_buffer_size,omitempty"` FlushInterval int64 `protobuf:"varint,16,opt,name=flush_interval,json=flushInterval,proto3" json:"flush_interval,omitempty"` DisableNewLineCheck bool `protobuf:"varint,17,opt,name=disable_new_line_check,json=disableNewLineCheck,proto3" json:"disable_new_line_check,omitempty"` BaseAddress string `protobuf:"bytes,18,opt,name=base_address,json=baseAddress,proto3" json:"base_address,omitempty"` RpcPort string `protobuf:"bytes,19,opt,name=rpc_port,json=rpcPort,proto3" json:"rpc_port,omitempty"` Insecure bool `protobuf:"varint,20,opt,name=insecure,proto3" json:"insecure,omitempty"` Username string `protobuf:"bytes,21,opt,name=username,proto3" json:"username,omitempty"` ApiKey string `protobuf:"bytes,22,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // contains filtered or unexported fields }
func (*BuildloggerV3Info) Descriptor
deprecated
func (*BuildloggerV3Info) Descriptor() ([]byte, []int)
Deprecated: Use BuildloggerV3Info.ProtoReflect.Descriptor instead.
func (*BuildloggerV3Info) GetApiKey ¶
func (x *BuildloggerV3Info) GetApiKey() string
func (*BuildloggerV3Info) GetArgs ¶
func (x *BuildloggerV3Info) GetArgs() map[string]string
func (*BuildloggerV3Info) GetBaseAddress ¶
func (x *BuildloggerV3Info) GetBaseAddress() string
func (*BuildloggerV3Info) GetDisableNewLineCheck ¶
func (x *BuildloggerV3Info) GetDisableNewLineCheck() bool
func (*BuildloggerV3Info) GetExecution ¶
func (x *BuildloggerV3Info) GetExecution() int32
func (*BuildloggerV3Info) GetFlushInterval ¶
func (x *BuildloggerV3Info) GetFlushInterval() int64
func (*BuildloggerV3Info) GetFormat ¶
func (x *BuildloggerV3Info) GetFormat() LogFormat
func (*BuildloggerV3Info) GetInsecure ¶
func (x *BuildloggerV3Info) GetInsecure() bool
func (*BuildloggerV3Info) GetMainline ¶
func (x *BuildloggerV3Info) GetMainline() bool
func (*BuildloggerV3Info) GetMaxBufferSize ¶
func (x *BuildloggerV3Info) GetMaxBufferSize() int64
func (*BuildloggerV3Info) GetPrefix ¶
func (x *BuildloggerV3Info) GetPrefix() string
func (*BuildloggerV3Info) GetProcName ¶
func (x *BuildloggerV3Info) GetProcName() string
func (*BuildloggerV3Info) GetProject ¶
func (x *BuildloggerV3Info) GetProject() string
func (*BuildloggerV3Info) GetRpcPort ¶
func (x *BuildloggerV3Info) GetRpcPort() string
func (*BuildloggerV3Info) GetTags ¶
func (x *BuildloggerV3Info) GetTags() []string
func (*BuildloggerV3Info) GetTaskId ¶
func (x *BuildloggerV3Info) GetTaskId() string
func (*BuildloggerV3Info) GetTaskName ¶
func (x *BuildloggerV3Info) GetTaskName() string
func (*BuildloggerV3Info) GetTestName ¶
func (x *BuildloggerV3Info) GetTestName() string
func (*BuildloggerV3Info) GetTrial ¶
func (x *BuildloggerV3Info) GetTrial() int32
func (*BuildloggerV3Info) GetUsername ¶
func (x *BuildloggerV3Info) GetUsername() string
func (*BuildloggerV3Info) GetVariant ¶
func (x *BuildloggerV3Info) GetVariant() string
func (*BuildloggerV3Info) GetVersion ¶
func (x *BuildloggerV3Info) GetVersion() string
func (*BuildloggerV3Info) ProtoMessage ¶
func (*BuildloggerV3Info) ProtoMessage()
func (*BuildloggerV3Info) ProtoReflect ¶
func (x *BuildloggerV3Info) ProtoReflect() protoreflect.Message
func (*BuildloggerV3Info) Reset ¶
func (x *BuildloggerV3Info) Reset()
func (*BuildloggerV3Info) String ¶
func (x *BuildloggerV3Info) String() string
type BuildloggerV3Options ¶
type BuildloggerV3Options struct { Buildloggerv3 *BuildloggerV3Info `protobuf:"bytes,1,opt,name=buildloggerv3,proto3" json:"buildloggerv3,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Level *LogLevel `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
func (*BuildloggerV3Options) Descriptor
deprecated
func (*BuildloggerV3Options) Descriptor() ([]byte, []int)
Deprecated: Use BuildloggerV3Options.ProtoReflect.Descriptor instead.
func (*BuildloggerV3Options) Export ¶
func (opts *BuildloggerV3Options) Export() (*options.LoggerConfig, error)
Export takes the protobuf RPC BuildloggerV3Options struct and returns the analogous Jasper options.LoggerConfig.
func (*BuildloggerV3Options) GetBuildloggerv3 ¶
func (x *BuildloggerV3Options) GetBuildloggerv3() *BuildloggerV3Info
func (*BuildloggerV3Options) GetLevel ¶
func (x *BuildloggerV3Options) GetLevel() *LogLevel
func (*BuildloggerV3Options) GetName ¶
func (x *BuildloggerV3Options) GetName() string
func (*BuildloggerV3Options) ProtoMessage ¶
func (*BuildloggerV3Options) ProtoMessage()
func (*BuildloggerV3Options) ProtoReflect ¶
func (x *BuildloggerV3Options) ProtoReflect() protoreflect.Message
func (*BuildloggerV3Options) Reset ¶
func (x *BuildloggerV3Options) Reset()
func (*BuildloggerV3Options) String ¶
func (x *BuildloggerV3Options) String() string
type CacheOptions ¶
type CacheOptions struct { Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` PruneDelaySeconds int64 `protobuf:"varint,2,opt,name=prune_delay_seconds,json=pruneDelaySeconds,proto3" json:"prune_delay_seconds,omitempty"` MaxSize int64 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // contains filtered or unexported fields }
func ConvertCacheOptions ¶
func ConvertCacheOptions(jopts options.Cache) *CacheOptions
ConvertCacheOptions takes a Jasper CacheOptions struct and returns an equivalent protobuf RPC CacheOptions struct. ConvertCacheOptions is the inverse of (*CacheOptions) Export().
func (*CacheOptions) Descriptor
deprecated
func (*CacheOptions) Descriptor() ([]byte, []int)
Deprecated: Use CacheOptions.ProtoReflect.Descriptor instead.
func (*CacheOptions) Export ¶
func (opts *CacheOptions) Export() options.Cache
Export takes a protobuf RPC CacheOptions struct and returns the analogous Jasper CacheOptions struct.
func (*CacheOptions) GetDisabled ¶
func (x *CacheOptions) GetDisabled() bool
func (*CacheOptions) GetMaxSize ¶
func (x *CacheOptions) GetMaxSize() int64
func (*CacheOptions) GetPruneDelaySeconds ¶
func (x *CacheOptions) GetPruneDelaySeconds() int64
func (*CacheOptions) ProtoMessage ¶
func (*CacheOptions) ProtoMessage()
func (*CacheOptions) ProtoReflect ¶
func (x *CacheOptions) ProtoReflect() protoreflect.Message
func (*CacheOptions) Reset ¶
func (x *CacheOptions) Reset()
func (*CacheOptions) String ¶
func (x *CacheOptions) String() string
type CreateOptions ¶
type CreateOptions struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` WorkingDirectory string `protobuf:"bytes,2,opt,name=working_directory,json=workingDirectory,proto3" json:"working_directory,omitempty"` Environment map[string]string `` /* 163-byte string literal not displayed */ OverrideEnviron bool `protobuf:"varint,4,opt,name=override_environ,json=overrideEnviron,proto3" json:"override_environ,omitempty"` TimeoutSeconds int64 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` OnSuccess []*CreateOptions `protobuf:"bytes,7,rep,name=on_success,json=onSuccess,proto3" json:"on_success,omitempty"` OnFailure []*CreateOptions `protobuf:"bytes,8,rep,name=on_failure,json=onFailure,proto3" json:"on_failure,omitempty"` OnTimeout []*CreateOptions `protobuf:"bytes,9,rep,name=on_timeout,json=onTimeout,proto3" json:"on_timeout,omitempty"` Output *OutputOptions `protobuf:"bytes,10,opt,name=output,proto3" json:"output,omitempty"` StandardInputBytes []byte `protobuf:"bytes,11,opt,name=standard_input_bytes,json=standardInputBytes,proto3" json:"standard_input_bytes,omitempty"` // contains filtered or unexported fields }
func ConvertCreateOptions ¶
func ConvertCreateOptions(opts *options.Create) (*CreateOptions, error)
ConvertCreateOptions takes a Jasper CreateOptions struct and returns an equivalent protobuf RPC *CreateOptions struct. ConvertCreateOptions is the inverse of (*CreateOptions) Export(). It is not safe to concurrently access the converted Jasper CreateOptions and the returned RPC CreateOptions.
func (*CreateOptions) Descriptor
deprecated
func (*CreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use CreateOptions.ProtoReflect.Descriptor instead.
func (*CreateOptions) Export ¶
func (opts *CreateOptions) Export() (*options.Create, error)
Export takes a protobuf RPC CreateOptions struct and returns the analogous Jasper CreateOptions struct. It is not safe to concurrently access the exported RPC CreateOptions and the returned Jasper CreateOptions.
func (*CreateOptions) GetArgs ¶
func (x *CreateOptions) GetArgs() []string
func (*CreateOptions) GetEnvironment ¶
func (x *CreateOptions) GetEnvironment() map[string]string
func (*CreateOptions) GetOnFailure ¶
func (x *CreateOptions) GetOnFailure() []*CreateOptions
func (*CreateOptions) GetOnSuccess ¶
func (x *CreateOptions) GetOnSuccess() []*CreateOptions
func (*CreateOptions) GetOnTimeout ¶
func (x *CreateOptions) GetOnTimeout() []*CreateOptions
func (*CreateOptions) GetOutput ¶
func (x *CreateOptions) GetOutput() *OutputOptions
func (*CreateOptions) GetOverrideEnviron ¶
func (x *CreateOptions) GetOverrideEnviron() bool
func (*CreateOptions) GetStandardInputBytes ¶
func (x *CreateOptions) GetStandardInputBytes() []byte
func (*CreateOptions) GetTags ¶
func (x *CreateOptions) GetTags() []string
func (*CreateOptions) GetTimeoutSeconds ¶
func (x *CreateOptions) GetTimeoutSeconds() int64
func (*CreateOptions) GetWorkingDirectory ¶
func (x *CreateOptions) GetWorkingDirectory() string
func (*CreateOptions) ProtoMessage ¶
func (*CreateOptions) ProtoMessage()
func (*CreateOptions) ProtoReflect ¶
func (x *CreateOptions) ProtoReflect() protoreflect.Message
func (*CreateOptions) Reset ¶
func (x *CreateOptions) Reset()
func (*CreateOptions) String ¶
func (x *CreateOptions) String() string
type DefaultLoggerOptions ¶
type DefaultLoggerOptions struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Base *BaseOptions `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*DefaultLoggerOptions) Descriptor
deprecated
func (*DefaultLoggerOptions) Descriptor() ([]byte, []int)
Deprecated: Use DefaultLoggerOptions.ProtoReflect.Descriptor instead.
func (*DefaultLoggerOptions) Export ¶
func (opts *DefaultLoggerOptions) Export() options.LoggerProducer
Export takes a protobuf RPC DefaultLoggerOptions struct and returns the analogous Jasper options.LoggerProducer.
func (*DefaultLoggerOptions) GetBase ¶
func (x *DefaultLoggerOptions) GetBase() *BaseOptions
func (*DefaultLoggerOptions) GetPrefix ¶
func (x *DefaultLoggerOptions) GetPrefix() string
func (*DefaultLoggerOptions) ProtoMessage ¶
func (*DefaultLoggerOptions) ProtoMessage()
func (*DefaultLoggerOptions) ProtoReflect ¶
func (x *DefaultLoggerOptions) ProtoReflect() protoreflect.Message
func (*DefaultLoggerOptions) Reset ¶
func (x *DefaultLoggerOptions) Reset()
func (*DefaultLoggerOptions) String ¶
func (x *DefaultLoggerOptions) String() string
type DownloadInfo ¶
type DownloadInfo struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` ArchiveOpts *ArchiveOptions `protobuf:"bytes,3,opt,name=archive_opts,json=archiveOpts,proto3" json:"archive_opts,omitempty"` // contains filtered or unexported fields }
func ConvertDownloadOptions ¶
func ConvertDownloadOptions(opts options.Download) *DownloadInfo
ConvertDownloadOptions takes an options.Download struct and returns an equivalent protobuf RPC DownloadInfo struct. ConvertDownloadOptions is the inverse of (*DownloadInfo) Export().
func (*DownloadInfo) Descriptor
deprecated
func (*DownloadInfo) Descriptor() ([]byte, []int)
Deprecated: Use DownloadInfo.ProtoReflect.Descriptor instead.
func (*DownloadInfo) Export ¶
func (opts *DownloadInfo) Export() options.Download
Export takes a protobuf RPC DownloadInfo struct and returns the analogous options.Download struct.
func (*DownloadInfo) GetArchiveOpts ¶
func (x *DownloadInfo) GetArchiveOpts() *ArchiveOptions
func (*DownloadInfo) GetPath ¶
func (x *DownloadInfo) GetPath() string
func (*DownloadInfo) GetUrl ¶
func (x *DownloadInfo) GetUrl() string
func (*DownloadInfo) ProtoMessage ¶
func (*DownloadInfo) ProtoMessage()
func (*DownloadInfo) ProtoReflect ¶
func (x *DownloadInfo) ProtoReflect() protoreflect.Message
func (*DownloadInfo) Reset ¶
func (x *DownloadInfo) Reset()
func (*DownloadInfo) String ¶
func (x *DownloadInfo) String() string
type EventName ¶
type EventName struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*EventName) Descriptor
deprecated
func (*EventName) ProtoMessage ¶
func (*EventName) ProtoMessage()
func (*EventName) ProtoReflect ¶
func (x *EventName) ProtoReflect() protoreflect.Message
type FileLoggerOptions ¶
type FileLoggerOptions struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Base *BaseOptions `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*FileLoggerOptions) Descriptor
deprecated
func (*FileLoggerOptions) Descriptor() ([]byte, []int)
Deprecated: Use FileLoggerOptions.ProtoReflect.Descriptor instead.
func (*FileLoggerOptions) Export ¶
func (opts *FileLoggerOptions) Export() options.LoggerProducer
Export takes a protobuf RPC FileLoggerOptions struct and returns the analogous Jasper options.LoggerProducer.
func (*FileLoggerOptions) GetBase ¶
func (x *FileLoggerOptions) GetBase() *BaseOptions
func (*FileLoggerOptions) GetFilename ¶
func (x *FileLoggerOptions) GetFilename() string
func (*FileLoggerOptions) ProtoMessage ¶
func (*FileLoggerOptions) ProtoMessage()
func (*FileLoggerOptions) ProtoReflect ¶
func (x *FileLoggerOptions) ProtoReflect() protoreflect.Message
func (*FileLoggerOptions) Reset ¶
func (x *FileLoggerOptions) Reset()
func (*FileLoggerOptions) String ¶
func (x *FileLoggerOptions) String() string
type Filter ¶
type Filter struct { Name FilterSpecifications `protobuf:"varint,1,opt,name=name,proto3,enum=jasper.FilterSpecifications" json:"name,omitempty"` // contains filtered or unexported fields }
func ConvertFilter ¶
ConvertFilter takes a Jasper Filter struct and returns an equivalent protobuf RPC *Filter struct.
func (*Filter) Descriptor
deprecated
func (*Filter) GetName ¶
func (x *Filter) GetName() FilterSpecifications
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type FilterSpecifications ¶
type FilterSpecifications int32
const ( FilterSpecifications_ALL FilterSpecifications = 0 FilterSpecifications_RUNNING FilterSpecifications = 1 FilterSpecifications_TERMINATED FilterSpecifications = 2 FilterSpecifications_FAILED FilterSpecifications = 3 FilterSpecifications_SUCCESSFUL FilterSpecifications = 4 )
func (FilterSpecifications) Descriptor ¶
func (FilterSpecifications) Descriptor() protoreflect.EnumDescriptor
func (FilterSpecifications) Enum ¶
func (x FilterSpecifications) Enum() *FilterSpecifications
func (FilterSpecifications) EnumDescriptor
deprecated
func (FilterSpecifications) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilterSpecifications.Descriptor instead.
func (FilterSpecifications) Number ¶
func (x FilterSpecifications) Number() protoreflect.EnumNumber
func (FilterSpecifications) String ¶
func (x FilterSpecifications) String() string
func (FilterSpecifications) Type ¶
func (FilterSpecifications) Type() protoreflect.EnumType
type IDResponse ¶
type IDResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*IDResponse) Descriptor
deprecated
func (*IDResponse) Descriptor() ([]byte, []int)
Deprecated: Use IDResponse.ProtoReflect.Descriptor instead.
func (*IDResponse) GetValue ¶
func (x *IDResponse) GetValue() string
func (*IDResponse) ProtoMessage ¶
func (*IDResponse) ProtoMessage()
func (*IDResponse) ProtoReflect ¶
func (x *IDResponse) ProtoReflect() protoreflect.Message
func (*IDResponse) Reset ¶
func (x *IDResponse) Reset()
func (*IDResponse) String ¶
func (x *IDResponse) String() string
type InMemoryLoggerOptions ¶
type InMemoryLoggerOptions struct { InMemoryCap int64 `protobuf:"varint,1,opt,name=in_memory_cap,json=inMemoryCap,proto3" json:"in_memory_cap,omitempty"` Base *BaseOptions `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*InMemoryLoggerOptions) Descriptor
deprecated
func (*InMemoryLoggerOptions) Descriptor() ([]byte, []int)
Deprecated: Use InMemoryLoggerOptions.ProtoReflect.Descriptor instead.
func (*InMemoryLoggerOptions) Export ¶
func (opts *InMemoryLoggerOptions) Export() options.LoggerProducer
Export takes a protobuf RPC InMemoryLoggerOptions struct and returns the analogous Jasper options.LoggerProducer.
func (*InMemoryLoggerOptions) GetBase ¶
func (x *InMemoryLoggerOptions) GetBase() *BaseOptions
func (*InMemoryLoggerOptions) GetInMemoryCap ¶
func (x *InMemoryLoggerOptions) GetInMemoryCap() int64
func (*InMemoryLoggerOptions) ProtoMessage ¶
func (*InMemoryLoggerOptions) ProtoMessage()
func (*InMemoryLoggerOptions) ProtoReflect ¶
func (x *InMemoryLoggerOptions) ProtoReflect() protoreflect.Message
func (*InMemoryLoggerOptions) Reset ¶
func (x *InMemoryLoggerOptions) Reset()
func (*InMemoryLoggerOptions) String ¶
func (x *InMemoryLoggerOptions) String() string
type InheritedLoggerOptions ¶
type InheritedLoggerOptions struct { Base *BaseOptions `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*InheritedLoggerOptions) Descriptor
deprecated
func (*InheritedLoggerOptions) Descriptor() ([]byte, []int)
Deprecated: Use InheritedLoggerOptions.ProtoReflect.Descriptor instead.
func (*InheritedLoggerOptions) Export ¶
func (opts *InheritedLoggerOptions) Export() options.LoggerProducer
Export takes a protobuf RPC InheritedLoggerOptions struct and returns the analogous Jasper options.LoggerProducer.
func (*InheritedLoggerOptions) GetBase ¶
func (x *InheritedLoggerOptions) GetBase() *BaseOptions
func (*InheritedLoggerOptions) ProtoMessage ¶
func (*InheritedLoggerOptions) ProtoMessage()
func (*InheritedLoggerOptions) ProtoReflect ¶
func (x *InheritedLoggerOptions) ProtoReflect() protoreflect.Message
func (*InheritedLoggerOptions) Reset ¶
func (x *InheritedLoggerOptions) Reset()
func (*InheritedLoggerOptions) String ¶
func (x *InheritedLoggerOptions) String() string
type JasperProcessID ¶
type JasperProcessID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*JasperProcessID) Descriptor
deprecated
func (*JasperProcessID) Descriptor() ([]byte, []int)
Deprecated: Use JasperProcessID.ProtoReflect.Descriptor instead.
func (*JasperProcessID) GetValue ¶
func (x *JasperProcessID) GetValue() string
func (*JasperProcessID) ProtoMessage ¶
func (*JasperProcessID) ProtoMessage()
func (*JasperProcessID) ProtoReflect ¶
func (x *JasperProcessID) ProtoReflect() protoreflect.Message
func (*JasperProcessID) Reset ¶
func (x *JasperProcessID) Reset()
func (*JasperProcessID) String ¶
func (x *JasperProcessID) String() string
type JasperProcessManagerClient ¶
type JasperProcessManagerClient interface { // Manager functions ID(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IDResponse, error) Create(ctx context.Context, in *CreateOptions, opts ...grpc.CallOption) (*ProcessInfo, error) List(ctx context.Context, in *Filter, opts ...grpc.CallOption) (JasperProcessManager_ListClient, error) Group(ctx context.Context, in *TagName, opts ...grpc.CallOption) (JasperProcessManager_GroupClient, error) Get(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*ProcessInfo, error) Signal(ctx context.Context, in *SignalProcess, opts ...grpc.CallOption) (*OperationOutcome, error) Clear(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OperationOutcome, error) Close(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OperationOutcome, error) WriteFile(ctx context.Context, opts ...grpc.CallOption) (JasperProcessManager_WriteFileClient, error) // Process functions TagProcess(ctx context.Context, in *ProcessTags, opts ...grpc.CallOption) (*OperationOutcome, error) ResetTags(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*OperationOutcome, error) GetTags(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*ProcessTags, error) RegisterSignalTriggerID(ctx context.Context, in *SignalTriggerParams, opts ...grpc.CallOption) (*OperationOutcome, error) Wait(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*OperationOutcome, error) Respawn(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*ProcessInfo, error) // scripting.Harness functions ScriptingHarnessSetup(ctx context.Context, in *ScriptingHarnessID, opts ...grpc.CallOption) (*OperationOutcome, error) ScriptingHarnessCleanup(ctx context.Context, in *ScriptingHarnessID, opts ...grpc.CallOption) (*OperationOutcome, error) ScriptingHarnessRun(ctx context.Context, in *ScriptingHarnessRunArgs, opts ...grpc.CallOption) (*OperationOutcome, error) ScriptingHarnessBuild(ctx context.Context, in *ScriptingHarnessBuildArgs, opts ...grpc.CallOption) (*ScriptingHarnessBuildResponse, error) ScriptingHarnessRunScript(ctx context.Context, in *ScriptingHarnessRunScriptArgs, opts ...grpc.CallOption) (*OperationOutcome, error) ScriptingHarnessTest(ctx context.Context, in *ScriptingHarnessTestArgs, opts ...grpc.CallOption) (*ScriptingHarnessTestResponse, error) // LoggingCache functions LoggingCacheCreate(ctx context.Context, in *LoggingCacheCreateArgs, opts ...grpc.CallOption) (*LoggingCacheInstance, error) LoggingCacheGet(ctx context.Context, in *LoggingCacheArgs, opts ...grpc.CallOption) (*LoggingCacheInstance, error) LoggingCacheRemove(ctx context.Context, in *LoggingCacheArgs, opts ...grpc.CallOption) (*OperationOutcome, error) LoggingCacheCloseAndRemove(ctx context.Context, in *LoggingCacheArgs, opts ...grpc.CallOption) (*OperationOutcome, error) LoggingCacheClear(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OperationOutcome, error) LoggingCacheLen(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*LoggingCacheLenResponse, error) LoggingCachePrune(ctx context.Context, in *timestamppb.Timestamp, opts ...grpc.CallOption) (*OperationOutcome, error) // Remote specific functions ScriptingHarnessCreate(ctx context.Context, in *ScriptingOptions, opts ...grpc.CallOption) (*ScriptingHarnessID, error) ScriptingHarnessGet(ctx context.Context, in *ScriptingHarnessID, opts ...grpc.CallOption) (*OperationOutcome, error) Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatusResponse, error) ConfigureCache(ctx context.Context, in *CacheOptions, opts ...grpc.CallOption) (*OperationOutcome, error) DownloadFile(ctx context.Context, in *DownloadInfo, opts ...grpc.CallOption) (*OperationOutcome, error) DownloadMongoDB(ctx context.Context, in *MongoDBDownloadOptions, opts ...grpc.CallOption) (*OperationOutcome, error) GetLogStream(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*LogStream, error) GetBuildloggerURLs(ctx context.Context, in *JasperProcessID, opts ...grpc.CallOption) (*BuildloggerURLs, error) SignalEvent(ctx context.Context, in *EventName, opts ...grpc.CallOption) (*OperationOutcome, error) SendMessages(ctx context.Context, in *LoggingPayload, opts ...grpc.CallOption) (*OperationOutcome, error) }
JasperProcessManagerClient is the client API for JasperProcessManager 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 NewJasperProcessManagerClient ¶
func NewJasperProcessManagerClient(cc grpc.ClientConnInterface) JasperProcessManagerClient
type JasperProcessManagerServer ¶
type JasperProcessManagerServer interface { // Manager functions ID(context.Context, *emptypb.Empty) (*IDResponse, error) Create(context.Context, *CreateOptions) (*ProcessInfo, error) List(*Filter, JasperProcessManager_ListServer) error Group(*TagName, JasperProcessManager_GroupServer) error Get(context.Context, *JasperProcessID) (*ProcessInfo, error) Signal(context.Context, *SignalProcess) (*OperationOutcome, error) Clear(context.Context, *emptypb.Empty) (*OperationOutcome, error) Close(context.Context, *emptypb.Empty) (*OperationOutcome, error) WriteFile(JasperProcessManager_WriteFileServer) error // Process functions TagProcess(context.Context, *ProcessTags) (*OperationOutcome, error) ResetTags(context.Context, *JasperProcessID) (*OperationOutcome, error) GetTags(context.Context, *JasperProcessID) (*ProcessTags, error) RegisterSignalTriggerID(context.Context, *SignalTriggerParams) (*OperationOutcome, error) Wait(context.Context, *JasperProcessID) (*OperationOutcome, error) Respawn(context.Context, *JasperProcessID) (*ProcessInfo, error) // scripting.Harness functions ScriptingHarnessSetup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error) ScriptingHarnessCleanup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error) ScriptingHarnessRun(context.Context, *ScriptingHarnessRunArgs) (*OperationOutcome, error) ScriptingHarnessBuild(context.Context, *ScriptingHarnessBuildArgs) (*ScriptingHarnessBuildResponse, error) ScriptingHarnessRunScript(context.Context, *ScriptingHarnessRunScriptArgs) (*OperationOutcome, error) ScriptingHarnessTest(context.Context, *ScriptingHarnessTestArgs) (*ScriptingHarnessTestResponse, error) // LoggingCache functions LoggingCacheCreate(context.Context, *LoggingCacheCreateArgs) (*LoggingCacheInstance, error) LoggingCacheGet(context.Context, *LoggingCacheArgs) (*LoggingCacheInstance, error) LoggingCacheRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error) LoggingCacheCloseAndRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error) LoggingCacheClear(context.Context, *emptypb.Empty) (*OperationOutcome, error) LoggingCacheLen(context.Context, *emptypb.Empty) (*LoggingCacheLenResponse, error) LoggingCachePrune(context.Context, *timestamppb.Timestamp) (*OperationOutcome, error) // Remote specific functions ScriptingHarnessCreate(context.Context, *ScriptingOptions) (*ScriptingHarnessID, error) ScriptingHarnessGet(context.Context, *ScriptingHarnessID) (*OperationOutcome, error) Status(context.Context, *emptypb.Empty) (*StatusResponse, error) ConfigureCache(context.Context, *CacheOptions) (*OperationOutcome, error) DownloadFile(context.Context, *DownloadInfo) (*OperationOutcome, error) DownloadMongoDB(context.Context, *MongoDBDownloadOptions) (*OperationOutcome, error) GetLogStream(context.Context, *LogRequest) (*LogStream, error) GetBuildloggerURLs(context.Context, *JasperProcessID) (*BuildloggerURLs, error) SignalEvent(context.Context, *EventName) (*OperationOutcome, error) SendMessages(context.Context, *LoggingPayload) (*OperationOutcome, error) // contains filtered or unexported methods }
JasperProcessManagerServer is the server API for JasperProcessManager service. All implementations must embed UnimplementedJasperProcessManagerServer for forward compatibility
type JasperProcessManager_GroupClient ¶
type JasperProcessManager_GroupClient interface { Recv() (*ProcessInfo, error) grpc.ClientStream }
type JasperProcessManager_GroupServer ¶
type JasperProcessManager_GroupServer interface { Send(*ProcessInfo) error grpc.ServerStream }
type JasperProcessManager_ListClient ¶
type JasperProcessManager_ListClient interface { Recv() (*ProcessInfo, error) grpc.ClientStream }
type JasperProcessManager_ListServer ¶
type JasperProcessManager_ListServer interface { Send(*ProcessInfo) error grpc.ServerStream }
type JasperProcessManager_WriteFileClient ¶
type JasperProcessManager_WriteFileClient interface { Send(*WriteFileInfo) error CloseAndRecv() (*OperationOutcome, error) grpc.ClientStream }
type JasperProcessManager_WriteFileServer ¶
type JasperProcessManager_WriteFileServer interface { SendAndClose(*OperationOutcome) error Recv() (*WriteFileInfo, error) grpc.ServerStream }
type LogFormat ¶
type LogFormat int32
func ConvertLogFormat ¶
ConvertLogFormat takes a Jasper LogFormat struct and returns an equivalent protobuf RPC LogFormat struct. ConvertLogFormat is the inverse of (LogFormat) Export().
func (LogFormat) Descriptor ¶
func (LogFormat) Descriptor() protoreflect.EnumDescriptor
func (LogFormat) EnumDescriptor
deprecated
func (LogFormat) Export ¶
Export takes a protobuf RPC LogFormat struct and returns the analogous Jasper LogFormat struct.
func (LogFormat) Number ¶
func (x LogFormat) Number() protoreflect.EnumNumber
func (LogFormat) Type ¶
func (LogFormat) Type() protoreflect.EnumType
type LogLevel ¶
type LogLevel struct { Threshold int32 `protobuf:"varint,1,opt,name=threshold,proto3" json:"threshold,omitempty"` Default int32 `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` // contains filtered or unexported fields }
func ConvertLogLevel ¶
ConvertLogLevel takes a send LevelInfo struct and returns an equivalent protobuf RPC LogLevel struct. ConvertLogLevel is the inverse of (*LogLevel) Export().
func (*LogLevel) Descriptor
deprecated
func (*LogLevel) Export ¶
Export takes a protobuf RPC LogLevel struct and returns the analogous send LevelInfo struct.
func (*LogLevel) GetDefault ¶
func (*LogLevel) GetThreshold ¶
func (*LogLevel) ProtoMessage ¶
func (*LogLevel) ProtoMessage()
func (*LogLevel) ProtoReflect ¶
func (x *LogLevel) ProtoReflect() protoreflect.Message
type LogRequest ¶
type LogRequest struct { Id *JasperProcessID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*LogRequest) Descriptor
deprecated
func (*LogRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.
func (*LogRequest) GetCount ¶
func (x *LogRequest) GetCount() int64
func (*LogRequest) GetId ¶
func (x *LogRequest) GetId() *JasperProcessID
func (*LogRequest) ProtoMessage ¶
func (*LogRequest) ProtoMessage()
func (*LogRequest) ProtoReflect ¶
func (x *LogRequest) ProtoReflect() protoreflect.Message
func (*LogRequest) Reset ¶
func (x *LogRequest) Reset()
func (*LogRequest) String ¶
func (x *LogRequest) String() string
type LogStream ¶
type LogStream struct { Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` Done bool `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"` // contains filtered or unexported fields }
func ConvertLogStream ¶
ConvertLogStream takes a Jasper LogStream and returns an equivalent protobuf RPC LogStream. ConvertLogStream is the inverse of (*LogStream) Export().
func (*LogStream) Descriptor
deprecated
func (*LogStream) Export ¶
Export takes a protobuf RPC LogStream and returns the analogous Jasper LogStream.
func (*LogStream) ProtoMessage ¶
func (*LogStream) ProtoMessage()
func (*LogStream) ProtoReflect ¶
func (x *LogStream) ProtoReflect() protoreflect.Message
type LoggerConfig ¶
type LoggerConfig struct { // Types that are assignable to Producer: // *LoggerConfig_Default // *LoggerConfig_File // *LoggerConfig_Inherited // *LoggerConfig_InMemory // *LoggerConfig_Splunk // *LoggerConfig_Buildloggerv2 // *LoggerConfig_Buildloggerv3 // *LoggerConfig_Raw Producer isLoggerConfig_Producer `protobuf_oneof:"producer"` // contains filtered or unexported fields }
func ConvertLoggerConfig ¶
func ConvertLoggerConfig(config *options.LoggerConfig) (*LoggerConfig, error)
ConvertLoggerConfig takes a Jasper options.LoggerConfig struct and returns an equivalent protobuf RPC LoggerConfig struct. ConvertLoggerConfig is the inverse of (LoggerConfig) Export().
func (*LoggerConfig) Descriptor
deprecated
func (*LoggerConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggerConfig.ProtoReflect.Descriptor instead.
func (*LoggerConfig) Export ¶
func (logger *LoggerConfig) Export() (*options.LoggerConfig, error)
Export takes a protobuf RPC Logger struct and returns the analogous Jasper Logger struct.
func (*LoggerConfig) GetBuildloggerv2 ¶
func (x *LoggerConfig) GetBuildloggerv2() *BuildloggerV2Options
func (*LoggerConfig) GetBuildloggerv3 ¶
func (x *LoggerConfig) GetBuildloggerv3() *BuildloggerV3Options
func (*LoggerConfig) GetDefault ¶
func (x *LoggerConfig) GetDefault() *DefaultLoggerOptions
func (*LoggerConfig) GetFile ¶
func (x *LoggerConfig) GetFile() *FileLoggerOptions
func (*LoggerConfig) GetInMemory ¶
func (x *LoggerConfig) GetInMemory() *InMemoryLoggerOptions
func (*LoggerConfig) GetInherited ¶
func (x *LoggerConfig) GetInherited() *InheritedLoggerOptions
func (*LoggerConfig) GetProducer ¶
func (m *LoggerConfig) GetProducer() isLoggerConfig_Producer
func (*LoggerConfig) GetRaw ¶
func (x *LoggerConfig) GetRaw() *RawLoggerConfig
func (*LoggerConfig) GetSplunk ¶
func (x *LoggerConfig) GetSplunk() *SplunkLoggerOptions
func (*LoggerConfig) ProtoMessage ¶
func (*LoggerConfig) ProtoMessage()
func (*LoggerConfig) ProtoReflect ¶
func (x *LoggerConfig) ProtoReflect() protoreflect.Message
func (*LoggerConfig) Reset ¶
func (x *LoggerConfig) Reset()
func (*LoggerConfig) String ¶
func (x *LoggerConfig) String() string
type LoggerConfig_Buildloggerv2 ¶
type LoggerConfig_Buildloggerv2 struct {
Buildloggerv2 *BuildloggerV2Options `protobuf:"bytes,6,opt,name=buildloggerv2,proto3,oneof"`
}
type LoggerConfig_Buildloggerv3 ¶
type LoggerConfig_Buildloggerv3 struct {
Buildloggerv3 *BuildloggerV3Options `protobuf:"bytes,7,opt,name=buildloggerv3,proto3,oneof"`
}
type LoggerConfig_Default ¶
type LoggerConfig_Default struct {
Default *DefaultLoggerOptions `protobuf:"bytes,1,opt,name=default,proto3,oneof"`
}
type LoggerConfig_File ¶
type LoggerConfig_File struct {
File *FileLoggerOptions `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
type LoggerConfig_InMemory ¶
type LoggerConfig_InMemory struct {
InMemory *InMemoryLoggerOptions `protobuf:"bytes,4,opt,name=in_memory,json=inMemory,proto3,oneof"`
}
type LoggerConfig_Inherited ¶
type LoggerConfig_Inherited struct {
Inherited *InheritedLoggerOptions `protobuf:"bytes,3,opt,name=inherited,proto3,oneof"`
}
type LoggerConfig_Raw ¶
type LoggerConfig_Raw struct {
Raw *RawLoggerConfig `protobuf:"bytes,9,opt,name=raw,proto3,oneof"`
}
type LoggerConfig_Splunk ¶
type LoggerConfig_Splunk struct {
Splunk *SplunkLoggerOptions `protobuf:"bytes,5,opt,name=splunk,proto3,oneof"`
}
type LoggingCacheArgs ¶
type LoggingCacheArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LoggingCacheArgs) Descriptor
deprecated
func (*LoggingCacheArgs) Descriptor() ([]byte, []int)
Deprecated: Use LoggingCacheArgs.ProtoReflect.Descriptor instead.
func (*LoggingCacheArgs) GetId ¶
func (x *LoggingCacheArgs) GetId() string
func (*LoggingCacheArgs) ProtoMessage ¶
func (*LoggingCacheArgs) ProtoMessage()
func (*LoggingCacheArgs) ProtoReflect ¶
func (x *LoggingCacheArgs) ProtoReflect() protoreflect.Message
func (*LoggingCacheArgs) Reset ¶
func (x *LoggingCacheArgs) Reset()
func (*LoggingCacheArgs) String ¶
func (x *LoggingCacheArgs) String() string
type LoggingCacheCreateArgs ¶
type LoggingCacheCreateArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Options *OutputOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func ConvertLoggingCreateArgs ¶
func ConvertLoggingCreateArgs(id string, opts *options.Output) (*LoggingCacheCreateArgs, error)
ConvertLoggingCreateArgs takes the given ID and returns an equivalent protobuf RPC LoggingCacheCreateArgs.
func (*LoggingCacheCreateArgs) Descriptor
deprecated
func (*LoggingCacheCreateArgs) Descriptor() ([]byte, []int)
Deprecated: Use LoggingCacheCreateArgs.ProtoReflect.Descriptor instead.
func (*LoggingCacheCreateArgs) GetId ¶
func (x *LoggingCacheCreateArgs) GetId() string
func (*LoggingCacheCreateArgs) GetOptions ¶
func (x *LoggingCacheCreateArgs) GetOptions() *OutputOptions
func (*LoggingCacheCreateArgs) ProtoMessage ¶
func (*LoggingCacheCreateArgs) ProtoMessage()
func (*LoggingCacheCreateArgs) ProtoReflect ¶
func (x *LoggingCacheCreateArgs) ProtoReflect() protoreflect.Message
func (*LoggingCacheCreateArgs) Reset ¶
func (x *LoggingCacheCreateArgs) Reset()
func (*LoggingCacheCreateArgs) String ¶
func (x *LoggingCacheCreateArgs) String() string
type LoggingCacheInstance ¶
type LoggingCacheInstance struct { Outcome *OperationOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` ManagerID string `protobuf:"bytes,3,opt,name=managerID,proto3" json:"managerID,omitempty"` Accessed *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=accessed,proto3" json:"accessed,omitempty"` // contains filtered or unexported fields }
func ConvertCachedLogger ¶
func ConvertCachedLogger(opts *options.CachedLogger) *LoggingCacheInstance
ConvertCachedLogger takes CachedLogger options and returns an equivalent protobuf RPC LoggingCacheInstance. ConvertLoggingPayload is the inverse of (*LoggingCacheInstance) Export().
func (*LoggingCacheInstance) Descriptor
deprecated
func (*LoggingCacheInstance) Descriptor() ([]byte, []int)
Deprecated: Use LoggingCacheInstance.ProtoReflect.Descriptor instead.
func (*LoggingCacheInstance) Export ¶
func (l *LoggingCacheInstance) Export() (*options.CachedLogger, error)
Export takes a protobuf RPC LoggingCacheInstance and returns the analogous CacheLogger options.
func (*LoggingCacheInstance) GetAccessed ¶
func (x *LoggingCacheInstance) GetAccessed() *timestamppb.Timestamp
func (*LoggingCacheInstance) GetId ¶
func (x *LoggingCacheInstance) GetId() string
func (*LoggingCacheInstance) GetManagerID ¶
func (x *LoggingCacheInstance) GetManagerID() string
func (*LoggingCacheInstance) GetOutcome ¶
func (x *LoggingCacheInstance) GetOutcome() *OperationOutcome
func (*LoggingCacheInstance) ProtoMessage ¶
func (*LoggingCacheInstance) ProtoMessage()
func (*LoggingCacheInstance) ProtoReflect ¶
func (x *LoggingCacheInstance) ProtoReflect() protoreflect.Message
func (*LoggingCacheInstance) Reset ¶
func (x *LoggingCacheInstance) Reset()
func (*LoggingCacheInstance) String ¶
func (x *LoggingCacheInstance) String() string
type LoggingCacheLenResponse ¶
type LoggingCacheLenResponse struct { Outcome *OperationOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` Len int64 `protobuf:"varint,2,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
func (*LoggingCacheLenResponse) Descriptor
deprecated
func (*LoggingCacheLenResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoggingCacheLenResponse.ProtoReflect.Descriptor instead.
func (*LoggingCacheLenResponse) GetLen ¶
func (x *LoggingCacheLenResponse) GetLen() int64
func (*LoggingCacheLenResponse) GetOutcome ¶
func (x *LoggingCacheLenResponse) GetOutcome() *OperationOutcome
func (*LoggingCacheLenResponse) ProtoMessage ¶
func (*LoggingCacheLenResponse) ProtoMessage()
func (*LoggingCacheLenResponse) ProtoReflect ¶
func (x *LoggingCacheLenResponse) ProtoReflect() protoreflect.Message
func (*LoggingCacheLenResponse) Reset ¶
func (x *LoggingCacheLenResponse) Reset()
func (*LoggingCacheLenResponse) String ¶
func (x *LoggingCacheLenResponse) String() string
type LoggingPayload ¶
type LoggingPayload struct { LoggerID string `protobuf:"bytes,1,opt,name=LoggerID,proto3" json:"LoggerID,omitempty"` Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` Format LoggingPayloadFormat `protobuf:"varint,3,opt,name=format,proto3,enum=jasper.LoggingPayloadFormat" json:"format,omitempty"` IsMulti bool `protobuf:"varint,4,opt,name=is_multi,json=isMulti,proto3" json:"is_multi,omitempty"` PreferSendToError bool `protobuf:"varint,5,opt,name=prefer_send_to_error,json=preferSendToError,proto3" json:"prefer_send_to_error,omitempty"` AddMetadata bool `protobuf:"varint,6,opt,name=add_metadata,json=addMetadata,proto3" json:"add_metadata,omitempty"` Data []*LoggingPayloadData `protobuf:"bytes,7,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func ConvertLoggingPayload ¶
func ConvertLoggingPayload(in options.LoggingPayload) *LoggingPayload
ConvertLoggingPayload takes LoggingPayload options and returns an equivalent protobuf RPC LoggingPayload. ConvertLoggingPayload is the inverse of (*LoggingPayload) Export().
func (*LoggingPayload) Descriptor
deprecated
func (*LoggingPayload) Descriptor() ([]byte, []int)
Deprecated: Use LoggingPayload.ProtoReflect.Descriptor instead.
func (*LoggingPayload) Export ¶
func (lp *LoggingPayload) Export() *options.LoggingPayload
Export takes a protobuf RPC LoggingPayload and returns the analogous LoggingPayload options.
func (*LoggingPayload) GetAddMetadata ¶
func (x *LoggingPayload) GetAddMetadata() bool
func (*LoggingPayload) GetData ¶
func (x *LoggingPayload) GetData() []*LoggingPayloadData
func (*LoggingPayload) GetFormat ¶
func (x *LoggingPayload) GetFormat() LoggingPayloadFormat
func (*LoggingPayload) GetIsMulti ¶
func (x *LoggingPayload) GetIsMulti() bool
func (*LoggingPayload) GetLoggerID ¶
func (x *LoggingPayload) GetLoggerID() string
func (*LoggingPayload) GetPreferSendToError ¶
func (x *LoggingPayload) GetPreferSendToError() bool
func (*LoggingPayload) GetPriority ¶
func (x *LoggingPayload) GetPriority() int32
func (*LoggingPayload) ProtoMessage ¶
func (*LoggingPayload) ProtoMessage()
func (*LoggingPayload) ProtoReflect ¶
func (x *LoggingPayload) ProtoReflect() protoreflect.Message
func (*LoggingPayload) Reset ¶
func (x *LoggingPayload) Reset()
func (*LoggingPayload) String ¶
func (x *LoggingPayload) String() string
type LoggingPayloadData ¶
type LoggingPayloadData struct { // Types that are assignable to Data: // *LoggingPayloadData_Msg // *LoggingPayloadData_Raw Data isLoggingPayloadData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*LoggingPayloadData) Descriptor
deprecated
func (*LoggingPayloadData) Descriptor() ([]byte, []int)
Deprecated: Use LoggingPayloadData.ProtoReflect.Descriptor instead.
func (*LoggingPayloadData) GetData ¶
func (m *LoggingPayloadData) GetData() isLoggingPayloadData_Data
func (*LoggingPayloadData) GetMsg ¶
func (x *LoggingPayloadData) GetMsg() string
func (*LoggingPayloadData) GetRaw ¶
func (x *LoggingPayloadData) GetRaw() []byte
func (*LoggingPayloadData) ProtoMessage ¶
func (*LoggingPayloadData) ProtoMessage()
func (*LoggingPayloadData) ProtoReflect ¶
func (x *LoggingPayloadData) ProtoReflect() protoreflect.Message
func (*LoggingPayloadData) Reset ¶
func (x *LoggingPayloadData) Reset()
func (*LoggingPayloadData) String ¶
func (x *LoggingPayloadData) String() string
type LoggingPayloadData_Msg ¶
type LoggingPayloadData_Msg struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3,oneof"`
}
type LoggingPayloadData_Raw ¶
type LoggingPayloadData_Raw struct {
Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3,oneof"`
}
type LoggingPayloadFormat ¶
type LoggingPayloadFormat int32
const ( LoggingPayloadFormat_FORMATUNKNONW LoggingPayloadFormat = 0 LoggingPayloadFormat_FORMATBSON LoggingPayloadFormat = 1 LoggingPayloadFormat_FORMATJSON LoggingPayloadFormat = 2 LoggingPayloadFormat_FORMATSTRING LoggingPayloadFormat = 3 )
func ConvertLoggingPayloadFormat ¶
func ConvertLoggingPayloadFormat(in options.LoggingPayloadFormat) LoggingPayloadFormat
ConvertLoggingPayloadFormat takes LoggingPayloadFormat options and returns an equivalent protobuf RPC LoggingPayloadFormat. ConvertLoggingPayloadFormat is the inverse of (LoggingPayloadFormat) Export().
func (LoggingPayloadFormat) Descriptor ¶
func (LoggingPayloadFormat) Descriptor() protoreflect.EnumDescriptor
func (LoggingPayloadFormat) Enum ¶
func (x LoggingPayloadFormat) Enum() *LoggingPayloadFormat
func (LoggingPayloadFormat) EnumDescriptor
deprecated
func (LoggingPayloadFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggingPayloadFormat.Descriptor instead.
func (LoggingPayloadFormat) Export ¶
func (lf LoggingPayloadFormat) Export() options.LoggingPayloadFormat
Export takes a protobuf RPC LoggingPayloadFormat and returns the analogous LoggingPayloadFormat.
func (LoggingPayloadFormat) Number ¶
func (x LoggingPayloadFormat) Number() protoreflect.EnumNumber
func (LoggingPayloadFormat) String ¶
func (x LoggingPayloadFormat) String() string
func (LoggingPayloadFormat) Type ¶
func (LoggingPayloadFormat) Type() protoreflect.EnumType
type MongoDBDownloadOptions ¶
type MongoDBDownloadOptions struct { BuildOpts *BuildOptions `protobuf:"bytes,1,opt,name=build_opts,json=buildOpts,proto3" json:"build_opts,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Releases []string `protobuf:"bytes,3,rep,name=releases,proto3" json:"releases,omitempty"` // contains filtered or unexported fields }
func ConvertMongoDBDownloadOptions ¶
func ConvertMongoDBDownloadOptions(jopts options.MongoDBDownload) *MongoDBDownloadOptions
ConvertMongoDBDownloadOptions takes a Jasper MongoDBDownloadOptions struct and returns an equivalent protobuf RPC MongoDBDownloadOptions struct. ConvertMongoDBDownloadOptions is the inverse of (*MongoDBDownloadOptions) Export().
func (*MongoDBDownloadOptions) Descriptor
deprecated
func (*MongoDBDownloadOptions) Descriptor() ([]byte, []int)
Deprecated: Use MongoDBDownloadOptions.ProtoReflect.Descriptor instead.
func (*MongoDBDownloadOptions) Export ¶
func (opts *MongoDBDownloadOptions) Export() options.MongoDBDownload
Export takes a protobuf RPC MongoDBDownloadOptions struct and returns the analogous Jasper MongoDBDownloadOptions struct.
func (*MongoDBDownloadOptions) GetBuildOpts ¶
func (x *MongoDBDownloadOptions) GetBuildOpts() *BuildOptions
func (*MongoDBDownloadOptions) GetPath ¶
func (x *MongoDBDownloadOptions) GetPath() string
func (*MongoDBDownloadOptions) GetReleases ¶
func (x *MongoDBDownloadOptions) GetReleases() []string
func (*MongoDBDownloadOptions) ProtoMessage ¶
func (*MongoDBDownloadOptions) ProtoMessage()
func (*MongoDBDownloadOptions) ProtoReflect ¶
func (x *MongoDBDownloadOptions) ProtoReflect() protoreflect.Message
func (*MongoDBDownloadOptions) Reset ¶
func (x *MongoDBDownloadOptions) Reset()
func (*MongoDBDownloadOptions) String ¶
func (x *MongoDBDownloadOptions) String() string
type OperationOutcome ¶
type OperationOutcome struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // contains filtered or unexported fields }
func (*OperationOutcome) Descriptor
deprecated
func (*OperationOutcome) Descriptor() ([]byte, []int)
Deprecated: Use OperationOutcome.ProtoReflect.Descriptor instead.
func (*OperationOutcome) GetExitCode ¶
func (x *OperationOutcome) GetExitCode() int32
func (*OperationOutcome) GetSuccess ¶
func (x *OperationOutcome) GetSuccess() bool
func (*OperationOutcome) GetText ¶
func (x *OperationOutcome) GetText() string
func (*OperationOutcome) ProtoMessage ¶
func (*OperationOutcome) ProtoMessage()
func (*OperationOutcome) ProtoReflect ¶
func (x *OperationOutcome) ProtoReflect() protoreflect.Message
func (*OperationOutcome) Reset ¶
func (x *OperationOutcome) Reset()
func (*OperationOutcome) String ¶
func (x *OperationOutcome) String() string
type OutputOptions ¶
type OutputOptions struct { Loggers []*LoggerConfig `protobuf:"bytes,1,rep,name=loggers,proto3" json:"loggers,omitempty"` SuppressOutput bool `protobuf:"varint,2,opt,name=suppress_output,json=suppressOutput,proto3" json:"suppress_output,omitempty"` SuppressError bool `protobuf:"varint,3,opt,name=suppress_error,json=suppressError,proto3" json:"suppress_error,omitempty"` RedirectOutputToError bool `` /* 129-byte string literal not displayed */ RedirectErrorToOutput bool `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func ConvertOutputOptions ¶
func ConvertOutputOptions(opts options.Output) (OutputOptions, error)
ConvertOutputOptions takes a Jasper OutputOptions struct and returns an equivalent protobuf RPC OutputOptions struct. ConvertOutputOptions is the inverse of (OutputOptions) Export().
func (*OutputOptions) Descriptor
deprecated
func (*OutputOptions) Descriptor() ([]byte, []int)
Deprecated: Use OutputOptions.ProtoReflect.Descriptor instead.
func (*OutputOptions) Export ¶
func (opts *OutputOptions) Export() (options.Output, error)
Export takes a protobuf RPC OutputOptions struct and returns the analogous Jasper OutputOptions struct.
func (*OutputOptions) GetLoggers ¶
func (x *OutputOptions) GetLoggers() []*LoggerConfig
func (*OutputOptions) GetRedirectErrorToOutput ¶
func (x *OutputOptions) GetRedirectErrorToOutput() bool
func (*OutputOptions) GetRedirectOutputToError ¶
func (x *OutputOptions) GetRedirectOutputToError() bool
func (*OutputOptions) GetSuppressError ¶
func (x *OutputOptions) GetSuppressError() bool
func (*OutputOptions) GetSuppressOutput ¶
func (x *OutputOptions) GetSuppressOutput() bool
func (*OutputOptions) ProtoMessage ¶
func (*OutputOptions) ProtoMessage()
func (*OutputOptions) ProtoReflect ¶
func (x *OutputOptions) ProtoReflect() protoreflect.Message
func (*OutputOptions) Reset ¶
func (x *OutputOptions) Reset()
func (*OutputOptions) String ¶
func (x *OutputOptions) String() string
type ProcessInfo ¶
type ProcessInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` HostId string `protobuf:"bytes,3,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` Running bool `protobuf:"varint,4,opt,name=running,proto3" json:"running,omitempty"` Successful bool `protobuf:"varint,5,opt,name=successful,proto3" json:"successful,omitempty"` Complete bool `protobuf:"varint,6,opt,name=complete,proto3" json:"complete,omitempty"` Timedout bool `protobuf:"varint,7,opt,name=timedout,proto3" json:"timedout,omitempty"` Options *CreateOptions `protobuf:"bytes,8,opt,name=options,proto3" json:"options,omitempty"` ExitCode int32 `protobuf:"varint,9,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` StartAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` EndAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=end_at,json=endAt,proto3" json:"end_at,omitempty"` // contains filtered or unexported fields }
func ConvertProcessInfo ¶
func ConvertProcessInfo(info jasper.ProcessInfo) (*ProcessInfo, error)
ConvertProcessInfo takes a Jasper ProcessInfo struct and returns an equivalent protobuf RPC *ProcessInfo struct. ConvertProcessInfo is the inverse of (*ProcessInfo) Export().
func (*ProcessInfo) Descriptor
deprecated
func (*ProcessInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
func (*ProcessInfo) Export ¶
func (info *ProcessInfo) Export() (jasper.ProcessInfo, error)
Export takes a protobuf RPC ProcessInfo struct and returns the analogous Jasper ProcessInfo struct.
func (*ProcessInfo) GetComplete ¶
func (x *ProcessInfo) GetComplete() bool
func (*ProcessInfo) GetEndAt ¶
func (x *ProcessInfo) GetEndAt() *timestamppb.Timestamp
func (*ProcessInfo) GetExitCode ¶
func (x *ProcessInfo) GetExitCode() int32
func (*ProcessInfo) GetHostId ¶
func (x *ProcessInfo) GetHostId() string
func (*ProcessInfo) GetId ¶
func (x *ProcessInfo) GetId() string
func (*ProcessInfo) GetOptions ¶
func (x *ProcessInfo) GetOptions() *CreateOptions
func (*ProcessInfo) GetPid ¶
func (x *ProcessInfo) GetPid() int64
func (*ProcessInfo) GetRunning ¶
func (x *ProcessInfo) GetRunning() bool
func (*ProcessInfo) GetStartAt ¶
func (x *ProcessInfo) GetStartAt() *timestamppb.Timestamp
func (*ProcessInfo) GetSuccessful ¶
func (x *ProcessInfo) GetSuccessful() bool
func (*ProcessInfo) GetTimedout ¶
func (x *ProcessInfo) GetTimedout() bool
func (*ProcessInfo) ProtoMessage ¶
func (*ProcessInfo) ProtoMessage()
func (*ProcessInfo) ProtoReflect ¶
func (x *ProcessInfo) ProtoReflect() protoreflect.Message
func (*ProcessInfo) Reset ¶
func (x *ProcessInfo) Reset()
func (*ProcessInfo) String ¶
func (x *ProcessInfo) String() string
type ProcessTags ¶
type ProcessTags struct { ProcessID string `protobuf:"bytes,1,opt,name=processID,proto3" json:"processID,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ProcessTags) Descriptor
deprecated
func (*ProcessTags) Descriptor() ([]byte, []int)
Deprecated: Use ProcessTags.ProtoReflect.Descriptor instead.
func (*ProcessTags) GetProcessID ¶
func (x *ProcessTags) GetProcessID() string
func (*ProcessTags) GetTags ¶
func (x *ProcessTags) GetTags() []string
func (*ProcessTags) ProtoMessage ¶
func (*ProcessTags) ProtoMessage()
func (*ProcessTags) ProtoReflect ¶
func (x *ProcessTags) ProtoReflect() protoreflect.Message
func (*ProcessTags) Reset ¶
func (x *ProcessTags) Reset()
func (*ProcessTags) String ¶
func (x *ProcessTags) String() string
type RawLoggerConfig ¶
type RawLoggerConfig struct { Format RawLoggerConfigFormat `protobuf:"varint,1,opt,name=format,proto3,enum=jasper.RawLoggerConfigFormat" json:"format,omitempty"` ConfigData []byte `protobuf:"bytes,2,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"` // contains filtered or unexported fields }
func (*RawLoggerConfig) Descriptor
deprecated
func (*RawLoggerConfig) Descriptor() ([]byte, []int)
Deprecated: Use RawLoggerConfig.ProtoReflect.Descriptor instead.
func (*RawLoggerConfig) Export ¶
func (logger *RawLoggerConfig) Export() (*options.LoggerConfig, error)
Export takes a protobuf RPC RawLoggerConfig struct and returns the analogous Jasper options.LoggerConfig
func (*RawLoggerConfig) GetConfigData ¶
func (x *RawLoggerConfig) GetConfigData() []byte
func (*RawLoggerConfig) GetFormat ¶
func (x *RawLoggerConfig) GetFormat() RawLoggerConfigFormat
func (*RawLoggerConfig) ProtoMessage ¶
func (*RawLoggerConfig) ProtoMessage()
func (*RawLoggerConfig) ProtoReflect ¶
func (x *RawLoggerConfig) ProtoReflect() protoreflect.Message
func (*RawLoggerConfig) Reset ¶
func (x *RawLoggerConfig) Reset()
func (*RawLoggerConfig) String ¶
func (x *RawLoggerConfig) String() string
type RawLoggerConfigFormat ¶
type RawLoggerConfigFormat int32
const ( RawLoggerConfigFormat_RAWLOGGERCONFIGFORMATJSON RawLoggerConfigFormat = 0 RawLoggerConfigFormat_RAWLOGGERCONFIGFORMATBSON RawLoggerConfigFormat = 1 RawLoggerConfigFormat_RAWLOGGERCONFIGFORMATUNKNOWN RawLoggerConfigFormat = 2 )
func ConvertRawLoggerConfigFormat ¶
func ConvertRawLoggerConfigFormat(f options.RawLoggerConfigFormat) RawLoggerConfigFormat
ConvertRawLoggerConfigFormat takes a Jasper RawLoggerConfigFormat type and returns an equivalent protobuf RPC RawLoggerConfigFormat enum. ConvertLogFormat is the inverse of (RawLoggerConfigFormat) Export().
func (RawLoggerConfigFormat) Descriptor ¶
func (RawLoggerConfigFormat) Descriptor() protoreflect.EnumDescriptor
func (RawLoggerConfigFormat) Enum ¶
func (x RawLoggerConfigFormat) Enum() *RawLoggerConfigFormat
func (RawLoggerConfigFormat) EnumDescriptor
deprecated
func (RawLoggerConfigFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use RawLoggerConfigFormat.Descriptor instead.
func (RawLoggerConfigFormat) Export ¶
func (f RawLoggerConfigFormat) Export() options.RawLoggerConfigFormat
Export takes a protobuf RPC RawLoggerConfigFormat enum and returns the analogous Jasper options.RawLoggerConfigFormat type.
func (RawLoggerConfigFormat) Number ¶
func (x RawLoggerConfigFormat) Number() protoreflect.EnumNumber
func (RawLoggerConfigFormat) String ¶
func (x RawLoggerConfigFormat) String() string
func (RawLoggerConfigFormat) Type ¶
func (RawLoggerConfigFormat) Type() protoreflect.EnumType
type ScriptingHarnessBuildArgs ¶
type ScriptingHarnessBuildArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"` Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessBuildArgs) Descriptor
deprecated
func (*ScriptingHarnessBuildArgs) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessBuildArgs.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessBuildArgs) GetArgs ¶
func (x *ScriptingHarnessBuildArgs) GetArgs() []string
func (*ScriptingHarnessBuildArgs) GetDirectory ¶
func (x *ScriptingHarnessBuildArgs) GetDirectory() string
func (*ScriptingHarnessBuildArgs) GetId ¶
func (x *ScriptingHarnessBuildArgs) GetId() string
func (*ScriptingHarnessBuildArgs) ProtoMessage ¶
func (*ScriptingHarnessBuildArgs) ProtoMessage()
func (*ScriptingHarnessBuildArgs) ProtoReflect ¶
func (x *ScriptingHarnessBuildArgs) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessBuildArgs) Reset ¶
func (x *ScriptingHarnessBuildArgs) Reset()
func (*ScriptingHarnessBuildArgs) String ¶
func (x *ScriptingHarnessBuildArgs) String() string
type ScriptingHarnessBuildResponse ¶
type ScriptingHarnessBuildResponse struct { Outcome *OperationOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessBuildResponse) Descriptor
deprecated
func (*ScriptingHarnessBuildResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessBuildResponse.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessBuildResponse) GetOutcome ¶
func (x *ScriptingHarnessBuildResponse) GetOutcome() *OperationOutcome
func (*ScriptingHarnessBuildResponse) GetPath ¶
func (x *ScriptingHarnessBuildResponse) GetPath() string
func (*ScriptingHarnessBuildResponse) ProtoMessage ¶
func (*ScriptingHarnessBuildResponse) ProtoMessage()
func (*ScriptingHarnessBuildResponse) ProtoReflect ¶
func (x *ScriptingHarnessBuildResponse) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessBuildResponse) Reset ¶
func (x *ScriptingHarnessBuildResponse) Reset()
func (*ScriptingHarnessBuildResponse) String ¶
func (x *ScriptingHarnessBuildResponse) String() string
type ScriptingHarnessID ¶
type ScriptingHarnessID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessID) Descriptor
deprecated
func (*ScriptingHarnessID) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessID.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessID) GetId ¶
func (x *ScriptingHarnessID) GetId() string
func (*ScriptingHarnessID) ProtoMessage ¶
func (*ScriptingHarnessID) ProtoMessage()
func (*ScriptingHarnessID) ProtoReflect ¶
func (x *ScriptingHarnessID) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessID) Reset ¶
func (x *ScriptingHarnessID) Reset()
func (*ScriptingHarnessID) String ¶
func (x *ScriptingHarnessID) String() string
type ScriptingHarnessRunArgs ¶
type ScriptingHarnessRunArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessRunArgs) Descriptor
deprecated
func (*ScriptingHarnessRunArgs) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessRunArgs.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessRunArgs) GetArgs ¶
func (x *ScriptingHarnessRunArgs) GetArgs() []string
func (*ScriptingHarnessRunArgs) GetId ¶
func (x *ScriptingHarnessRunArgs) GetId() string
func (*ScriptingHarnessRunArgs) ProtoMessage ¶
func (*ScriptingHarnessRunArgs) ProtoMessage()
func (*ScriptingHarnessRunArgs) ProtoReflect ¶
func (x *ScriptingHarnessRunArgs) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessRunArgs) Reset ¶
func (x *ScriptingHarnessRunArgs) Reset()
func (*ScriptingHarnessRunArgs) String ¶
func (x *ScriptingHarnessRunArgs) String() string
type ScriptingHarnessRunScriptArgs ¶
type ScriptingHarnessRunScriptArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Script string `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessRunScriptArgs) Descriptor
deprecated
func (*ScriptingHarnessRunScriptArgs) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessRunScriptArgs.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessRunScriptArgs) GetId ¶
func (x *ScriptingHarnessRunScriptArgs) GetId() string
func (*ScriptingHarnessRunScriptArgs) GetScript ¶
func (x *ScriptingHarnessRunScriptArgs) GetScript() string
func (*ScriptingHarnessRunScriptArgs) ProtoMessage ¶
func (*ScriptingHarnessRunScriptArgs) ProtoMessage()
func (*ScriptingHarnessRunScriptArgs) ProtoReflect ¶
func (x *ScriptingHarnessRunScriptArgs) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessRunScriptArgs) Reset ¶
func (x *ScriptingHarnessRunScriptArgs) Reset()
func (*ScriptingHarnessRunScriptArgs) String ¶
func (x *ScriptingHarnessRunScriptArgs) String() string
type ScriptingHarnessTestArgs ¶
type ScriptingHarnessTestArgs struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"` Options []*ScriptingHarnessTestOptions `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessTestArgs) Descriptor
deprecated
func (*ScriptingHarnessTestArgs) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessTestArgs.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessTestArgs) GetDirectory ¶
func (x *ScriptingHarnessTestArgs) GetDirectory() string
func (*ScriptingHarnessTestArgs) GetId ¶
func (x *ScriptingHarnessTestArgs) GetId() string
func (*ScriptingHarnessTestArgs) GetOptions ¶
func (x *ScriptingHarnessTestArgs) GetOptions() []*ScriptingHarnessTestOptions
func (*ScriptingHarnessTestArgs) ProtoMessage ¶
func (*ScriptingHarnessTestArgs) ProtoMessage()
func (*ScriptingHarnessTestArgs) ProtoReflect ¶
func (x *ScriptingHarnessTestArgs) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessTestArgs) Reset ¶
func (x *ScriptingHarnessTestArgs) Reset()
func (*ScriptingHarnessTestArgs) String ¶
func (x *ScriptingHarnessTestArgs) String() string
type ScriptingHarnessTestOptions ¶
type ScriptingHarnessTestOptions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessTestOptions) Descriptor
deprecated
func (*ScriptingHarnessTestOptions) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessTestOptions.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessTestOptions) GetArgs ¶
func (x *ScriptingHarnessTestOptions) GetArgs() []string
func (*ScriptingHarnessTestOptions) GetCount ¶
func (x *ScriptingHarnessTestOptions) GetCount() int32
func (*ScriptingHarnessTestOptions) GetName ¶
func (x *ScriptingHarnessTestOptions) GetName() string
func (*ScriptingHarnessTestOptions) GetPattern ¶
func (x *ScriptingHarnessTestOptions) GetPattern() string
func (*ScriptingHarnessTestOptions) GetTimeout ¶
func (x *ScriptingHarnessTestOptions) GetTimeout() *durationpb.Duration
func (*ScriptingHarnessTestOptions) ProtoMessage ¶
func (*ScriptingHarnessTestOptions) ProtoMessage()
func (*ScriptingHarnessTestOptions) ProtoReflect ¶
func (x *ScriptingHarnessTestOptions) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessTestOptions) Reset ¶
func (x *ScriptingHarnessTestOptions) Reset()
func (*ScriptingHarnessTestOptions) String ¶
func (x *ScriptingHarnessTestOptions) String() string
type ScriptingHarnessTestResponse ¶
type ScriptingHarnessTestResponse struct { Outcome *OperationOutcome `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` Results []*ScriptingHarnessTestResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessTestResponse) Descriptor
deprecated
func (*ScriptingHarnessTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessTestResponse.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessTestResponse) GetOutcome ¶
func (x *ScriptingHarnessTestResponse) GetOutcome() *OperationOutcome
func (*ScriptingHarnessTestResponse) GetResults ¶
func (x *ScriptingHarnessTestResponse) GetResults() []*ScriptingHarnessTestResult
func (*ScriptingHarnessTestResponse) ProtoMessage ¶
func (*ScriptingHarnessTestResponse) ProtoMessage()
func (*ScriptingHarnessTestResponse) ProtoReflect ¶
func (x *ScriptingHarnessTestResponse) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessTestResponse) Reset ¶
func (x *ScriptingHarnessTestResponse) Reset()
func (*ScriptingHarnessTestResponse) String ¶
func (x *ScriptingHarnessTestResponse) String() string
type ScriptingHarnessTestResult ¶
type ScriptingHarnessTestResult struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` StartAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_at,json=startAt,proto3" json:"start_at,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` Outcome string `protobuf:"bytes,4,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
func (*ScriptingHarnessTestResult) Descriptor
deprecated
func (*ScriptingHarnessTestResult) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingHarnessTestResult.ProtoReflect.Descriptor instead.
func (*ScriptingHarnessTestResult) GetDuration ¶
func (x *ScriptingHarnessTestResult) GetDuration() *durationpb.Duration
func (*ScriptingHarnessTestResult) GetName ¶
func (x *ScriptingHarnessTestResult) GetName() string
func (*ScriptingHarnessTestResult) GetOutcome ¶
func (x *ScriptingHarnessTestResult) GetOutcome() string
func (*ScriptingHarnessTestResult) GetStartAt ¶
func (x *ScriptingHarnessTestResult) GetStartAt() *timestamppb.Timestamp
func (*ScriptingHarnessTestResult) ProtoMessage ¶
func (*ScriptingHarnessTestResult) ProtoMessage()
func (*ScriptingHarnessTestResult) ProtoReflect ¶
func (x *ScriptingHarnessTestResult) ProtoReflect() protoreflect.Message
func (*ScriptingHarnessTestResult) Reset ¶
func (x *ScriptingHarnessTestResult) Reset()
func (*ScriptingHarnessTestResult) String ¶
func (x *ScriptingHarnessTestResult) String() string
type ScriptingOptions ¶
type ScriptingOptions struct { // Types that are assignable to Value: // *ScriptingOptions_Golang // *ScriptingOptions_Python // *ScriptingOptions_Roswell Value isScriptingOptions_Value `protobuf_oneof:"value"` Environment map[string]string `` /* 163-byte string literal not displayed */ Output *OutputOptions `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*ScriptingOptions) Descriptor
deprecated
func (*ScriptingOptions) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingOptions.ProtoReflect.Descriptor instead.
func (*ScriptingOptions) GetDuration ¶
func (x *ScriptingOptions) GetDuration() int64
func (*ScriptingOptions) GetEnvironment ¶
func (x *ScriptingOptions) GetEnvironment() map[string]string
func (*ScriptingOptions) GetGolang ¶
func (x *ScriptingOptions) GetGolang() *ScriptingOptionsGolang
func (*ScriptingOptions) GetOutput ¶
func (x *ScriptingOptions) GetOutput() *OutputOptions
func (*ScriptingOptions) GetPython ¶
func (x *ScriptingOptions) GetPython() *ScriptingOptionsPython
func (*ScriptingOptions) GetRoswell ¶
func (x *ScriptingOptions) GetRoswell() *ScriptingOptionsRoswell
func (*ScriptingOptions) GetValue ¶
func (m *ScriptingOptions) GetValue() isScriptingOptions_Value
func (*ScriptingOptions) ProtoMessage ¶
func (*ScriptingOptions) ProtoMessage()
func (*ScriptingOptions) ProtoReflect ¶
func (x *ScriptingOptions) ProtoReflect() protoreflect.Message
func (*ScriptingOptions) Reset ¶
func (x *ScriptingOptions) Reset()
func (*ScriptingOptions) String ¶
func (x *ScriptingOptions) String() string
type ScriptingOptionsGolang ¶
type ScriptingOptionsGolang struct { Gopath string `protobuf:"bytes,1,opt,name=gopath,proto3" json:"gopath,omitempty"` Goroot string `protobuf:"bytes,2,opt,name=goroot,proto3" json:"goroot,omitempty"` Packages []string `protobuf:"bytes,3,rep,name=packages,proto3" json:"packages,omitempty"` Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` UpdatePackages bool `protobuf:"varint,5,opt,name=update_packages,json=updatePackages,proto3" json:"update_packages,omitempty"` // contains filtered or unexported fields }
func (*ScriptingOptionsGolang) Descriptor
deprecated
func (*ScriptingOptionsGolang) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingOptionsGolang.ProtoReflect.Descriptor instead.
func (*ScriptingOptionsGolang) GetDirectory ¶
func (x *ScriptingOptionsGolang) GetDirectory() string
func (*ScriptingOptionsGolang) GetGopath ¶
func (x *ScriptingOptionsGolang) GetGopath() string
func (*ScriptingOptionsGolang) GetGoroot ¶
func (x *ScriptingOptionsGolang) GetGoroot() string
func (*ScriptingOptionsGolang) GetPackages ¶
func (x *ScriptingOptionsGolang) GetPackages() []string
func (*ScriptingOptionsGolang) GetUpdatePackages ¶
func (x *ScriptingOptionsGolang) GetUpdatePackages() bool
func (*ScriptingOptionsGolang) ProtoMessage ¶
func (*ScriptingOptionsGolang) ProtoMessage()
func (*ScriptingOptionsGolang) ProtoReflect ¶
func (x *ScriptingOptionsGolang) ProtoReflect() protoreflect.Message
func (*ScriptingOptionsGolang) Reset ¶
func (x *ScriptingOptionsGolang) Reset()
func (*ScriptingOptionsGolang) String ¶
func (x *ScriptingOptionsGolang) String() string
type ScriptingOptionsPython ¶
type ScriptingOptionsPython struct { VirtualEnvPath string `protobuf:"bytes,1,opt,name=virtual_env_path,json=virtualEnvPath,proto3" json:"virtual_env_path,omitempty"` RequirementsPath string `protobuf:"bytes,2,opt,name=requirements_path,json=requirementsPath,proto3" json:"requirements_path,omitempty"` InterpreterBinary string `protobuf:"bytes,3,opt,name=interpreter_binary,json=interpreterBinary,proto3" json:"interpreter_binary,omitempty"` Packages []string `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"` LegacyPython bool `protobuf:"varint,5,opt,name=legacy_python,json=legacyPython,proto3" json:"legacy_python,omitempty"` AddTestReqs bool `protobuf:"varint,6,opt,name=add_test_reqs,json=addTestReqs,proto3" json:"add_test_reqs,omitempty"` // contains filtered or unexported fields }
func (*ScriptingOptionsPython) Descriptor
deprecated
func (*ScriptingOptionsPython) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingOptionsPython.ProtoReflect.Descriptor instead.
func (*ScriptingOptionsPython) GetAddTestReqs ¶
func (x *ScriptingOptionsPython) GetAddTestReqs() bool
func (*ScriptingOptionsPython) GetInterpreterBinary ¶
func (x *ScriptingOptionsPython) GetInterpreterBinary() string
func (*ScriptingOptionsPython) GetLegacyPython ¶
func (x *ScriptingOptionsPython) GetLegacyPython() bool
func (*ScriptingOptionsPython) GetPackages ¶
func (x *ScriptingOptionsPython) GetPackages() []string
func (*ScriptingOptionsPython) GetRequirementsPath ¶
func (x *ScriptingOptionsPython) GetRequirementsPath() string
func (*ScriptingOptionsPython) GetVirtualEnvPath ¶
func (x *ScriptingOptionsPython) GetVirtualEnvPath() string
func (*ScriptingOptionsPython) ProtoMessage ¶
func (*ScriptingOptionsPython) ProtoMessage()
func (*ScriptingOptionsPython) ProtoReflect ¶
func (x *ScriptingOptionsPython) ProtoReflect() protoreflect.Message
func (*ScriptingOptionsPython) Reset ¶
func (x *ScriptingOptionsPython) Reset()
func (*ScriptingOptionsPython) String ¶
func (x *ScriptingOptionsPython) String() string
type ScriptingOptionsRoswell ¶
type ScriptingOptionsRoswell struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Systems []string `protobuf:"bytes,2,rep,name=systems,proto3" json:"systems,omitempty"` Lisp string `protobuf:"bytes,3,opt,name=lisp,proto3" json:"lisp,omitempty"` // contains filtered or unexported fields }
func (*ScriptingOptionsRoswell) Descriptor
deprecated
func (*ScriptingOptionsRoswell) Descriptor() ([]byte, []int)
Deprecated: Use ScriptingOptionsRoswell.ProtoReflect.Descriptor instead.
func (*ScriptingOptionsRoswell) GetLisp ¶
func (x *ScriptingOptionsRoswell) GetLisp() string
func (*ScriptingOptionsRoswell) GetPath ¶
func (x *ScriptingOptionsRoswell) GetPath() string
func (*ScriptingOptionsRoswell) GetSystems ¶
func (x *ScriptingOptionsRoswell) GetSystems() []string
func (*ScriptingOptionsRoswell) ProtoMessage ¶
func (*ScriptingOptionsRoswell) ProtoMessage()
func (*ScriptingOptionsRoswell) ProtoReflect ¶
func (x *ScriptingOptionsRoswell) ProtoReflect() protoreflect.Message
func (*ScriptingOptionsRoswell) Reset ¶
func (x *ScriptingOptionsRoswell) Reset()
func (*ScriptingOptionsRoswell) String ¶
func (x *ScriptingOptionsRoswell) String() string
type ScriptingOptions_Golang ¶
type ScriptingOptions_Golang struct {
Golang *ScriptingOptionsGolang `protobuf:"bytes,1,opt,name=golang,proto3,oneof"`
}
type ScriptingOptions_Python ¶
type ScriptingOptions_Python struct {
Python *ScriptingOptionsPython `protobuf:"bytes,2,opt,name=python,proto3,oneof"`
}
type ScriptingOptions_Roswell ¶
type ScriptingOptions_Roswell struct {
Roswell *ScriptingOptionsRoswell `protobuf:"bytes,3,opt,name=roswell,proto3,oneof"`
}
type SignalProcess ¶
type SignalProcess struct { ProcessID *JasperProcessID `protobuf:"bytes,1,opt,name=ProcessID,proto3" json:"ProcessID,omitempty"` Signal Signals `protobuf:"varint,2,opt,name=signal,proto3,enum=jasper.Signals" json:"signal,omitempty"` // contains filtered or unexported fields }
func (*SignalProcess) Descriptor
deprecated
func (*SignalProcess) Descriptor() ([]byte, []int)
Deprecated: Use SignalProcess.ProtoReflect.Descriptor instead.
func (*SignalProcess) GetProcessID ¶
func (x *SignalProcess) GetProcessID() *JasperProcessID
func (*SignalProcess) GetSignal ¶
func (x *SignalProcess) GetSignal() Signals
func (*SignalProcess) ProtoMessage ¶
func (*SignalProcess) ProtoMessage()
func (*SignalProcess) ProtoReflect ¶
func (x *SignalProcess) ProtoReflect() protoreflect.Message
func (*SignalProcess) Reset ¶
func (x *SignalProcess) Reset()
func (*SignalProcess) String ¶
func (x *SignalProcess) String() string
type SignalTriggerID ¶
type SignalTriggerID int32
const ( SignalTriggerID_NONE SignalTriggerID = 0 SignalTriggerID_CLEANTERMINATION SignalTriggerID = 1 )
func ConvertSignalTriggerID ¶
func ConvertSignalTriggerID(id jasper.SignalTriggerID) SignalTriggerID
ConvertSignalTriggerID takes a Jasper SignalTriggerID and returns an equivalent protobuf RPC SignalTriggerID. ConvertSignalTrigger is the inverse of (SignalTriggerID) Export().
func (SignalTriggerID) Descriptor ¶
func (SignalTriggerID) Descriptor() protoreflect.EnumDescriptor
func (SignalTriggerID) Enum ¶
func (x SignalTriggerID) Enum() *SignalTriggerID
func (SignalTriggerID) EnumDescriptor
deprecated
func (SignalTriggerID) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignalTriggerID.Descriptor instead.
func (SignalTriggerID) Export ¶
func (t SignalTriggerID) Export() jasper.SignalTriggerID
Export takes a protobuf RPC SignalTriggerID and returns the analogous Jasper SignalTriggerID.
func (SignalTriggerID) Number ¶
func (x SignalTriggerID) Number() protoreflect.EnumNumber
func (SignalTriggerID) String ¶
func (x SignalTriggerID) String() string
func (SignalTriggerID) Type ¶
func (SignalTriggerID) Type() protoreflect.EnumType
type SignalTriggerParams ¶
type SignalTriggerParams struct { ProcessID *JasperProcessID `protobuf:"bytes,1,opt,name=processID,proto3" json:"processID,omitempty"` SignalTriggerID SignalTriggerID `protobuf:"varint,2,opt,name=signalTriggerID,proto3,enum=jasper.SignalTriggerID" json:"signalTriggerID,omitempty"` // contains filtered or unexported fields }
func ConvertSignalTriggerParams ¶
func ConvertSignalTriggerParams(jasperProcessID string, signalTriggerID jasper.SignalTriggerID) *SignalTriggerParams
ConvertSignalTriggerParams takes a Jasper process ID and a SignalTriggerID and returns an equivalent protobuf RPC SignalTriggerParams struct. ConvertSignalTriggerParams is the inverse of (SignalTriggerParams) Export().
func (*SignalTriggerParams) Descriptor
deprecated
func (*SignalTriggerParams) Descriptor() ([]byte, []int)
Deprecated: Use SignalTriggerParams.ProtoReflect.Descriptor instead.
func (*SignalTriggerParams) Export ¶
func (t *SignalTriggerParams) Export() (string, jasper.SignalTriggerID)
Export takes a protobuf RPC SignalTriggerParams struct and returns the analogous Jasper process ID and SignalTriggerID.
func (*SignalTriggerParams) GetProcessID ¶
func (x *SignalTriggerParams) GetProcessID() *JasperProcessID
func (*SignalTriggerParams) GetSignalTriggerID ¶
func (x *SignalTriggerParams) GetSignalTriggerID() SignalTriggerID
func (*SignalTriggerParams) ProtoMessage ¶
func (*SignalTriggerParams) ProtoMessage()
func (*SignalTriggerParams) ProtoReflect ¶
func (x *SignalTriggerParams) ProtoReflect() protoreflect.Message
func (*SignalTriggerParams) Reset ¶
func (x *SignalTriggerParams) Reset()
func (*SignalTriggerParams) String ¶
func (x *SignalTriggerParams) String() string
type Signals ¶
type Signals int32
func ConvertSignal ¶
ConvertSignal takes a syscall.Signal and returns an equivalent protobuf RPC Signals struct. ConvertSignals is the inverse of (Signals) Export().
func (Signals) Descriptor ¶
func (Signals) Descriptor() protoreflect.EnumDescriptor
func (Signals) EnumDescriptor
deprecated
func (Signals) Export ¶
Export takes a protobuf RPC Signals struct and returns the analogous syscall.Signal.
func (Signals) Number ¶
func (x Signals) Number() protoreflect.EnumNumber
func (Signals) Type ¶
func (Signals) Type() protoreflect.EnumType
type SplunkInfo ¶
type SplunkInfo struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
func ConvertSplunkInfo ¶
func ConvertSplunkInfo(opts send.SplunkConnectionInfo) *SplunkInfo
ConvertSplunkInfo takes a grip send.SplunkConnectionInfo and returns the analogous protobuf RPC SplunkInfo struct. ConvertSplunkInfo is the inverse of (SplunkInfo) Export().
func (*SplunkInfo) Descriptor
deprecated
func (*SplunkInfo) Descriptor() ([]byte, []int)
Deprecated: Use SplunkInfo.ProtoReflect.Descriptor instead.
func (*SplunkInfo) Export ¶
func (opts *SplunkInfo) Export() send.SplunkConnectionInfo
Export takes a protobuf RPC SplunkInfo struct and returns the analogous grip send.SplunkConnectionInfo struct.
func (*SplunkInfo) GetChannel ¶
func (x *SplunkInfo) GetChannel() string
func (*SplunkInfo) GetToken ¶
func (x *SplunkInfo) GetToken() string
func (*SplunkInfo) GetUrl ¶
func (x *SplunkInfo) GetUrl() string
func (*SplunkInfo) ProtoMessage ¶
func (*SplunkInfo) ProtoMessage()
func (*SplunkInfo) ProtoReflect ¶
func (x *SplunkInfo) ProtoReflect() protoreflect.Message
func (*SplunkInfo) Reset ¶
func (x *SplunkInfo) Reset()
func (*SplunkInfo) String ¶
func (x *SplunkInfo) String() string
type SplunkLoggerOptions ¶
type SplunkLoggerOptions struct { Splunk *SplunkInfo `protobuf:"bytes,1,opt,name=splunk,proto3" json:"splunk,omitempty"` Base *BaseOptions `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
func (*SplunkLoggerOptions) Descriptor
deprecated
func (*SplunkLoggerOptions) Descriptor() ([]byte, []int)
Deprecated: Use SplunkLoggerOptions.ProtoReflect.Descriptor instead.
func (*SplunkLoggerOptions) Export ¶
func (opts *SplunkLoggerOptions) Export() options.LoggerProducer
Export takes a protobuf RPC SplunkLoggerOptions struct and returns the analogous Jasper options.LoggerProducer.
func (*SplunkLoggerOptions) GetBase ¶
func (x *SplunkLoggerOptions) GetBase() *BaseOptions
func (*SplunkLoggerOptions) GetSplunk ¶
func (x *SplunkLoggerOptions) GetSplunk() *SplunkInfo
func (*SplunkLoggerOptions) ProtoMessage ¶
func (*SplunkLoggerOptions) ProtoMessage()
func (*SplunkLoggerOptions) ProtoReflect ¶
func (x *SplunkLoggerOptions) ProtoReflect() protoreflect.Message
func (*SplunkLoggerOptions) Reset ¶
func (x *SplunkLoggerOptions) Reset()
func (*SplunkLoggerOptions) String ¶
func (x *SplunkLoggerOptions) String() string
type StatusResponse ¶
type StatusResponse struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*StatusResponse) Descriptor
deprecated
func (*StatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
func (*StatusResponse) GetActive ¶
func (x *StatusResponse) GetActive() bool
func (*StatusResponse) GetHostId ¶
func (x *StatusResponse) GetHostId() string
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) ProtoReflect ¶
func (x *StatusResponse) ProtoReflect() protoreflect.Message
func (*StatusResponse) Reset ¶
func (x *StatusResponse) Reset()
func (*StatusResponse) String ¶
func (x *StatusResponse) String() string
type TagName ¶
type TagName struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*TagName) Descriptor
deprecated
func (*TagName) ProtoMessage ¶
func (*TagName) ProtoMessage()
func (*TagName) ProtoReflect ¶
func (x *TagName) ProtoReflect() protoreflect.Message
type UnimplementedJasperProcessManagerServer ¶
type UnimplementedJasperProcessManagerServer struct { }
UnimplementedJasperProcessManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedJasperProcessManagerServer) Clear ¶
func (UnimplementedJasperProcessManagerServer) Clear(context.Context, *emptypb.Empty) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Close ¶
func (UnimplementedJasperProcessManagerServer) Close(context.Context, *emptypb.Empty) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ConfigureCache ¶
func (UnimplementedJasperProcessManagerServer) ConfigureCache(context.Context, *CacheOptions) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Create ¶
func (UnimplementedJasperProcessManagerServer) Create(context.Context, *CreateOptions) (*ProcessInfo, error)
func (UnimplementedJasperProcessManagerServer) DownloadFile ¶
func (UnimplementedJasperProcessManagerServer) DownloadFile(context.Context, *DownloadInfo) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) DownloadMongoDB ¶
func (UnimplementedJasperProcessManagerServer) DownloadMongoDB(context.Context, *MongoDBDownloadOptions) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Get ¶
func (UnimplementedJasperProcessManagerServer) Get(context.Context, *JasperProcessID) (*ProcessInfo, error)
func (UnimplementedJasperProcessManagerServer) GetBuildloggerURLs ¶
func (UnimplementedJasperProcessManagerServer) GetBuildloggerURLs(context.Context, *JasperProcessID) (*BuildloggerURLs, error)
func (UnimplementedJasperProcessManagerServer) GetLogStream ¶
func (UnimplementedJasperProcessManagerServer) GetLogStream(context.Context, *LogRequest) (*LogStream, error)
func (UnimplementedJasperProcessManagerServer) GetTags ¶
func (UnimplementedJasperProcessManagerServer) GetTags(context.Context, *JasperProcessID) (*ProcessTags, error)
func (UnimplementedJasperProcessManagerServer) ID ¶
func (UnimplementedJasperProcessManagerServer) ID(context.Context, *emptypb.Empty) (*IDResponse, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheClear ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheClear(context.Context, *emptypb.Empty) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheCloseAndRemove ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheCloseAndRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheCreate ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheCreate(context.Context, *LoggingCacheCreateArgs) (*LoggingCacheInstance, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheGet ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheGet(context.Context, *LoggingCacheArgs) (*LoggingCacheInstance, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheLen ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheLen(context.Context, *emptypb.Empty) (*LoggingCacheLenResponse, error)
func (UnimplementedJasperProcessManagerServer) LoggingCachePrune ¶
func (UnimplementedJasperProcessManagerServer) LoggingCachePrune(context.Context, *timestamppb.Timestamp) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) LoggingCacheRemove ¶
func (UnimplementedJasperProcessManagerServer) LoggingCacheRemove(context.Context, *LoggingCacheArgs) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) RegisterSignalTriggerID ¶
func (UnimplementedJasperProcessManagerServer) RegisterSignalTriggerID(context.Context, *SignalTriggerParams) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ResetTags ¶
func (UnimplementedJasperProcessManagerServer) ResetTags(context.Context, *JasperProcessID) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Respawn ¶
func (UnimplementedJasperProcessManagerServer) Respawn(context.Context, *JasperProcessID) (*ProcessInfo, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessBuild ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessBuild(context.Context, *ScriptingHarnessBuildArgs) (*ScriptingHarnessBuildResponse, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCleanup ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCleanup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCreate ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessCreate(context.Context, *ScriptingOptions) (*ScriptingHarnessID, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessGet ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessGet(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRun ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRun(context.Context, *ScriptingHarnessRunArgs) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRunScript ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessRunScript(context.Context, *ScriptingHarnessRunScriptArgs) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessSetup ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessSetup(context.Context, *ScriptingHarnessID) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessTest ¶
func (UnimplementedJasperProcessManagerServer) ScriptingHarnessTest(context.Context, *ScriptingHarnessTestArgs) (*ScriptingHarnessTestResponse, error)
func (UnimplementedJasperProcessManagerServer) SendMessages ¶
func (UnimplementedJasperProcessManagerServer) SendMessages(context.Context, *LoggingPayload) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Signal ¶
func (UnimplementedJasperProcessManagerServer) Signal(context.Context, *SignalProcess) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) SignalEvent ¶
func (UnimplementedJasperProcessManagerServer) SignalEvent(context.Context, *EventName) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Status ¶
func (UnimplementedJasperProcessManagerServer) Status(context.Context, *emptypb.Empty) (*StatusResponse, error)
func (UnimplementedJasperProcessManagerServer) TagProcess ¶
func (UnimplementedJasperProcessManagerServer) TagProcess(context.Context, *ProcessTags) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) Wait ¶
func (UnimplementedJasperProcessManagerServer) Wait(context.Context, *JasperProcessID) (*OperationOutcome, error)
func (UnimplementedJasperProcessManagerServer) WriteFile ¶
func (UnimplementedJasperProcessManagerServer) WriteFile(JasperProcessManager_WriteFileServer) error
type UnsafeJasperProcessManagerServer ¶
type UnsafeJasperProcessManagerServer interface {
// contains filtered or unexported methods
}
UnsafeJasperProcessManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JasperProcessManagerServer will result in compilation errors.
type WriteFileInfo ¶
type WriteFileInfo struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Append bool `protobuf:"varint,4,opt,name=append,proto3" json:"append,omitempty"` Perm uint32 `protobuf:"varint,3,opt,name=perm,proto3" json:"perm,omitempty"` // contains filtered or unexported fields }
func ConvertWriteFileOptions ¶
func ConvertWriteFileOptions(opts options.WriteFile) *WriteFileInfo
ConvertWriteFileOptions takes an options.WriteFile struct and returns an equivalent protobuf RPC WriteFileInfo struct. ConvertWriteFileOptions is the inverse of (*WriteFileInfo) Export().
func (*WriteFileInfo) Descriptor
deprecated
func (*WriteFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileInfo.ProtoReflect.Descriptor instead.
func (*WriteFileInfo) Export ¶
func (opts *WriteFileInfo) Export() options.WriteFile
Export takes a protobuf RPC WriteFileInfo struct and returns the analogous options.WriteFile struct.
func (*WriteFileInfo) GetAppend ¶
func (x *WriteFileInfo) GetAppend() bool
func (*WriteFileInfo) GetContent ¶
func (x *WriteFileInfo) GetContent() []byte
func (*WriteFileInfo) GetPath ¶
func (x *WriteFileInfo) GetPath() string
func (*WriteFileInfo) GetPerm ¶
func (x *WriteFileInfo) GetPerm() uint32
func (*WriteFileInfo) ProtoMessage ¶
func (*WriteFileInfo) ProtoMessage()
func (*WriteFileInfo) ProtoReflect ¶
func (x *WriteFileInfo) ProtoReflect() protoreflect.Message
func (*WriteFileInfo) Reset ¶
func (x *WriteFileInfo) Reset()
func (*WriteFileInfo) String ¶
func (x *WriteFileInfo) String() string