Documentation ¶
Overview ¶
Package logstream is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterLogStreamHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLogStreamHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogStreamClient) error
- func RegisterLogStreamHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLogStreamHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogStreamServer) error
- func RegisterLogStreamServer(s grpc.ServiceRegistrar, srv LogStreamServer)
- type BuildMetrics
- func (*BuildMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *BuildMetrics) GetBuildId() string
- func (x *BuildMetrics) GetCacheRatio() float32
- func (x *BuildMetrics) GetCachedCommands() int32
- func (x *BuildMetrics) GetCanonicalTargetName() string
- func (x *BuildMetrics) GetCreatedAt() *timestamppb.Timestamp
- func (x *BuildMetrics) GetOrgId() string
- func (x *BuildMetrics) GetStatus() RunStatus
- func (x *BuildMetrics) GetTotalCommands() int32
- func (x *BuildMetrics) GetTotalTargets() int32
- func (x *BuildMetrics) GetTotalTimeSecs() int32
- func (*BuildMetrics) ProtoMessage()
- func (x *BuildMetrics) ProtoReflect() protoreflect.Message
- func (x *BuildMetrics) Reset()
- func (x *BuildMetrics) String() string
- type CommandManifest
- func (*CommandManifest) Descriptor() ([]byte, []int)deprecated
- func (x *CommandManifest) GetCategory() string
- func (x *CommandManifest) GetDependsOn() []*CommandTarget
- func (x *CommandManifest) GetEndedAtUnixNanos() uint64
- func (x *CommandManifest) GetErrorMessage() string
- func (x *CommandManifest) GetHasProgress() bool
- func (x *CommandManifest) GetIsCached() bool
- func (x *CommandManifest) GetIsInteractive() bool
- func (x *CommandManifest) GetIsLocal() bool
- func (x *CommandManifest) GetName() string
- func (x *CommandManifest) GetPlatform() string
- func (x *CommandManifest) GetProgress() int32
- func (x *CommandManifest) GetSourceLocation() *SourceLocation
- func (x *CommandManifest) GetStartedAtUnixNanos() uint64
- func (x *CommandManifest) GetStatus() RunStatus
- func (x *CommandManifest) GetTargetId() string
- func (*CommandManifest) ProtoMessage()
- func (x *CommandManifest) ProtoReflect() protoreflect.Message
- func (x *CommandManifest) Reset()
- func (x *CommandManifest) String() string
- type CommandTarget
- func (*CommandTarget) Descriptor() ([]byte, []int)deprecated
- func (x *CommandTarget) GetReferencedName() string
- func (x *CommandTarget) GetTargetId() string
- func (*CommandTarget) ProtoMessage()
- func (x *CommandTarget) ProtoReflect() protoreflect.Message
- func (x *CommandTarget) Reset()
- func (x *CommandTarget) String() string
- type Delta
- func (*Delta) Descriptor() ([]byte, []int)deprecated
- func (x *Delta) GetDeltaFormattedLog() *DeltaFormattedLog
- func (x *Delta) GetDeltaLog() *DeltaLog
- func (x *Delta) GetDeltaManifest() *DeltaManifest
- func (m *Delta) GetDeltaTypeOneof() isDelta_DeltaTypeOneof
- func (x *Delta) GetVersion() int32
- func (*Delta) ProtoMessage()
- func (x *Delta) ProtoReflect() protoreflect.Message
- func (x *Delta) Reset()
- func (x *Delta) String() string
- type DeltaCommandManifest
- func (*DeltaCommandManifest) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaCommandManifest) GetCategory() string
- func (x *DeltaCommandManifest) GetDependsOn() []*CommandTarget
- func (x *DeltaCommandManifest) GetEndedAtUnixNanos() uint64
- func (x *DeltaCommandManifest) GetErrorMessage() string
- func (x *DeltaCommandManifest) GetHasCached() bool
- func (x *DeltaCommandManifest) GetHasHasProgress() bool
- func (x *DeltaCommandManifest) GetHasInteractive() bool
- func (x *DeltaCommandManifest) GetHasLocal() bool
- func (x *DeltaCommandManifest) GetHasProgress() bool
- func (x *DeltaCommandManifest) GetHasSourceLocation() bool
- func (x *DeltaCommandManifest) GetIsCached() bool
- func (x *DeltaCommandManifest) GetIsInteractive() bool
- func (x *DeltaCommandManifest) GetIsLocal() bool
- func (x *DeltaCommandManifest) GetName() string
- func (x *DeltaCommandManifest) GetPlatform() string
- func (x *DeltaCommandManifest) GetProgress() int32
- func (x *DeltaCommandManifest) GetSourceLocation() *SourceLocation
- func (x *DeltaCommandManifest) GetStartedAtUnixNanos() uint64
- func (x *DeltaCommandManifest) GetStatus() RunStatus
- func (x *DeltaCommandManifest) GetTargetId() string
- func (*DeltaCommandManifest) ProtoMessage()
- func (x *DeltaCommandManifest) ProtoReflect() protoreflect.Message
- func (x *DeltaCommandManifest) Reset()
- func (x *DeltaCommandManifest) String() string
- type DeltaFormattedLog
- func (*DeltaFormattedLog) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaFormattedLog) GetCommandId() string
- func (x *DeltaFormattedLog) GetData() []byte
- func (x *DeltaFormattedLog) GetTargetId() string
- func (x *DeltaFormattedLog) GetTimestampUnixNanos() uint64
- func (*DeltaFormattedLog) ProtoMessage()
- func (x *DeltaFormattedLog) ProtoReflect() protoreflect.Message
- func (x *DeltaFormattedLog) Reset()
- func (x *DeltaFormattedLog) String() string
- type DeltaLog
- func (*DeltaLog) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaLog) GetCommandId() string
- func (x *DeltaLog) GetData() []byte
- func (x *DeltaLog) GetStream() int32
- func (x *DeltaLog) GetTargetId() string
- func (x *DeltaLog) GetTimestampUnixNanos() uint64
- func (*DeltaLog) ProtoMessage()
- func (x *DeltaLog) ProtoReflect() protoreflect.Message
- func (x *DeltaLog) Reset()
- func (x *DeltaLog) String() string
- type DeltaManifest
- func (*DeltaManifest) Descriptor() ([]byte, []int)deprecated
- func (m *DeltaManifest) GetDeltaManifestOneof() isDeltaManifest_DeltaManifestOneof
- func (x *DeltaManifest) GetFields() *DeltaManifest_FieldsDelta
- func (x *DeltaManifest) GetResetAll() *RunManifest
- func (x *DeltaManifest) GetResume() *DeltaManifest_ResumeBuild
- func (*DeltaManifest) ProtoMessage()
- func (x *DeltaManifest) ProtoReflect() protoreflect.Message
- func (x *DeltaManifest) Reset()
- func (x *DeltaManifest) String() string
- type DeltaManifest_Fields
- type DeltaManifest_FieldsDelta
- func (*DeltaManifest_FieldsDelta) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaManifest_FieldsDelta) GetCommands() map[string]*DeltaCommandManifest
- func (x *DeltaManifest_FieldsDelta) GetEndedAtUnixNanos() uint64
- func (x *DeltaManifest_FieldsDelta) GetFailure() *Failure
- func (x *DeltaManifest_FieldsDelta) GetGitAuthor() string
- func (x *DeltaManifest_FieldsDelta) GetGitConfigEmail() string
- func (x *DeltaManifest_FieldsDelta) GetHasFailure() bool
- func (x *DeltaManifest_FieldsDelta) GetIsCi() bool
- func (x *DeltaManifest_FieldsDelta) GetMainTargetId() string
- func (x *DeltaManifest_FieldsDelta) GetStartedAtUnixNanos() uint64
- func (x *DeltaManifest_FieldsDelta) GetStatus() RunStatus
- func (x *DeltaManifest_FieldsDelta) GetTargets() map[string]*DeltaTargetManifest
- func (*DeltaManifest_FieldsDelta) ProtoMessage()
- func (x *DeltaManifest_FieldsDelta) ProtoReflect() protoreflect.Message
- func (x *DeltaManifest_FieldsDelta) Reset()
- func (x *DeltaManifest_FieldsDelta) String() string
- type DeltaManifest_ResetAll
- type DeltaManifest_Resume
- type DeltaManifest_ResumeBuild
- func (*DeltaManifest_ResumeBuild) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaManifest_ResumeBuild) GetBuildId() string
- func (x *DeltaManifest_ResumeBuild) GetOrgName() string
- func (x *DeltaManifest_ResumeBuild) GetProjectName() string
- func (x *DeltaManifest_ResumeBuild) GetToken() string
- func (*DeltaManifest_ResumeBuild) ProtoMessage()
- func (x *DeltaManifest_ResumeBuild) ProtoReflect() protoreflect.Message
- func (x *DeltaManifest_ResumeBuild) Reset()
- func (x *DeltaManifest_ResumeBuild) String() string
- type DeltaTargetManifest
- func (*DeltaTargetManifest) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaTargetManifest) GetCanonicalName() string
- func (x *DeltaTargetManifest) GetDependsOn() []string
- func (x *DeltaTargetManifest) GetEndedAtUnixNanos() uint64
- func (x *DeltaTargetManifest) GetFinalPlatform() string
- func (x *DeltaTargetManifest) GetGitUrl() string
- func (x *DeltaTargetManifest) GetImportRef() string
- func (x *DeltaTargetManifest) GetInitialPlatform() string
- func (x *DeltaTargetManifest) GetLocalPath() string
- func (x *DeltaTargetManifest) GetName() string
- func (x *DeltaTargetManifest) GetOverrideArgs() []string
- func (x *DeltaTargetManifest) GetRunner() string
- func (x *DeltaTargetManifest) GetStartedAtUnixNanos() uint64
- func (x *DeltaTargetManifest) GetStatus() RunStatus
- func (x *DeltaTargetManifest) GetTag() string
- func (*DeltaTargetManifest) ProtoMessage()
- func (x *DeltaTargetManifest) ProtoReflect() protoreflect.Message
- func (x *DeltaTargetManifest) Reset()
- func (x *DeltaTargetManifest) String() string
- type Delta_DeltaFormattedLog
- type Delta_DeltaLog
- type Delta_DeltaManifest
- type Failure
- func (*Failure) Descriptor() ([]byte, []int)deprecated
- func (x *Failure) GetCommandId() string
- func (x *Failure) GetErrorMessage() string
- func (x *Failure) GetHelpMessage() string
- func (x *Failure) GetOutput() []byte
- func (x *Failure) GetTargetId() string
- func (x *Failure) GetType() FailureType
- func (*Failure) ProtoMessage()
- func (x *Failure) ProtoReflect() protoreflect.Message
- func (x *Failure) Reset()
- func (x *Failure) String() string
- type FailureType
- func (FailureType) Descriptor() protoreflect.EnumDescriptor
- func (x FailureType) Enum() *FailureType
- func (FailureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FailureType) Number() protoreflect.EnumNumber
- func (x FailureType) String() string
- func (FailureType) Type() protoreflect.EnumType
- type FormattedLogList
- func (*FormattedLogList) Descriptor() ([]byte, []int)deprecated
- func (x *FormattedLogList) GetLogs() []*DeltaFormattedLog
- func (*FormattedLogList) ProtoMessage()
- func (x *FormattedLogList) ProtoReflect() protoreflect.Message
- func (x *FormattedLogList) Reset()
- func (x *FormattedLogList) String() string
- type GetFirebaseAuthTokenRequest
- func (*GetFirebaseAuthTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFirebaseAuthTokenRequest) GetBuildId() string
- func (*GetFirebaseAuthTokenRequest) ProtoMessage()
- func (x *GetFirebaseAuthTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetFirebaseAuthTokenRequest) Reset()
- func (x *GetFirebaseAuthTokenRequest) String() string
- type GetFirebaseAuthTokenResponse
- func (*GetFirebaseAuthTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFirebaseAuthTokenResponse) GetToken() string
- func (*GetFirebaseAuthTokenResponse) ProtoMessage()
- func (x *GetFirebaseAuthTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetFirebaseAuthTokenResponse) Reset()
- func (x *GetFirebaseAuthTokenResponse) String() string
- type GetLogMetadataRequest
- func (*GetLogMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogMetadataRequest) GetBuildId() string
- func (*GetLogMetadataRequest) ProtoMessage()
- func (x *GetLogMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogMetadataRequest) Reset()
- func (x *GetLogMetadataRequest) String() string
- type GetLogMetadataResponse
- func (*GetLogMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogMetadataResponse) GetMetadata() *LogMetadata
- func (*GetLogMetadataResponse) ProtoMessage()
- func (x *GetLogMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogMetadataResponse) Reset()
- func (x *GetLogMetadataResponse) String() string
- type GetLogsRequest
- type GetLogsResponse
- func (*GetLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogsResponse) GetLogs() *FormattedLogList
- func (x *GetLogsResponse) GetManifest() *RunManifest
- func (m *GetLogsResponse) GetResult() isGetLogsResponse_Result
- func (*GetLogsResponse) ProtoMessage()
- func (x *GetLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogsResponse) Reset()
- func (x *GetLogsResponse) String() string
- type GetLogsResponse_Logs
- type GetLogsResponse_Manifest
- type GetLongTermRequest
- func (*GetLongTermRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLongTermRequest) GetBuildId() string
- func (*GetLongTermRequest) ProtoMessage()
- func (x *GetLongTermRequest) ProtoReflect() protoreflect.Message
- func (x *GetLongTermRequest) Reset()
- func (x *GetLongTermRequest) String() string
- type GetLongTermResponse
- func (*GetLongTermResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLongTermResponse) GetLogs() *FormattedLogList
- func (x *GetLongTermResponse) GetManifest() *RunManifest
- func (m *GetLongTermResponse) GetResult() isGetLongTermResponse_Result
- func (*GetLongTermResponse) ProtoMessage()
- func (x *GetLongTermResponse) ProtoReflect() protoreflect.Message
- func (x *GetLongTermResponse) Reset()
- func (x *GetLongTermResponse) String() string
- type GetLongTermResponse_Logs
- type GetLongTermResponse_Manifest
- type InitLogsRequest
- func (*InitLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitLogsRequest) GetFormattedLogs() []*DeltaFormattedLog
- func (x *InitLogsRequest) GetManifest() *RunManifest
- func (*InitLogsRequest) ProtoMessage()
- func (x *InitLogsRequest) ProtoReflect() protoreflect.Message
- func (x *InitLogsRequest) Reset()
- func (x *InitLogsRequest) String() string
- type InitLogsResponse
- type ListBuildMetricsRequest
- func (*ListBuildMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildMetricsRequest) GetCanonicalTargetName() string
- func (x *ListBuildMetricsRequest) GetOrgId() string
- func (*ListBuildMetricsRequest) ProtoMessage()
- func (x *ListBuildMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBuildMetricsRequest) Reset()
- func (x *ListBuildMetricsRequest) String() string
- type ListBuildMetricsResponse
- func (*ListBuildMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildMetricsResponse) GetMetrics() []*BuildMetrics
- func (*ListBuildMetricsResponse) ProtoMessage()
- func (x *ListBuildMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBuildMetricsResponse) Reset()
- func (x *ListBuildMetricsResponse) String() string
- type ListLogMetadataRequest
- func (*ListLogMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogMetadataRequest) GetExcludeUserIds() []string
- func (x *ListLogMetadataRequest) GetLimit() int32
- func (x *ListLogMetadataRequest) GetOffset() int32
- func (x *ListLogMetadataRequest) GetOrgId() string
- func (x *ListLogMetadataRequest) GetProjectId() string
- func (x *ListLogMetadataRequest) GetRunner() Runner
- func (x *ListLogMetadataRequest) GetRunnerName() string
- func (x *ListLogMetadataRequest) GetStatus() RunStatus
- func (x *ListLogMetadataRequest) GetTarget() string
- func (x *ListLogMetadataRequest) GetUserId() string
- func (*ListLogMetadataRequest) ProtoMessage()
- func (x *ListLogMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *ListLogMetadataRequest) Reset()
- func (x *ListLogMetadataRequest) String() string
- type ListLogMetadataResponse
- func (*ListLogMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogMetadataResponse) GetMetadata() []*LogMetadata
- func (x *ListLogMetadataResponse) GetTotalResults() int32
- func (*ListLogMetadataResponse) ProtoMessage()
- func (x *ListLogMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *ListLogMetadataResponse) Reset()
- func (x *ListLogMetadataResponse) String() string
- type LogMetadata
- func (*LogMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *LogMetadata) GetBuildId() string
- func (x *LogMetadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *LogMetadata) GetEndedAt() *timestamppb.Timestamp
- func (x *LogMetadata) GetGitAuthor() string
- func (x *LogMetadata) GetGitConfigEmail() string
- func (x *LogMetadata) GetIsCi() bool
- func (x *LogMetadata) GetOrgId() string
- func (x *LogMetadata) GetProjectId() string
- func (x *LogMetadata) GetRunner() Runner
- func (x *LogMetadata) GetRunnerName() string
- func (x *LogMetadata) GetShard() string
- func (x *LogMetadata) GetStatus() RunStatus
- func (x *LogMetadata) GetTarget() *Target
- func (x *LogMetadata) GetUserId() string
- func (*LogMetadata) ProtoMessage()
- func (x *LogMetadata) ProtoReflect() protoreflect.Message
- func (x *LogMetadata) Reset()
- func (x *LogMetadata) String() string
- type LogStreamClient
- type LogStreamServer
- type LogStream_GetLogsClient
- type LogStream_GetLogsServer
- type LogStream_GetLongTermClient
- type LogStream_GetLongTermServer
- type LogStream_StreamLogsClient
- type LogStream_StreamLogsServer
- type LongTermExistsRequest
- func (*LongTermExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LongTermExistsRequest) GetBuildId() string
- func (*LongTermExistsRequest) ProtoMessage()
- func (x *LongTermExistsRequest) ProtoReflect() protoreflect.Message
- func (x *LongTermExistsRequest) Reset()
- func (x *LongTermExistsRequest) String() string
- type LongTermExistsResponse
- func (*LongTermExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LongTermExistsResponse) GetExists() bool
- func (*LongTermExistsResponse) ProtoMessage()
- func (x *LongTermExistsResponse) ProtoReflect() protoreflect.Message
- func (x *LongTermExistsResponse) Reset()
- func (x *LongTermExistsResponse) String() string
- type RunManifest
- func (*RunManifest) Descriptor() ([]byte, []int)deprecated
- func (x *RunManifest) GetBuildId() string
- func (x *RunManifest) GetCommands() map[string]*CommandManifest
- func (x *RunManifest) GetCreatedAtUnixNanos() uint64
- func (x *RunManifest) GetEndedAtUnixNanos() uint64
- func (x *RunManifest) GetFailure() *Failure
- func (x *RunManifest) GetGitAuthor() string
- func (x *RunManifest) GetGitConfigEmail() string
- func (x *RunManifest) GetIsCi() bool
- func (x *RunManifest) GetMainTargetId() string
- func (x *RunManifest) GetOrgId() string
- func (x *RunManifest) GetOrgName() string
- func (x *RunManifest) GetProjectId() string
- func (x *RunManifest) GetProjectName() string
- func (x *RunManifest) GetResumeToken() string
- func (x *RunManifest) GetStartedAtUnixNanos() uint64
- func (x *RunManifest) GetStatus() RunStatus
- func (x *RunManifest) GetTargets() map[string]*TargetManifest
- func (x *RunManifest) GetUserId() string
- func (x *RunManifest) GetVersion() int32
- func (*RunManifest) ProtoMessage()
- func (x *RunManifest) ProtoReflect() protoreflect.Message
- func (x *RunManifest) Reset()
- func (x *RunManifest) String() string
- type RunStatus
- type Runner
- type SourceLocation
- func (*SourceLocation) Descriptor() ([]byte, []int)deprecated
- func (x *SourceLocation) GetEndColumn() int32
- func (x *SourceLocation) GetEndLine() int32
- func (x *SourceLocation) GetFile() string
- func (x *SourceLocation) GetRepositoryHash() string
- func (x *SourceLocation) GetRepositoryUrl() string
- func (x *SourceLocation) GetStartColumn() int32
- func (x *SourceLocation) GetStartLine() int32
- func (*SourceLocation) ProtoMessage()
- func (x *SourceLocation) ProtoReflect() protoreflect.Message
- func (x *SourceLocation) Reset()
- func (x *SourceLocation) String() string
- type StreamLogRequest
- func (*StreamLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLogRequest) GetBuildId() string
- func (x *StreamLogRequest) GetDeltas() []*Delta
- func (x *StreamLogRequest) GetEof() bool
- func (*StreamLogRequest) ProtoMessage()
- func (x *StreamLogRequest) ProtoReflect() protoreflect.Message
- func (x *StreamLogRequest) Reset()
- func (x *StreamLogRequest) String() string
- type StreamLogResponse
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetGitUrl() string
- func (x *Target) GetImportRef() string
- func (x *Target) GetLocalPath() string
- func (x *Target) GetName() string
- func (x *Target) GetTag() string
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type TargetManifest
- func (*TargetManifest) Descriptor() ([]byte, []int)deprecated
- func (x *TargetManifest) GetCanonicalName() string
- func (x *TargetManifest) GetDependsOn() []string
- func (x *TargetManifest) GetEndedAtUnixNanos() uint64
- func (x *TargetManifest) GetFinalPlatform() string
- func (x *TargetManifest) GetGitUrl() string
- func (x *TargetManifest) GetImportRef() string
- func (x *TargetManifest) GetInitialPlatform() string
- func (x *TargetManifest) GetLocalPath() string
- func (x *TargetManifest) GetName() string
- func (x *TargetManifest) GetOverrideArgs() []string
- func (x *TargetManifest) GetRunner() string
- func (x *TargetManifest) GetStartedAtUnixNanos() uint64
- func (x *TargetManifest) GetStatus() RunStatus
- func (x *TargetManifest) GetTag() string
- func (*TargetManifest) ProtoMessage()
- func (x *TargetManifest) ProtoReflect() protoreflect.Message
- func (x *TargetManifest) Reset()
- func (x *TargetManifest) String() string
- type UnimplementedLogStreamServer
- func (UnimplementedLogStreamServer) GetFirebaseAuthToken(context.Context, *GetFirebaseAuthTokenRequest) (*GetFirebaseAuthTokenResponse, error)
- func (UnimplementedLogStreamServer) GetLogMetadata(context.Context, *GetLogMetadataRequest) (*GetLogMetadataResponse, error)
- func (UnimplementedLogStreamServer) GetLogs(*GetLogsRequest, LogStream_GetLogsServer) error
- func (UnimplementedLogStreamServer) GetLongTerm(*GetLongTermRequest, LogStream_GetLongTermServer) error
- func (UnimplementedLogStreamServer) InitLogs(context.Context, *InitLogsRequest) (*InitLogsResponse, error)
- func (UnimplementedLogStreamServer) ListBuildMetrics(context.Context, *ListBuildMetricsRequest) (*ListBuildMetricsResponse, error)
- func (UnimplementedLogStreamServer) ListLogMetadata(context.Context, *ListLogMetadataRequest) (*ListLogMetadataResponse, error)
- func (UnimplementedLogStreamServer) LongTermExists(context.Context, *LongTermExistsRequest) (*LongTermExistsResponse, error)
- func (UnimplementedLogStreamServer) StreamLogs(LogStream_StreamLogsServer) error
- type UnsafeLogStreamServer
Constants ¶
const ( LogStream_StreamLogs_FullMethodName = "/api.public.logstream.LogStream/StreamLogs" LogStream_GetLogs_FullMethodName = "/api.public.logstream.LogStream/GetLogs" LogStream_GetLogMetadata_FullMethodName = "/api.public.logstream.LogStream/GetLogMetadata" LogStream_ListLogMetadata_FullMethodName = "/api.public.logstream.LogStream/ListLogMetadata" LogStream_InitLogs_FullMethodName = "/api.public.logstream.LogStream/InitLogs" LogStream_GetFirebaseAuthToken_FullMethodName = "/api.public.logstream.LogStream/GetFirebaseAuthToken" LogStream_LongTermExists_FullMethodName = "/api.public.logstream.LogStream/LongTermExists" LogStream_GetLongTerm_FullMethodName = "/api.public.logstream.LogStream/GetLongTerm" LogStream_ListBuildMetrics_FullMethodName = "/api.public.logstream.LogStream/ListBuildMetrics" )
Variables ¶
var ( Runner_name = map[int32]string{ 0: "UNSPECIFIED", 1: "LOCAL", 2: "SATELLITE", 3: "CI", 4: "REMOTE_BUILDKIT", } Runner_value = map[string]int32{ "UNSPECIFIED": 0, "LOCAL": 1, "SATELLITE": 2, "CI": 3, "REMOTE_BUILDKIT": 4, } )
Enum value maps for Runner.
var ( RunStatus_name = map[int32]string{ 0: "RUN_STATUS_UNKNOWN", 1: "RUN_STATUS_NOT_STARTED", 2: "RUN_STATUS_IN_PROGRESS", 3: "RUN_STATUS_SUCCESS", 4: "RUN_STATUS_FAILURE", 5: "RUN_STATUS_CANCELED", } RunStatus_value = map[string]int32{ "RUN_STATUS_UNKNOWN": 0, "RUN_STATUS_NOT_STARTED": 1, "RUN_STATUS_IN_PROGRESS": 2, "RUN_STATUS_SUCCESS": 3, "RUN_STATUS_FAILURE": 4, "RUN_STATUS_CANCELED": 5, } )
Enum value maps for RunStatus.
var ( FailureType_name = map[int32]string{ 0: "FAILURE_TYPE_UNKNOWN", 1: "FAILURE_TYPE_OTHER", 2: "FAILURE_TYPE_NONZERO_EXIT", 3: "FAILURE_TYPE_FILE_NOT_FOUND", 4: "FAILURE_TYPE_SYNTAX", 5: "FAILURE_TYPE_OOM_KILLED", 6: "FAILURE_TYPE_BUILDKIT_CRASHED", 7: "FAILURE_TYPE_CONNECTION_FAILURE", 8: "FAILURE_TYPE_NEEDS_PRIVILEGED", 9: "FAILURE_TYPE_GIT", 10: "FAILURE_TYPE_RATE_LIMITED", 11: "FAILURE_TYPE_INVALID_PARAM", 12: "FAILURE_TYPE_AUTO_SKIP", } FailureType_value = map[string]int32{ "FAILURE_TYPE_UNKNOWN": 0, "FAILURE_TYPE_OTHER": 1, "FAILURE_TYPE_NONZERO_EXIT": 2, "FAILURE_TYPE_FILE_NOT_FOUND": 3, "FAILURE_TYPE_SYNTAX": 4, "FAILURE_TYPE_OOM_KILLED": 5, "FAILURE_TYPE_BUILDKIT_CRASHED": 6, "FAILURE_TYPE_CONNECTION_FAILURE": 7, "FAILURE_TYPE_NEEDS_PRIVILEGED": 8, "FAILURE_TYPE_GIT": 9, "FAILURE_TYPE_RATE_LIMITED": 10, "FAILURE_TYPE_INVALID_PARAM": 11, "FAILURE_TYPE_AUTO_SKIP": 12, } )
Enum value maps for FailureType.
var File_delta_proto protoreflect.FileDescriptor
var File_logstream_proto protoreflect.FileDescriptor
var File_manifest_proto protoreflect.FileDescriptor
var LogStream_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.public.logstream.LogStream", HandlerType: (*LogStreamServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLogMetadata", Handler: _LogStream_GetLogMetadata_Handler, }, { MethodName: "ListLogMetadata", Handler: _LogStream_ListLogMetadata_Handler, }, { MethodName: "InitLogs", Handler: _LogStream_InitLogs_Handler, }, { MethodName: "GetFirebaseAuthToken", Handler: _LogStream_GetFirebaseAuthToken_Handler, }, { MethodName: "LongTermExists", Handler: _LogStream_LongTermExists_Handler, }, { MethodName: "ListBuildMetrics", Handler: _LogStream_ListBuildMetrics_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamLogs", Handler: _LogStream_StreamLogs_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "GetLogs", Handler: _LogStream_GetLogs_Handler, ServerStreams: true, }, { StreamName: "GetLongTerm", Handler: _LogStream_GetLongTerm_Handler, ServerStreams: true, }, }, Metadata: "logstream.proto", }
LogStream_ServiceDesc is the grpc.ServiceDesc for LogStream service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLogStreamHandler ¶
func RegisterLogStreamHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLogStreamHandler registers the http handlers for service LogStream to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLogStreamHandlerClient ¶
func RegisterLogStreamHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LogStreamClient) error
RegisterLogStreamHandlerClient registers the http handlers for service LogStream to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LogStreamClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LogStreamClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LogStreamClient" to call the correct interceptors.
func RegisterLogStreamHandlerFromEndpoint ¶
func RegisterLogStreamHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLogStreamHandlerFromEndpoint is same as RegisterLogStreamHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLogStreamHandlerServer ¶
func RegisterLogStreamHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LogStreamServer) error
RegisterLogStreamHandlerServer registers the http handlers for service LogStream to "mux". UnaryRPC :call LogStreamServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLogStreamHandlerFromEndpoint instead.
func RegisterLogStreamServer ¶
func RegisterLogStreamServer(s grpc.ServiceRegistrar, srv LogStreamServer)
Types ¶
type BuildMetrics ¶
type BuildMetrics struct { CanonicalTargetName string `protobuf:"bytes,1,opt,name=canonical_target_name,json=canonicalTargetName,proto3" json:"canonical_target_name,omitempty"` BuildId string `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` OrgId string `protobuf:"bytes,3,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` TotalTargets int32 `protobuf:"varint,5,opt,name=total_targets,json=totalTargets,proto3" json:"total_targets,omitempty"` TotalCommands int32 `protobuf:"varint,6,opt,name=total_commands,json=totalCommands,proto3" json:"total_commands,omitempty"` CachedCommands int32 `protobuf:"varint,7,opt,name=cached_commands,json=cachedCommands,proto3" json:"cached_commands,omitempty"` CacheRatio float32 `protobuf:"fixed32,8,opt,name=cache_ratio,json=cacheRatio,proto3" json:"cache_ratio,omitempty"` TotalTimeSecs int32 `protobuf:"varint,9,opt,name=total_time_secs,json=totalTimeSecs,proto3" json:"total_time_secs,omitempty"` Status RunStatus `protobuf:"varint,10,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*BuildMetrics) Descriptor
deprecated
func (*BuildMetrics) Descriptor() ([]byte, []int)
Deprecated: Use BuildMetrics.ProtoReflect.Descriptor instead.
func (*BuildMetrics) GetBuildId ¶
func (x *BuildMetrics) GetBuildId() string
func (*BuildMetrics) GetCacheRatio ¶
func (x *BuildMetrics) GetCacheRatio() float32
func (*BuildMetrics) GetCachedCommands ¶
func (x *BuildMetrics) GetCachedCommands() int32
func (*BuildMetrics) GetCanonicalTargetName ¶
func (x *BuildMetrics) GetCanonicalTargetName() string
func (*BuildMetrics) GetCreatedAt ¶
func (x *BuildMetrics) GetCreatedAt() *timestamppb.Timestamp
func (*BuildMetrics) GetOrgId ¶
func (x *BuildMetrics) GetOrgId() string
func (*BuildMetrics) GetStatus ¶
func (x *BuildMetrics) GetStatus() RunStatus
func (*BuildMetrics) GetTotalCommands ¶
func (x *BuildMetrics) GetTotalCommands() int32
func (*BuildMetrics) GetTotalTargets ¶
func (x *BuildMetrics) GetTotalTargets() int32
func (*BuildMetrics) GetTotalTimeSecs ¶
func (x *BuildMetrics) GetTotalTimeSecs() int32
func (*BuildMetrics) ProtoMessage ¶
func (*BuildMetrics) ProtoMessage()
func (*BuildMetrics) ProtoReflect ¶
func (x *BuildMetrics) ProtoReflect() protoreflect.Message
func (*BuildMetrics) Reset ¶
func (x *BuildMetrics) Reset()
func (*BuildMetrics) String ¶
func (x *BuildMetrics) String() string
type CommandManifest ¶
type CommandManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target_id is the ID of the target this command is part of // (may be empty for commands that are not part of a target) TargetId string `protobuf:"bytes,12,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // category is a grouping separate from target. This is used for things // like "context", "output", or Dockerfile stages, which would // not be part of an Earthly target. Category string `protobuf:"bytes,14,opt,name=category,proto3" json:"category,omitempty"` Platform string `protobuf:"bytes,13,opt,name=platform,proto3" json:"platform,omitempty"` Status RunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` IsCached bool `protobuf:"varint,3,opt,name=is_cached,json=isCached,proto3" json:"is_cached,omitempty"` IsLocal bool `protobuf:"varint,5,opt,name=is_local,json=isLocal,proto3" json:"is_local,omitempty"` IsInteractive bool `protobuf:"varint,15,opt,name=is_interactive,json=isInteractive,proto3" json:"is_interactive,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,6,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,7,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` HasProgress bool `protobuf:"varint,8,opt,name=has_progress,json=hasProgress,proto3" json:"has_progress,omitempty"` Progress int32 `protobuf:"varint,9,opt,name=progress,proto3" json:"progress,omitempty"` // error_message is a string representation of an error related to this command. // The presence of an error here might not mean that the command has failed, // if the error is transient. ErrorMessage string `protobuf:"bytes,10,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` SourceLocation *SourceLocation `protobuf:"bytes,11,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` // depends_on contains any targets that have been referenced by this command // and the target name they were referenced with. DependsOn []*CommandTarget `protobuf:"bytes,16,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
func (*CommandManifest) Descriptor
deprecated
func (*CommandManifest) Descriptor() ([]byte, []int)
Deprecated: Use CommandManifest.ProtoReflect.Descriptor instead.
func (*CommandManifest) GetCategory ¶
func (x *CommandManifest) GetCategory() string
func (*CommandManifest) GetDependsOn ¶
func (x *CommandManifest) GetDependsOn() []*CommandTarget
func (*CommandManifest) GetEndedAtUnixNanos ¶
func (x *CommandManifest) GetEndedAtUnixNanos() uint64
func (*CommandManifest) GetErrorMessage ¶
func (x *CommandManifest) GetErrorMessage() string
func (*CommandManifest) GetHasProgress ¶
func (x *CommandManifest) GetHasProgress() bool
func (*CommandManifest) GetIsCached ¶
func (x *CommandManifest) GetIsCached() bool
func (*CommandManifest) GetIsInteractive ¶
func (x *CommandManifest) GetIsInteractive() bool
func (*CommandManifest) GetIsLocal ¶
func (x *CommandManifest) GetIsLocal() bool
func (*CommandManifest) GetName ¶
func (x *CommandManifest) GetName() string
func (*CommandManifest) GetPlatform ¶
func (x *CommandManifest) GetPlatform() string
func (*CommandManifest) GetProgress ¶
func (x *CommandManifest) GetProgress() int32
func (*CommandManifest) GetSourceLocation ¶
func (x *CommandManifest) GetSourceLocation() *SourceLocation
func (*CommandManifest) GetStartedAtUnixNanos ¶
func (x *CommandManifest) GetStartedAtUnixNanos() uint64
func (*CommandManifest) GetStatus ¶
func (x *CommandManifest) GetStatus() RunStatus
func (*CommandManifest) GetTargetId ¶
func (x *CommandManifest) GetTargetId() string
func (*CommandManifest) ProtoMessage ¶
func (*CommandManifest) ProtoMessage()
func (*CommandManifest) ProtoReflect ¶
func (x *CommandManifest) ProtoReflect() protoreflect.Message
func (*CommandManifest) Reset ¶
func (x *CommandManifest) Reset()
func (*CommandManifest) String ¶
func (x *CommandManifest) String() string
type CommandTarget ¶
type CommandTarget struct { TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` ReferencedName string `protobuf:"bytes,2,opt,name=referenced_name,json=referencedName,proto3" json:"referenced_name,omitempty"` // contains filtered or unexported fields }
func (*CommandTarget) Descriptor
deprecated
func (*CommandTarget) Descriptor() ([]byte, []int)
Deprecated: Use CommandTarget.ProtoReflect.Descriptor instead.
func (*CommandTarget) GetReferencedName ¶
func (x *CommandTarget) GetReferencedName() string
func (*CommandTarget) GetTargetId ¶
func (x *CommandTarget) GetTargetId() string
func (*CommandTarget) ProtoMessage ¶
func (*CommandTarget) ProtoMessage()
func (*CommandTarget) ProtoReflect ¶
func (x *CommandTarget) ProtoReflect() protoreflect.Message
func (*CommandTarget) Reset ¶
func (x *CommandTarget) Reset()
func (*CommandTarget) String ¶
func (x *CommandTarget) String() string
type Delta ¶
type Delta struct { Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Types that are assignable to DeltaTypeOneof: // // *Delta_DeltaManifest // *Delta_DeltaLog // *Delta_DeltaFormattedLog DeltaTypeOneof isDelta_DeltaTypeOneof `protobuf_oneof:"delta_type_oneof"` // contains filtered or unexported fields }
func (*Delta) Descriptor
deprecated
func (*Delta) GetDeltaFormattedLog ¶
func (x *Delta) GetDeltaFormattedLog() *DeltaFormattedLog
func (*Delta) GetDeltaLog ¶
func (*Delta) GetDeltaManifest ¶
func (x *Delta) GetDeltaManifest() *DeltaManifest
func (*Delta) GetDeltaTypeOneof ¶
func (m *Delta) GetDeltaTypeOneof() isDelta_DeltaTypeOneof
func (*Delta) GetVersion ¶
func (*Delta) ProtoMessage ¶
func (*Delta) ProtoMessage()
func (*Delta) ProtoReflect ¶
func (x *Delta) ProtoReflect() protoreflect.Message
type DeltaCommandManifest ¶
type DeltaCommandManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TargetId string `protobuf:"bytes,17,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` Category string `protobuf:"bytes,19,opt,name=category,proto3" json:"category,omitempty"` Platform string `protobuf:"bytes,18,opt,name=platform,proto3" json:"platform,omitempty"` Status RunStatus `protobuf:"varint,2,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` HasCached bool `protobuf:"varint,3,opt,name=has_cached,json=hasCached,proto3" json:"has_cached,omitempty"` IsCached bool `protobuf:"varint,4,opt,name=is_cached,json=isCached,proto3" json:"is_cached,omitempty"` HasLocal bool `protobuf:"varint,7,opt,name=has_local,json=hasLocal,proto3" json:"has_local,omitempty"` IsLocal bool `protobuf:"varint,8,opt,name=is_local,json=isLocal,proto3" json:"is_local,omitempty"` HasInteractive bool `protobuf:"varint,20,opt,name=has_interactive,json=hasInteractive,proto3" json:"has_interactive,omitempty"` IsInteractive bool `protobuf:"varint,21,opt,name=is_interactive,json=isInteractive,proto3" json:"is_interactive,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,9,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,10,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` HasHasProgress bool `protobuf:"varint,11,opt,name=has_has_progress,json=hasHasProgress,proto3" json:"has_has_progress,omitempty"` HasProgress bool `protobuf:"varint,12,opt,name=has_progress,json=hasProgress,proto3" json:"has_progress,omitempty"` Progress int32 `protobuf:"varint,13,opt,name=progress,proto3" json:"progress,omitempty"` ErrorMessage string `protobuf:"bytes,14,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` HasSourceLocation bool `protobuf:"varint,16,opt,name=has_source_location,json=hasSourceLocation,proto3" json:"has_source_location,omitempty"` SourceLocation *SourceLocation `protobuf:"bytes,15,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` DependsOn []*CommandTarget `protobuf:"bytes,22,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
func (*DeltaCommandManifest) Descriptor
deprecated
func (*DeltaCommandManifest) Descriptor() ([]byte, []int)
Deprecated: Use DeltaCommandManifest.ProtoReflect.Descriptor instead.
func (*DeltaCommandManifest) GetCategory ¶
func (x *DeltaCommandManifest) GetCategory() string
func (*DeltaCommandManifest) GetDependsOn ¶
func (x *DeltaCommandManifest) GetDependsOn() []*CommandTarget
func (*DeltaCommandManifest) GetEndedAtUnixNanos ¶
func (x *DeltaCommandManifest) GetEndedAtUnixNanos() uint64
func (*DeltaCommandManifest) GetErrorMessage ¶
func (x *DeltaCommandManifest) GetErrorMessage() string
func (*DeltaCommandManifest) GetHasCached ¶
func (x *DeltaCommandManifest) GetHasCached() bool
func (*DeltaCommandManifest) GetHasHasProgress ¶
func (x *DeltaCommandManifest) GetHasHasProgress() bool
func (*DeltaCommandManifest) GetHasInteractive ¶
func (x *DeltaCommandManifest) GetHasInteractive() bool
func (*DeltaCommandManifest) GetHasLocal ¶
func (x *DeltaCommandManifest) GetHasLocal() bool
func (*DeltaCommandManifest) GetHasProgress ¶
func (x *DeltaCommandManifest) GetHasProgress() bool
func (*DeltaCommandManifest) GetHasSourceLocation ¶
func (x *DeltaCommandManifest) GetHasSourceLocation() bool
func (*DeltaCommandManifest) GetIsCached ¶
func (x *DeltaCommandManifest) GetIsCached() bool
func (*DeltaCommandManifest) GetIsInteractive ¶
func (x *DeltaCommandManifest) GetIsInteractive() bool
func (*DeltaCommandManifest) GetIsLocal ¶
func (x *DeltaCommandManifest) GetIsLocal() bool
func (*DeltaCommandManifest) GetName ¶
func (x *DeltaCommandManifest) GetName() string
func (*DeltaCommandManifest) GetPlatform ¶
func (x *DeltaCommandManifest) GetPlatform() string
func (*DeltaCommandManifest) GetProgress ¶
func (x *DeltaCommandManifest) GetProgress() int32
func (*DeltaCommandManifest) GetSourceLocation ¶
func (x *DeltaCommandManifest) GetSourceLocation() *SourceLocation
func (*DeltaCommandManifest) GetStartedAtUnixNanos ¶
func (x *DeltaCommandManifest) GetStartedAtUnixNanos() uint64
func (*DeltaCommandManifest) GetStatus ¶
func (x *DeltaCommandManifest) GetStatus() RunStatus
func (*DeltaCommandManifest) GetTargetId ¶
func (x *DeltaCommandManifest) GetTargetId() string
func (*DeltaCommandManifest) ProtoMessage ¶
func (*DeltaCommandManifest) ProtoMessage()
func (*DeltaCommandManifest) ProtoReflect ¶
func (x *DeltaCommandManifest) ProtoReflect() protoreflect.Message
func (*DeltaCommandManifest) Reset ¶
func (x *DeltaCommandManifest) Reset()
func (*DeltaCommandManifest) String ¶
func (x *DeltaCommandManifest) String() string
type DeltaFormattedLog ¶
type DeltaFormattedLog struct { // target_id is the target the command belongs to, if any. A special // target_id "_full" will contain the exact output of the entire build. TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` TimestampUnixNanos uint64 `protobuf:"varint,2,opt,name=timestamp_unix_nanos,json=timestampUnixNanos,proto3" json:"timestamp_unix_nanos,omitempty"` // data is the formatted log data, with all the appropriate formatting // information embedded, including target prefixes, ansi escape codes for // colors, etc. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` CommandId string `protobuf:"bytes,4,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` // contains filtered or unexported fields }
func (*DeltaFormattedLog) Descriptor
deprecated
func (*DeltaFormattedLog) Descriptor() ([]byte, []int)
Deprecated: Use DeltaFormattedLog.ProtoReflect.Descriptor instead.
func (*DeltaFormattedLog) GetCommandId ¶
func (x *DeltaFormattedLog) GetCommandId() string
func (*DeltaFormattedLog) GetData ¶
func (x *DeltaFormattedLog) GetData() []byte
func (*DeltaFormattedLog) GetTargetId ¶
func (x *DeltaFormattedLog) GetTargetId() string
func (*DeltaFormattedLog) GetTimestampUnixNanos ¶
func (x *DeltaFormattedLog) GetTimestampUnixNanos() uint64
func (*DeltaFormattedLog) ProtoMessage ¶
func (*DeltaFormattedLog) ProtoMessage()
func (*DeltaFormattedLog) ProtoReflect ¶
func (x *DeltaFormattedLog) ProtoReflect() protoreflect.Message
func (*DeltaFormattedLog) Reset ¶
func (x *DeltaFormattedLog) Reset()
func (*DeltaFormattedLog) String ¶
func (x *DeltaFormattedLog) String() string
type DeltaLog ¶
type DeltaLog struct { // target_id is the target the command belongs to, if any. TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` // command_id is the identifier of the command that generated the // log data. CommandId string `protobuf:"bytes,2,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` Stream int32 `protobuf:"varint,3,opt,name=stream,proto3" json:"stream,omitempty"` // stdout or stderr TimestampUnixNanos uint64 `protobuf:"varint,4,opt,name=timestamp_unix_nanos,json=timestampUnixNanos,proto3" json:"timestamp_unix_nanos,omitempty"` // data is the raw log data, as generated by the command. No formatting is // added on top (no ansii color codes, no target prefixes, etc). Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeltaLog) Descriptor
deprecated
func (*DeltaLog) GetCommandId ¶
func (*DeltaLog) GetTargetId ¶
func (*DeltaLog) GetTimestampUnixNanos ¶
func (*DeltaLog) ProtoMessage ¶
func (*DeltaLog) ProtoMessage()
func (*DeltaLog) ProtoReflect ¶
func (x *DeltaLog) ProtoReflect() protoreflect.Message
type DeltaManifest ¶
type DeltaManifest struct { // Types that are assignable to DeltaManifestOneof: // // *DeltaManifest_ResetAll // *DeltaManifest_Fields // *DeltaManifest_Resume DeltaManifestOneof isDeltaManifest_DeltaManifestOneof `protobuf_oneof:"delta_manifest_oneof"` // contains filtered or unexported fields }
func (*DeltaManifest) Descriptor
deprecated
func (*DeltaManifest) Descriptor() ([]byte, []int)
Deprecated: Use DeltaManifest.ProtoReflect.Descriptor instead.
func (*DeltaManifest) GetDeltaManifestOneof ¶
func (m *DeltaManifest) GetDeltaManifestOneof() isDeltaManifest_DeltaManifestOneof
func (*DeltaManifest) GetFields ¶
func (x *DeltaManifest) GetFields() *DeltaManifest_FieldsDelta
func (*DeltaManifest) GetResetAll ¶
func (x *DeltaManifest) GetResetAll() *RunManifest
func (*DeltaManifest) GetResume ¶
func (x *DeltaManifest) GetResume() *DeltaManifest_ResumeBuild
func (*DeltaManifest) ProtoMessage ¶
func (*DeltaManifest) ProtoMessage()
func (*DeltaManifest) ProtoReflect ¶
func (x *DeltaManifest) ProtoReflect() protoreflect.Message
func (*DeltaManifest) Reset ¶
func (x *DeltaManifest) Reset()
func (*DeltaManifest) String ¶
func (x *DeltaManifest) String() string
type DeltaManifest_Fields ¶
type DeltaManifest_Fields struct {
Fields *DeltaManifest_FieldsDelta `protobuf:"bytes,2,opt,name=fields,proto3,oneof"`
}
type DeltaManifest_FieldsDelta ¶
type DeltaManifest_FieldsDelta struct { MainTargetId string `protobuf:"bytes,8,opt,name=main_target_id,json=mainTargetId,proto3" json:"main_target_id,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,1,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,2,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` Status RunStatus `protobuf:"varint,3,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` HasFailure bool `protobuf:"varint,6,opt,name=has_failure,json=hasFailure,proto3" json:"has_failure,omitempty"` Failure *Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` Targets map[string]*DeltaTargetManifest `` /* 155-byte string literal not displayed */ Commands map[string]*DeltaCommandManifest `` /* 157-byte string literal not displayed */ IsCi bool `protobuf:"varint,9,opt,name=is_ci,json=isCi,proto3" json:"is_ci,omitempty"` GitAuthor string `protobuf:"bytes,10,opt,name=git_author,json=gitAuthor,proto3" json:"git_author,omitempty"` GitConfigEmail string `protobuf:"bytes,11,opt,name=git_config_email,json=gitConfigEmail,proto3" json:"git_config_email,omitempty"` // contains filtered or unexported fields }
func (*DeltaManifest_FieldsDelta) Descriptor
deprecated
func (*DeltaManifest_FieldsDelta) Descriptor() ([]byte, []int)
Deprecated: Use DeltaManifest_FieldsDelta.ProtoReflect.Descriptor instead.
func (*DeltaManifest_FieldsDelta) GetCommands ¶
func (x *DeltaManifest_FieldsDelta) GetCommands() map[string]*DeltaCommandManifest
func (*DeltaManifest_FieldsDelta) GetEndedAtUnixNanos ¶
func (x *DeltaManifest_FieldsDelta) GetEndedAtUnixNanos() uint64
func (*DeltaManifest_FieldsDelta) GetFailure ¶
func (x *DeltaManifest_FieldsDelta) GetFailure() *Failure
func (*DeltaManifest_FieldsDelta) GetGitAuthor ¶
func (x *DeltaManifest_FieldsDelta) GetGitAuthor() string
func (*DeltaManifest_FieldsDelta) GetGitConfigEmail ¶
func (x *DeltaManifest_FieldsDelta) GetGitConfigEmail() string
func (*DeltaManifest_FieldsDelta) GetHasFailure ¶
func (x *DeltaManifest_FieldsDelta) GetHasFailure() bool
func (*DeltaManifest_FieldsDelta) GetIsCi ¶
func (x *DeltaManifest_FieldsDelta) GetIsCi() bool
func (*DeltaManifest_FieldsDelta) GetMainTargetId ¶
func (x *DeltaManifest_FieldsDelta) GetMainTargetId() string
func (*DeltaManifest_FieldsDelta) GetStartedAtUnixNanos ¶
func (x *DeltaManifest_FieldsDelta) GetStartedAtUnixNanos() uint64
func (*DeltaManifest_FieldsDelta) GetStatus ¶
func (x *DeltaManifest_FieldsDelta) GetStatus() RunStatus
func (*DeltaManifest_FieldsDelta) GetTargets ¶
func (x *DeltaManifest_FieldsDelta) GetTargets() map[string]*DeltaTargetManifest
func (*DeltaManifest_FieldsDelta) ProtoMessage ¶
func (*DeltaManifest_FieldsDelta) ProtoMessage()
func (*DeltaManifest_FieldsDelta) ProtoReflect ¶
func (x *DeltaManifest_FieldsDelta) ProtoReflect() protoreflect.Message
func (*DeltaManifest_FieldsDelta) Reset ¶
func (x *DeltaManifest_FieldsDelta) Reset()
func (*DeltaManifest_FieldsDelta) String ¶
func (x *DeltaManifest_FieldsDelta) String() string
type DeltaManifest_ResetAll ¶
type DeltaManifest_ResetAll struct {
ResetAll *RunManifest `protobuf:"bytes,1,opt,name=reset_all,json=resetAll,proto3,oneof"`
}
type DeltaManifest_Resume ¶
type DeltaManifest_Resume struct {
Resume *DeltaManifest_ResumeBuild `protobuf:"bytes,3,opt,name=resume,proto3,oneof"`
}
type DeltaManifest_ResumeBuild ¶
type DeltaManifest_ResumeBuild struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` OrgName string `protobuf:"bytes,3,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` ProjectName string `protobuf:"bytes,4,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // contains filtered or unexported fields }
func (*DeltaManifest_ResumeBuild) Descriptor
deprecated
func (*DeltaManifest_ResumeBuild) Descriptor() ([]byte, []int)
Deprecated: Use DeltaManifest_ResumeBuild.ProtoReflect.Descriptor instead.
func (*DeltaManifest_ResumeBuild) GetBuildId ¶
func (x *DeltaManifest_ResumeBuild) GetBuildId() string
func (*DeltaManifest_ResumeBuild) GetOrgName ¶
func (x *DeltaManifest_ResumeBuild) GetOrgName() string
func (*DeltaManifest_ResumeBuild) GetProjectName ¶
func (x *DeltaManifest_ResumeBuild) GetProjectName() string
func (*DeltaManifest_ResumeBuild) GetToken ¶
func (x *DeltaManifest_ResumeBuild) GetToken() string
func (*DeltaManifest_ResumeBuild) ProtoMessage ¶
func (*DeltaManifest_ResumeBuild) ProtoMessage()
func (*DeltaManifest_ResumeBuild) ProtoReflect ¶
func (x *DeltaManifest_ResumeBuild) ProtoReflect() protoreflect.Message
func (*DeltaManifest_ResumeBuild) Reset ¶
func (x *DeltaManifest_ResumeBuild) Reset()
func (*DeltaManifest_ResumeBuild) String ¶
func (x *DeltaManifest_ResumeBuild) String() string
type DeltaTargetManifest ¶
type DeltaTargetManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CanonicalName string `protobuf:"bytes,2,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"` GitUrl string `protobuf:"bytes,10,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"` LocalPath string `protobuf:"bytes,11,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"` Tag string `protobuf:"bytes,12,opt,name=tag,proto3" json:"tag,omitempty"` ImportRef string `protobuf:"bytes,13,opt,name=import_ref,json=importRef,proto3" json:"import_ref,omitempty"` OverrideArgs []string `protobuf:"bytes,3,rep,name=override_args,json=overrideArgs,proto3" json:"override_args,omitempty"` InitialPlatform string `protobuf:"bytes,4,opt,name=initial_platform,json=initialPlatform,proto3" json:"initial_platform,omitempty"` FinalPlatform string `protobuf:"bytes,8,opt,name=final_platform,json=finalPlatform,proto3" json:"final_platform,omitempty"` Runner string `protobuf:"bytes,9,opt,name=runner,proto3" json:"runner,omitempty"` Status RunStatus `protobuf:"varint,5,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,6,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,7,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` DependsOn []string `protobuf:"bytes,14,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
func (*DeltaTargetManifest) Descriptor
deprecated
func (*DeltaTargetManifest) Descriptor() ([]byte, []int)
Deprecated: Use DeltaTargetManifest.ProtoReflect.Descriptor instead.
func (*DeltaTargetManifest) GetCanonicalName ¶
func (x *DeltaTargetManifest) GetCanonicalName() string
func (*DeltaTargetManifest) GetDependsOn ¶
func (x *DeltaTargetManifest) GetDependsOn() []string
func (*DeltaTargetManifest) GetEndedAtUnixNanos ¶
func (x *DeltaTargetManifest) GetEndedAtUnixNanos() uint64
func (*DeltaTargetManifest) GetFinalPlatform ¶
func (x *DeltaTargetManifest) GetFinalPlatform() string
func (*DeltaTargetManifest) GetGitUrl ¶
func (x *DeltaTargetManifest) GetGitUrl() string
func (*DeltaTargetManifest) GetImportRef ¶
func (x *DeltaTargetManifest) GetImportRef() string
func (*DeltaTargetManifest) GetInitialPlatform ¶
func (x *DeltaTargetManifest) GetInitialPlatform() string
func (*DeltaTargetManifest) GetLocalPath ¶
func (x *DeltaTargetManifest) GetLocalPath() string
func (*DeltaTargetManifest) GetName ¶
func (x *DeltaTargetManifest) GetName() string
func (*DeltaTargetManifest) GetOverrideArgs ¶
func (x *DeltaTargetManifest) GetOverrideArgs() []string
func (*DeltaTargetManifest) GetRunner ¶
func (x *DeltaTargetManifest) GetRunner() string
func (*DeltaTargetManifest) GetStartedAtUnixNanos ¶
func (x *DeltaTargetManifest) GetStartedAtUnixNanos() uint64
func (*DeltaTargetManifest) GetStatus ¶
func (x *DeltaTargetManifest) GetStatus() RunStatus
func (*DeltaTargetManifest) GetTag ¶
func (x *DeltaTargetManifest) GetTag() string
func (*DeltaTargetManifest) ProtoMessage ¶
func (*DeltaTargetManifest) ProtoMessage()
func (*DeltaTargetManifest) ProtoReflect ¶
func (x *DeltaTargetManifest) ProtoReflect() protoreflect.Message
func (*DeltaTargetManifest) Reset ¶
func (x *DeltaTargetManifest) Reset()
func (*DeltaTargetManifest) String ¶
func (x *DeltaTargetManifest) String() string
type Delta_DeltaFormattedLog ¶
type Delta_DeltaFormattedLog struct { // delta_formatted_log is a piece of a log stream of bytes, with // all the appropriate formatting information embedded, including // target prefixes, ansi escape codes for colors, etc. This data is // broken down by targets, plus a special target_id "_full" will // contain the exact output of the entire build. DeltaFormattedLog *DeltaFormattedLog `protobuf:"bytes,4,opt,name=delta_formatted_log,json=deltaFormattedLog,proto3,oneof"` }
type Delta_DeltaLog ¶
type Delta_DeltaLog struct { // delta_log is a piece of a log stream of bytes, for a specific // command as part of the build. No presentation layer information // is embedded in this stream. The log information is the raw // output of the commands passed directly, without any changes. DeltaLog *DeltaLog `protobuf:"bytes,3,opt,name=delta_log,json=deltaLog,proto3,oneof"` }
type Delta_DeltaManifest ¶
type Delta_DeltaManifest struct { // delta_manifest represents a change to the run manifest. DeltaManifest *DeltaManifest `protobuf:"bytes,2,opt,name=delta_manifest,json=deltaManifest,proto3,oneof"` }
type Failure ¶
type Failure struct { Type FailureType `protobuf:"varint,1,opt,name=type,proto3,enum=api.public.logstream.FailureType" json:"type,omitempty"` TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"` CommandId string `protobuf:"bytes,3,opt,name=command_id,json=commandId,proto3" json:"command_id,omitempty"` ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Output []byte `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"` HelpMessage string `protobuf:"bytes,6,opt,name=help_message,json=helpMessage,proto3" json:"help_message,omitempty"` // contains filtered or unexported fields }
func (*Failure) Descriptor
deprecated
func (*Failure) GetCommandId ¶
func (*Failure) GetErrorMessage ¶
func (*Failure) GetHelpMessage ¶
func (*Failure) GetTargetId ¶
func (*Failure) GetType ¶
func (x *Failure) GetType() FailureType
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) ProtoReflect ¶
func (x *Failure) ProtoReflect() protoreflect.Message
type FailureType ¶
type FailureType int32
const ( FailureType_FAILURE_TYPE_UNKNOWN FailureType = 0 FailureType_FAILURE_TYPE_OTHER FailureType = 1 FailureType_FAILURE_TYPE_NONZERO_EXIT FailureType = 2 FailureType_FAILURE_TYPE_FILE_NOT_FOUND FailureType = 3 FailureType_FAILURE_TYPE_SYNTAX FailureType = 4 FailureType_FAILURE_TYPE_OOM_KILLED FailureType = 5 FailureType_FAILURE_TYPE_BUILDKIT_CRASHED FailureType = 6 FailureType_FAILURE_TYPE_CONNECTION_FAILURE FailureType = 7 FailureType_FAILURE_TYPE_NEEDS_PRIVILEGED FailureType = 8 FailureType_FAILURE_TYPE_GIT FailureType = 9 FailureType_FAILURE_TYPE_RATE_LIMITED FailureType = 10 FailureType_FAILURE_TYPE_INVALID_PARAM FailureType = 11 FailureType_FAILURE_TYPE_AUTO_SKIP FailureType = 12 )
func (FailureType) Descriptor ¶
func (FailureType) Descriptor() protoreflect.EnumDescriptor
func (FailureType) Enum ¶
func (x FailureType) Enum() *FailureType
func (FailureType) EnumDescriptor
deprecated
func (FailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FailureType.Descriptor instead.
func (FailureType) Number ¶
func (x FailureType) Number() protoreflect.EnumNumber
func (FailureType) String ¶
func (x FailureType) String() string
func (FailureType) Type ¶
func (FailureType) Type() protoreflect.EnumType
type FormattedLogList ¶
type FormattedLogList struct { Logs []*DeltaFormattedLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
How the logs are represented in longterm storage
func (*FormattedLogList) Descriptor
deprecated
func (*FormattedLogList) Descriptor() ([]byte, []int)
Deprecated: Use FormattedLogList.ProtoReflect.Descriptor instead.
func (*FormattedLogList) GetLogs ¶
func (x *FormattedLogList) GetLogs() []*DeltaFormattedLog
func (*FormattedLogList) ProtoMessage ¶
func (*FormattedLogList) ProtoMessage()
func (*FormattedLogList) ProtoReflect ¶
func (x *FormattedLogList) ProtoReflect() protoreflect.Message
func (*FormattedLogList) Reset ¶
func (x *FormattedLogList) Reset()
func (*FormattedLogList) String ¶
func (x *FormattedLogList) String() string
type GetFirebaseAuthTokenRequest ¶
type GetFirebaseAuthTokenRequest struct { // build_id is the id of the build the token is attempting to access. // If the build is public the corresponding token will have access to the build. // If the build is not public the token will not have access to the build. BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*GetFirebaseAuthTokenRequest) Descriptor
deprecated
func (*GetFirebaseAuthTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFirebaseAuthTokenRequest.ProtoReflect.Descriptor instead.
func (*GetFirebaseAuthTokenRequest) GetBuildId ¶
func (x *GetFirebaseAuthTokenRequest) GetBuildId() string
func (*GetFirebaseAuthTokenRequest) ProtoMessage ¶
func (*GetFirebaseAuthTokenRequest) ProtoMessage()
func (*GetFirebaseAuthTokenRequest) ProtoReflect ¶
func (x *GetFirebaseAuthTokenRequest) ProtoReflect() protoreflect.Message
func (*GetFirebaseAuthTokenRequest) Reset ¶
func (x *GetFirebaseAuthTokenRequest) Reset()
func (*GetFirebaseAuthTokenRequest) String ¶
func (x *GetFirebaseAuthTokenRequest) String() string
type GetFirebaseAuthTokenResponse ¶
type GetFirebaseAuthTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetFirebaseAuthTokenResponse) Descriptor
deprecated
func (*GetFirebaseAuthTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFirebaseAuthTokenResponse.ProtoReflect.Descriptor instead.
func (*GetFirebaseAuthTokenResponse) GetToken ¶
func (x *GetFirebaseAuthTokenResponse) GetToken() string
func (*GetFirebaseAuthTokenResponse) ProtoMessage ¶
func (*GetFirebaseAuthTokenResponse) ProtoMessage()
func (*GetFirebaseAuthTokenResponse) ProtoReflect ¶
func (x *GetFirebaseAuthTokenResponse) ProtoReflect() protoreflect.Message
func (*GetFirebaseAuthTokenResponse) Reset ¶
func (x *GetFirebaseAuthTokenResponse) Reset()
func (*GetFirebaseAuthTokenResponse) String ¶
func (x *GetFirebaseAuthTokenResponse) String() string
type GetLogMetadataRequest ¶
type GetLogMetadataRequest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*GetLogMetadataRequest) Descriptor
deprecated
func (*GetLogMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetLogMetadataRequest) GetBuildId ¶
func (x *GetLogMetadataRequest) GetBuildId() string
func (*GetLogMetadataRequest) ProtoMessage ¶
func (*GetLogMetadataRequest) ProtoMessage()
func (*GetLogMetadataRequest) ProtoReflect ¶
func (x *GetLogMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetLogMetadataRequest) Reset ¶
func (x *GetLogMetadataRequest) Reset()
func (*GetLogMetadataRequest) String ¶
func (x *GetLogMetadataRequest) String() string
type GetLogMetadataResponse ¶
type GetLogMetadataResponse struct { Metadata *LogMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GetLogMetadataResponse) Descriptor
deprecated
func (*GetLogMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetLogMetadataResponse) GetMetadata ¶
func (x *GetLogMetadataResponse) GetMetadata() *LogMetadata
func (*GetLogMetadataResponse) ProtoMessage ¶
func (*GetLogMetadataResponse) ProtoMessage()
func (*GetLogMetadataResponse) ProtoReflect ¶
func (x *GetLogMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetLogMetadataResponse) Reset ¶
func (x *GetLogMetadataResponse) Reset()
func (*GetLogMetadataResponse) String ¶
func (x *GetLogMetadataResponse) String() string
type GetLogsRequest ¶
type GetLogsRequest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*GetLogsRequest) Descriptor
deprecated
func (*GetLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsRequest.ProtoReflect.Descriptor instead.
func (*GetLogsRequest) GetBuildId ¶
func (x *GetLogsRequest) GetBuildId() string
func (*GetLogsRequest) ProtoMessage ¶
func (*GetLogsRequest) ProtoMessage()
func (*GetLogsRequest) ProtoReflect ¶
func (x *GetLogsRequest) ProtoReflect() protoreflect.Message
func (*GetLogsRequest) Reset ¶
func (x *GetLogsRequest) Reset()
func (*GetLogsRequest) String ¶
func (x *GetLogsRequest) String() string
type GetLogsResponse ¶
type GetLogsResponse struct { // Types that are assignable to Result: // // *GetLogsResponse_Manifest // *GetLogsResponse_Logs Result isGetLogsResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*GetLogsResponse) Descriptor
deprecated
func (*GetLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogsResponse.ProtoReflect.Descriptor instead.
func (*GetLogsResponse) GetLogs ¶
func (x *GetLogsResponse) GetLogs() *FormattedLogList
func (*GetLogsResponse) GetManifest ¶
func (x *GetLogsResponse) GetManifest() *RunManifest
func (*GetLogsResponse) GetResult ¶
func (m *GetLogsResponse) GetResult() isGetLogsResponse_Result
func (*GetLogsResponse) ProtoMessage ¶
func (*GetLogsResponse) ProtoMessage()
func (*GetLogsResponse) ProtoReflect ¶
func (x *GetLogsResponse) ProtoReflect() protoreflect.Message
func (*GetLogsResponse) Reset ¶
func (x *GetLogsResponse) Reset()
func (*GetLogsResponse) String ¶
func (x *GetLogsResponse) String() string
type GetLogsResponse_Logs ¶
type GetLogsResponse_Logs struct {
Logs *FormattedLogList `protobuf:"bytes,2,opt,name=logs,proto3,oneof"`
}
type GetLogsResponse_Manifest ¶
type GetLogsResponse_Manifest struct {
Manifest *RunManifest `protobuf:"bytes,1,opt,name=manifest,proto3,oneof"`
}
type GetLongTermRequest ¶
type GetLongTermRequest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*GetLongTermRequest) Descriptor
deprecated
func (*GetLongTermRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLongTermRequest.ProtoReflect.Descriptor instead.
func (*GetLongTermRequest) GetBuildId ¶
func (x *GetLongTermRequest) GetBuildId() string
func (*GetLongTermRequest) ProtoMessage ¶
func (*GetLongTermRequest) ProtoMessage()
func (*GetLongTermRequest) ProtoReflect ¶
func (x *GetLongTermRequest) ProtoReflect() protoreflect.Message
func (*GetLongTermRequest) Reset ¶
func (x *GetLongTermRequest) Reset()
func (*GetLongTermRequest) String ¶
func (x *GetLongTermRequest) String() string
type GetLongTermResponse ¶
type GetLongTermResponse struct { // Types that are assignable to Result: // // *GetLongTermResponse_Manifest // *GetLongTermResponse_Logs Result isGetLongTermResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*GetLongTermResponse) Descriptor
deprecated
func (*GetLongTermResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLongTermResponse.ProtoReflect.Descriptor instead.
func (*GetLongTermResponse) GetLogs ¶
func (x *GetLongTermResponse) GetLogs() *FormattedLogList
func (*GetLongTermResponse) GetManifest ¶
func (x *GetLongTermResponse) GetManifest() *RunManifest
func (*GetLongTermResponse) GetResult ¶
func (m *GetLongTermResponse) GetResult() isGetLongTermResponse_Result
func (*GetLongTermResponse) ProtoMessage ¶
func (*GetLongTermResponse) ProtoMessage()
func (*GetLongTermResponse) ProtoReflect ¶
func (x *GetLongTermResponse) ProtoReflect() protoreflect.Message
func (*GetLongTermResponse) Reset ¶
func (x *GetLongTermResponse) Reset()
func (*GetLongTermResponse) String ¶
func (x *GetLongTermResponse) String() string
type GetLongTermResponse_Logs ¶
type GetLongTermResponse_Logs struct {
Logs *FormattedLogList `protobuf:"bytes,2,opt,name=logs,proto3,oneof"`
}
type GetLongTermResponse_Manifest ¶
type GetLongTermResponse_Manifest struct {
Manifest *RunManifest `protobuf:"bytes,1,opt,name=manifest,proto3,oneof"`
}
type InitLogsRequest ¶
type InitLogsRequest struct { Manifest *RunManifest `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` FormattedLogs []*DeltaFormattedLog `protobuf:"bytes,2,rep,name=formatted_logs,json=formattedLogs,proto3" json:"formatted_logs,omitempty"` // contains filtered or unexported fields }
func (*InitLogsRequest) Descriptor
deprecated
func (*InitLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitLogsRequest.ProtoReflect.Descriptor instead.
func (*InitLogsRequest) GetFormattedLogs ¶
func (x *InitLogsRequest) GetFormattedLogs() []*DeltaFormattedLog
func (*InitLogsRequest) GetManifest ¶
func (x *InitLogsRequest) GetManifest() *RunManifest
func (*InitLogsRequest) ProtoMessage ¶
func (*InitLogsRequest) ProtoMessage()
func (*InitLogsRequest) ProtoReflect ¶
func (x *InitLogsRequest) ProtoReflect() protoreflect.Message
func (*InitLogsRequest) Reset ¶
func (x *InitLogsRequest) Reset()
func (*InitLogsRequest) String ¶
func (x *InitLogsRequest) String() string
type InitLogsResponse ¶
type InitLogsResponse struct {
// contains filtered or unexported fields
}
func (*InitLogsResponse) Descriptor
deprecated
func (*InitLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitLogsResponse.ProtoReflect.Descriptor instead.
func (*InitLogsResponse) ProtoMessage ¶
func (*InitLogsResponse) ProtoMessage()
func (*InitLogsResponse) ProtoReflect ¶
func (x *InitLogsResponse) ProtoReflect() protoreflect.Message
func (*InitLogsResponse) Reset ¶
func (x *InitLogsResponse) Reset()
func (*InitLogsResponse) String ¶
func (x *InitLogsResponse) String() string
type ListBuildMetricsRequest ¶
type ListBuildMetricsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` CanonicalTargetName string `protobuf:"bytes,2,opt,name=canonical_target_name,json=canonicalTargetName,proto3" json:"canonical_target_name,omitempty"` // contains filtered or unexported fields }
func (*ListBuildMetricsRequest) Descriptor
deprecated
func (*ListBuildMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBuildMetricsRequest.ProtoReflect.Descriptor instead.
func (*ListBuildMetricsRequest) GetCanonicalTargetName ¶
func (x *ListBuildMetricsRequest) GetCanonicalTargetName() string
func (*ListBuildMetricsRequest) GetOrgId ¶
func (x *ListBuildMetricsRequest) GetOrgId() string
func (*ListBuildMetricsRequest) ProtoMessage ¶
func (*ListBuildMetricsRequest) ProtoMessage()
func (*ListBuildMetricsRequest) ProtoReflect ¶
func (x *ListBuildMetricsRequest) ProtoReflect() protoreflect.Message
func (*ListBuildMetricsRequest) Reset ¶
func (x *ListBuildMetricsRequest) Reset()
func (*ListBuildMetricsRequest) String ¶
func (x *ListBuildMetricsRequest) String() string
type ListBuildMetricsResponse ¶
type ListBuildMetricsResponse struct { Metrics []*BuildMetrics `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"` // contains filtered or unexported fields }
func (*ListBuildMetricsResponse) Descriptor
deprecated
func (*ListBuildMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBuildMetricsResponse.ProtoReflect.Descriptor instead.
func (*ListBuildMetricsResponse) GetMetrics ¶
func (x *ListBuildMetricsResponse) GetMetrics() []*BuildMetrics
func (*ListBuildMetricsResponse) ProtoMessage ¶
func (*ListBuildMetricsResponse) ProtoMessage()
func (*ListBuildMetricsResponse) ProtoReflect ¶
func (x *ListBuildMetricsResponse) ProtoReflect() protoreflect.Message
func (*ListBuildMetricsResponse) Reset ¶
func (x *ListBuildMetricsResponse) Reset()
func (*ListBuildMetricsResponse) String ¶
func (x *ListBuildMetricsResponse) String() string
type ListLogMetadataRequest ¶
type ListLogMetadataRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Runner Runner `protobuf:"varint,3,opt,name=runner,proto3,enum=api.public.logstream.Runner" json:"runner,omitempty"` Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` RunnerName string `protobuf:"bytes,6,opt,name=runner_name,json=runnerName,proto3" json:"runner_name,omitempty"` Status RunStatus `protobuf:"varint,7,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` UserId string `protobuf:"bytes,8,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Target string `protobuf:"bytes,9,opt,name=target,proto3" json:"target,omitempty"` ExcludeUserIds []string `protobuf:"bytes,10,rep,name=exclude_user_ids,json=excludeUserIds,proto3" json:"exclude_user_ids,omitempty"` // contains filtered or unexported fields }
func (*ListLogMetadataRequest) Descriptor
deprecated
func (*ListLogMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLogMetadataRequest.ProtoReflect.Descriptor instead.
func (*ListLogMetadataRequest) GetExcludeUserIds ¶
func (x *ListLogMetadataRequest) GetExcludeUserIds() []string
func (*ListLogMetadataRequest) GetLimit ¶
func (x *ListLogMetadataRequest) GetLimit() int32
func (*ListLogMetadataRequest) GetOffset ¶
func (x *ListLogMetadataRequest) GetOffset() int32
func (*ListLogMetadataRequest) GetOrgId ¶
func (x *ListLogMetadataRequest) GetOrgId() string
func (*ListLogMetadataRequest) GetProjectId ¶
func (x *ListLogMetadataRequest) GetProjectId() string
func (*ListLogMetadataRequest) GetRunner ¶
func (x *ListLogMetadataRequest) GetRunner() Runner
func (*ListLogMetadataRequest) GetRunnerName ¶
func (x *ListLogMetadataRequest) GetRunnerName() string
func (*ListLogMetadataRequest) GetStatus ¶
func (x *ListLogMetadataRequest) GetStatus() RunStatus
func (*ListLogMetadataRequest) GetTarget ¶
func (x *ListLogMetadataRequest) GetTarget() string
func (*ListLogMetadataRequest) GetUserId ¶
func (x *ListLogMetadataRequest) GetUserId() string
func (*ListLogMetadataRequest) ProtoMessage ¶
func (*ListLogMetadataRequest) ProtoMessage()
func (*ListLogMetadataRequest) ProtoReflect ¶
func (x *ListLogMetadataRequest) ProtoReflect() protoreflect.Message
func (*ListLogMetadataRequest) Reset ¶
func (x *ListLogMetadataRequest) Reset()
func (*ListLogMetadataRequest) String ¶
func (x *ListLogMetadataRequest) String() string
type ListLogMetadataResponse ¶
type ListLogMetadataResponse struct { TotalResults int32 `protobuf:"varint,1,opt,name=total_results,json=totalResults,proto3" json:"total_results,omitempty"` Metadata []*LogMetadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*ListLogMetadataResponse) Descriptor
deprecated
func (*ListLogMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLogMetadataResponse.ProtoReflect.Descriptor instead.
func (*ListLogMetadataResponse) GetMetadata ¶
func (x *ListLogMetadataResponse) GetMetadata() []*LogMetadata
func (*ListLogMetadataResponse) GetTotalResults ¶
func (x *ListLogMetadataResponse) GetTotalResults() int32
func (*ListLogMetadataResponse) ProtoMessage ¶
func (*ListLogMetadataResponse) ProtoMessage()
func (*ListLogMetadataResponse) ProtoReflect ¶
func (x *ListLogMetadataResponse) ProtoReflect() protoreflect.Message
func (*ListLogMetadataResponse) Reset ¶
func (x *ListLogMetadataResponse) Reset()
func (*ListLogMetadataResponse) String ¶
func (x *ListLogMetadataResponse) String() string
type LogMetadata ¶
type LogMetadata struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Shard string `protobuf:"bytes,5,opt,name=shard,proto3" json:"shard,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Runner Runner `protobuf:"varint,7,opt,name=runner,proto3,enum=api.public.logstream.Runner" json:"runner,omitempty"` RunnerName string `protobuf:"bytes,8,opt,name=runner_name,json=runnerName,proto3" json:"runner_name,omitempty"` Status RunStatus `protobuf:"varint,9,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` EndedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` Target *Target `protobuf:"bytes,11,opt,name=target,proto3" json:"target,omitempty"` IsCi bool `protobuf:"varint,12,opt,name=is_ci,json=isCi,proto3" json:"is_ci,omitempty"` GitAuthor string `protobuf:"bytes,13,opt,name=git_author,json=gitAuthor,proto3" json:"git_author,omitempty"` GitConfigEmail string `protobuf:"bytes,14,opt,name=git_config_email,json=gitConfigEmail,proto3" json:"git_config_email,omitempty"` // contains filtered or unexported fields }
func (*LogMetadata) Descriptor
deprecated
func (*LogMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LogMetadata.ProtoReflect.Descriptor instead.
func (*LogMetadata) GetBuildId ¶
func (x *LogMetadata) GetBuildId() string
func (*LogMetadata) GetCreatedAt ¶
func (x *LogMetadata) GetCreatedAt() *timestamppb.Timestamp
func (*LogMetadata) GetEndedAt ¶
func (x *LogMetadata) GetEndedAt() *timestamppb.Timestamp
func (*LogMetadata) GetGitAuthor ¶
func (x *LogMetadata) GetGitAuthor() string
func (*LogMetadata) GetGitConfigEmail ¶
func (x *LogMetadata) GetGitConfigEmail() string
func (*LogMetadata) GetIsCi ¶
func (x *LogMetadata) GetIsCi() bool
func (*LogMetadata) GetOrgId ¶
func (x *LogMetadata) GetOrgId() string
func (*LogMetadata) GetProjectId ¶
func (x *LogMetadata) GetProjectId() string
func (*LogMetadata) GetRunner ¶
func (x *LogMetadata) GetRunner() Runner
func (*LogMetadata) GetRunnerName ¶
func (x *LogMetadata) GetRunnerName() string
func (*LogMetadata) GetShard ¶
func (x *LogMetadata) GetShard() string
func (*LogMetadata) GetStatus ¶
func (x *LogMetadata) GetStatus() RunStatus
func (*LogMetadata) GetTarget ¶
func (x *LogMetadata) GetTarget() *Target
func (*LogMetadata) GetUserId ¶
func (x *LogMetadata) GetUserId() string
func (*LogMetadata) ProtoMessage ¶
func (*LogMetadata) ProtoMessage()
func (*LogMetadata) ProtoReflect ¶
func (x *LogMetadata) ProtoReflect() protoreflect.Message
func (*LogMetadata) Reset ¶
func (x *LogMetadata) Reset()
func (*LogMetadata) String ¶
func (x *LogMetadata) String() string
type LogStreamClient ¶
type LogStreamClient interface { // StreamLogs streams logs to the server. Stream protocol: // 1. The client opens the channel. // 2. The client sends a ResetFields delta. // 3. Client continues streaming through the rest of the deltas. // 4. The final stream message from the client is an eof=true message. // 5. Server responds with eof_ack=true. // 6. Client closes the channel. (optionally, the client can wait for server_exit_status) // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME StreamLogs(ctx context.Context, opts ...grpc.CallOption) (LogStream_StreamLogsClient, error) GetLogs(ctx context.Context, in *GetLogsRequest, opts ...grpc.CallOption) (LogStream_GetLogsClient, error) GetLogMetadata(ctx context.Context, in *GetLogMetadataRequest, opts ...grpc.CallOption) (*GetLogMetadataResponse, error) ListLogMetadata(ctx context.Context, in *ListLogMetadataRequest, opts ...grpc.CallOption) (*ListLogMetadataResponse, error) // InitLogs can be used to set the status of a build before or after the core // build task is run by the CLI. It's primarily meant to be used by the // initialization process, but can also be used to surface errors that may not // be handled well by the CLI. InitLogs(ctx context.Context, in *InitLogsRequest, opts ...grpc.CallOption) (*InitLogsResponse, error) // GetFirebaseAuthToken returns a token suitable for use with Firebase APIs // The user must already be authenticated. GetFirebaseAuthToken(ctx context.Context, in *GetFirebaseAuthTokenRequest, opts ...grpc.CallOption) (*GetFirebaseAuthTokenResponse, error) LongTermExists(ctx context.Context, in *LongTermExistsRequest, opts ...grpc.CallOption) (*LongTermExistsResponse, error) GetLongTerm(ctx context.Context, in *GetLongTermRequest, opts ...grpc.CallOption) (LogStream_GetLongTermClient, error) ListBuildMetrics(ctx context.Context, in *ListBuildMetricsRequest, opts ...grpc.CallOption) (*ListBuildMetricsResponse, error) }
LogStreamClient is the client API for LogStream 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 NewLogStreamClient ¶
func NewLogStreamClient(cc grpc.ClientConnInterface) LogStreamClient
type LogStreamServer ¶
type LogStreamServer interface { // StreamLogs streams logs to the server. Stream protocol: // 1. The client opens the channel. // 2. The client sends a ResetFields delta. // 3. Client continues streaming through the rest of the deltas. // 4. The final stream message from the client is an eof=true message. // 5. Server responds with eof_ack=true. // 6. Client closes the channel. (optionally, the client can wait for server_exit_status) // buf:lint:ignore RPC_REQUEST_STANDARD_NAME // buf:lint:ignore RPC_RESPONSE_STANDARD_NAME StreamLogs(LogStream_StreamLogsServer) error GetLogs(*GetLogsRequest, LogStream_GetLogsServer) error GetLogMetadata(context.Context, *GetLogMetadataRequest) (*GetLogMetadataResponse, error) ListLogMetadata(context.Context, *ListLogMetadataRequest) (*ListLogMetadataResponse, error) // InitLogs can be used to set the status of a build before or after the core // build task is run by the CLI. It's primarily meant to be used by the // initialization process, but can also be used to surface errors that may not // be handled well by the CLI. InitLogs(context.Context, *InitLogsRequest) (*InitLogsResponse, error) // GetFirebaseAuthToken returns a token suitable for use with Firebase APIs // The user must already be authenticated. GetFirebaseAuthToken(context.Context, *GetFirebaseAuthTokenRequest) (*GetFirebaseAuthTokenResponse, error) LongTermExists(context.Context, *LongTermExistsRequest) (*LongTermExistsResponse, error) GetLongTerm(*GetLongTermRequest, LogStream_GetLongTermServer) error ListBuildMetrics(context.Context, *ListBuildMetricsRequest) (*ListBuildMetricsResponse, error) // contains filtered or unexported methods }
LogStreamServer is the server API for LogStream service. All implementations must embed UnimplementedLogStreamServer for forward compatibility
type LogStream_GetLogsClient ¶
type LogStream_GetLogsClient interface { Recv() (*GetLogsResponse, error) grpc.ClientStream }
type LogStream_GetLogsServer ¶
type LogStream_GetLogsServer interface { Send(*GetLogsResponse) error grpc.ServerStream }
type LogStream_GetLongTermClient ¶
type LogStream_GetLongTermClient interface { Recv() (*GetLongTermResponse, error) grpc.ClientStream }
type LogStream_GetLongTermServer ¶
type LogStream_GetLongTermServer interface { Send(*GetLongTermResponse) error grpc.ServerStream }
type LogStream_StreamLogsClient ¶
type LogStream_StreamLogsClient interface { Send(*StreamLogRequest) error Recv() (*StreamLogResponse, error) grpc.ClientStream }
type LogStream_StreamLogsServer ¶
type LogStream_StreamLogsServer interface { Send(*StreamLogResponse) error Recv() (*StreamLogRequest, error) grpc.ServerStream }
type LongTermExistsRequest ¶
type LongTermExistsRequest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // contains filtered or unexported fields }
func (*LongTermExistsRequest) Descriptor
deprecated
func (*LongTermExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use LongTermExistsRequest.ProtoReflect.Descriptor instead.
func (*LongTermExistsRequest) GetBuildId ¶
func (x *LongTermExistsRequest) GetBuildId() string
func (*LongTermExistsRequest) ProtoMessage ¶
func (*LongTermExistsRequest) ProtoMessage()
func (*LongTermExistsRequest) ProtoReflect ¶
func (x *LongTermExistsRequest) ProtoReflect() protoreflect.Message
func (*LongTermExistsRequest) Reset ¶
func (x *LongTermExistsRequest) Reset()
func (*LongTermExistsRequest) String ¶
func (x *LongTermExistsRequest) String() string
type LongTermExistsResponse ¶
type LongTermExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*LongTermExistsResponse) Descriptor
deprecated
func (*LongTermExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use LongTermExistsResponse.ProtoReflect.Descriptor instead.
func (*LongTermExistsResponse) GetExists ¶
func (x *LongTermExistsResponse) GetExists() bool
func (*LongTermExistsResponse) ProtoMessage ¶
func (*LongTermExistsResponse) ProtoMessage()
func (*LongTermExistsResponse) ProtoReflect ¶
func (x *LongTermExistsResponse) ProtoReflect() protoreflect.Message
func (*LongTermExistsResponse) Reset ¶
func (x *LongTermExistsResponse) Reset()
func (*LongTermExistsResponse) String ¶
func (x *LongTermExistsResponse) String() string
type RunManifest ¶
type RunManifest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` CreatedAtUnixNanos uint64 `protobuf:"varint,3,opt,name=created_at_unix_nanos,json=createdAtUnixNanos,proto3" json:"created_at_unix_nanos,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,4,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,5,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` Status RunStatus `protobuf:"varint,6,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` Targets map[string]*TargetManifest `` /* 155-byte string literal not displayed */ Commands map[string]*CommandManifest `` /* 158-byte string literal not displayed */ MainTargetId string `protobuf:"bytes,8,opt,name=main_target_id,json=mainTargetId,proto3" json:"main_target_id,omitempty"` Failure *Failure `protobuf:"bytes,9,opt,name=failure,proto3" json:"failure,omitempty"` ResumeToken string `protobuf:"bytes,16,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` IsCi bool `protobuf:"varint,17,opt,name=is_ci,json=isCi,proto3" json:"is_ci,omitempty"` // org_name is the name of the organization that owns this run. // May be empty for builds that don't have a PROJECT declaration. OrgName string `protobuf:"bytes,14,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` // project_name is the name of the project that owns this run. // May be empty for builds that don't have a PROJECT declaration. ProjectName string `protobuf:"bytes,15,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` // The UUID of the user that ran the build. UserId string `protobuf:"bytes,10,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // The UUID of the organization that owns this run. OrgId string `protobuf:"bytes,11,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // The UUID of the project that owns this run. ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` GitConfigEmail string `protobuf:"bytes,18,opt,name=git_config_email,json=gitConfigEmail,proto3" json:"git_config_email,omitempty"` GitAuthor string `protobuf:"bytes,19,opt,name=git_author,json=gitAuthor,proto3" json:"git_author,omitempty"` // contains filtered or unexported fields }
func (*RunManifest) Descriptor
deprecated
func (*RunManifest) Descriptor() ([]byte, []int)
Deprecated: Use RunManifest.ProtoReflect.Descriptor instead.
func (*RunManifest) GetBuildId ¶
func (x *RunManifest) GetBuildId() string
func (*RunManifest) GetCommands ¶
func (x *RunManifest) GetCommands() map[string]*CommandManifest
func (*RunManifest) GetCreatedAtUnixNanos ¶
func (x *RunManifest) GetCreatedAtUnixNanos() uint64
func (*RunManifest) GetEndedAtUnixNanos ¶
func (x *RunManifest) GetEndedAtUnixNanos() uint64
func (*RunManifest) GetFailure ¶
func (x *RunManifest) GetFailure() *Failure
func (*RunManifest) GetGitAuthor ¶
func (x *RunManifest) GetGitAuthor() string
func (*RunManifest) GetGitConfigEmail ¶
func (x *RunManifest) GetGitConfigEmail() string
func (*RunManifest) GetIsCi ¶
func (x *RunManifest) GetIsCi() bool
func (*RunManifest) GetMainTargetId ¶
func (x *RunManifest) GetMainTargetId() string
func (*RunManifest) GetOrgId ¶
func (x *RunManifest) GetOrgId() string
func (*RunManifest) GetOrgName ¶
func (x *RunManifest) GetOrgName() string
func (*RunManifest) GetProjectId ¶
func (x *RunManifest) GetProjectId() string
func (*RunManifest) GetProjectName ¶
func (x *RunManifest) GetProjectName() string
func (*RunManifest) GetResumeToken ¶
func (x *RunManifest) GetResumeToken() string
func (*RunManifest) GetStartedAtUnixNanos ¶
func (x *RunManifest) GetStartedAtUnixNanos() uint64
func (*RunManifest) GetStatus ¶
func (x *RunManifest) GetStatus() RunStatus
func (*RunManifest) GetTargets ¶
func (x *RunManifest) GetTargets() map[string]*TargetManifest
func (*RunManifest) GetUserId ¶
func (x *RunManifest) GetUserId() string
func (*RunManifest) GetVersion ¶
func (x *RunManifest) GetVersion() int32
func (*RunManifest) ProtoMessage ¶
func (*RunManifest) ProtoMessage()
func (*RunManifest) ProtoReflect ¶
func (x *RunManifest) ProtoReflect() protoreflect.Message
func (*RunManifest) Reset ¶
func (x *RunManifest) Reset()
func (*RunManifest) String ¶
func (x *RunManifest) String() string
type RunStatus ¶
type RunStatus int32
func (RunStatus) Descriptor ¶
func (RunStatus) Descriptor() protoreflect.EnumDescriptor
func (RunStatus) EnumDescriptor
deprecated
func (RunStatus) Number ¶
func (x RunStatus) Number() protoreflect.EnumNumber
func (RunStatus) Type ¶
func (RunStatus) Type() protoreflect.EnumType
type Runner ¶
type Runner int32
buf:lint:ignore ENUM_VALUE_PREFIX buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (Runner) Descriptor ¶
func (Runner) Descriptor() protoreflect.EnumDescriptor
func (Runner) EnumDescriptor
deprecated
func (Runner) Number ¶
func (x Runner) Number() protoreflect.EnumNumber
func (Runner) Type ¶
func (Runner) Type() protoreflect.EnumType
type SourceLocation ¶
type SourceLocation struct { // repository_url is the URL of the repository. RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"` // repository_hash is the Git sha hash of the repository. RepositoryHash string `protobuf:"bytes,7,opt,name=repository_hash,json=repositoryHash,proto3" json:"repository_hash,omitempty"` // file is the name of the Earthfile relative to the repository. File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` StartLine int32 `protobuf:"varint,3,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` StartColumn int32 `protobuf:"varint,4,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"` EndLine int32 `protobuf:"varint,5,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` EndColumn int32 `protobuf:"varint,6,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"` // contains filtered or unexported fields }
func (*SourceLocation) Descriptor
deprecated
func (*SourceLocation) Descriptor() ([]byte, []int)
Deprecated: Use SourceLocation.ProtoReflect.Descriptor instead.
func (*SourceLocation) GetEndColumn ¶
func (x *SourceLocation) GetEndColumn() int32
func (*SourceLocation) GetEndLine ¶
func (x *SourceLocation) GetEndLine() int32
func (*SourceLocation) GetFile ¶
func (x *SourceLocation) GetFile() string
func (*SourceLocation) GetRepositoryHash ¶
func (x *SourceLocation) GetRepositoryHash() string
func (*SourceLocation) GetRepositoryUrl ¶
func (x *SourceLocation) GetRepositoryUrl() string
func (*SourceLocation) GetStartColumn ¶
func (x *SourceLocation) GetStartColumn() int32
func (*SourceLocation) GetStartLine ¶
func (x *SourceLocation) GetStartLine() int32
func (*SourceLocation) ProtoMessage ¶
func (*SourceLocation) ProtoMessage()
func (*SourceLocation) ProtoReflect ¶
func (x *SourceLocation) ProtoReflect() protoreflect.Message
func (*SourceLocation) Reset ¶
func (x *SourceLocation) Reset()
func (*SourceLocation) String ¶
func (x *SourceLocation) String() string
type StreamLogRequest ¶
type StreamLogRequest struct { BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` Deltas []*Delta `protobuf:"bytes,2,rep,name=deltas,proto3" json:"deltas,omitempty"` Eof bool `protobuf:"varint,3,opt,name=eof,proto3" json:"eof,omitempty"` // contains filtered or unexported fields }
func (*StreamLogRequest) Descriptor
deprecated
func (*StreamLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamLogRequest.ProtoReflect.Descriptor instead.
func (*StreamLogRequest) GetBuildId ¶
func (x *StreamLogRequest) GetBuildId() string
func (*StreamLogRequest) GetDeltas ¶
func (x *StreamLogRequest) GetDeltas() []*Delta
func (*StreamLogRequest) GetEof ¶
func (x *StreamLogRequest) GetEof() bool
func (*StreamLogRequest) ProtoMessage ¶
func (*StreamLogRequest) ProtoMessage()
func (*StreamLogRequest) ProtoReflect ¶
func (x *StreamLogRequest) ProtoReflect() protoreflect.Message
func (*StreamLogRequest) Reset ¶
func (x *StreamLogRequest) Reset()
func (*StreamLogRequest) String ¶
func (x *StreamLogRequest) String() string
type StreamLogResponse ¶
type StreamLogResponse struct { EofAck bool `protobuf:"varint,1,opt,name=eof_ack,json=eofAck,proto3" json:"eof_ack,omitempty"` // contains filtered or unexported fields }
func (*StreamLogResponse) Descriptor
deprecated
func (*StreamLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamLogResponse.ProtoReflect.Descriptor instead.
func (*StreamLogResponse) GetEofAck ¶
func (x *StreamLogResponse) GetEofAck() bool
func (*StreamLogResponse) ProtoMessage ¶
func (*StreamLogResponse) ProtoMessage()
func (*StreamLogResponse) ProtoReflect ¶
func (x *StreamLogResponse) ProtoReflect() protoreflect.Message
func (*StreamLogResponse) Reset ¶
func (x *StreamLogResponse) Reset()
func (*StreamLogResponse) String ¶
func (x *StreamLogResponse) String() string
type Target ¶
type Target struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` GitUrl string `protobuf:"bytes,2,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"` LocalPath string `protobuf:"bytes,3,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` ImportRef string `protobuf:"bytes,5,opt,name=import_ref,json=importRef,proto3" json:"import_ref,omitempty"` // contains filtered or unexported fields }
func (*Target) Descriptor
deprecated
func (*Target) GetImportRef ¶
func (*Target) GetLocalPath ¶
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type TargetManifest ¶
type TargetManifest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. +build CanonicalName string `protobuf:"bytes,2,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"` // e.g. github.com/foo/bar/buz:main+build OverrideArgs []string `protobuf:"bytes,3,rep,name=override_args,json=overrideArgs,proto3" json:"override_args,omitempty"` GitUrl string `protobuf:"bytes,10,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"` LocalPath string `protobuf:"bytes,11,opt,name=local_path,json=localPath,proto3" json:"local_path,omitempty"` Tag string `protobuf:"bytes,12,opt,name=tag,proto3" json:"tag,omitempty"` ImportRef string `protobuf:"bytes,13,opt,name=import_ref,json=importRef,proto3" json:"import_ref,omitempty"` InitialPlatform string `protobuf:"bytes,4,opt,name=initial_platform,json=initialPlatform,proto3" json:"initial_platform,omitempty"` FinalPlatform string `protobuf:"bytes,8,opt,name=final_platform,json=finalPlatform,proto3" json:"final_platform,omitempty"` // runner is the runner identifier that this target runs on. Possible formats: // * local:<hostname> // * bk:<buildkit-address> // * sat:<org-name>/<satellite-name> Runner string `protobuf:"bytes,9,opt,name=runner,proto3" json:"runner,omitempty"` Status RunStatus `protobuf:"varint,5,opt,name=status,proto3,enum=api.public.logstream.RunStatus" json:"status,omitempty"` StartedAtUnixNanos uint64 `protobuf:"varint,6,opt,name=started_at_unix_nanos,json=startedAtUnixNanos,proto3" json:"started_at_unix_nanos,omitempty"` EndedAtUnixNanos uint64 `protobuf:"varint,7,opt,name=ended_at_unix_nanos,json=endedAtUnixNanos,proto3" json:"ended_at_unix_nanos,omitempty"` DependsOn []string `protobuf:"bytes,14,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
func (*TargetManifest) Descriptor
deprecated
func (*TargetManifest) Descriptor() ([]byte, []int)
Deprecated: Use TargetManifest.ProtoReflect.Descriptor instead.
func (*TargetManifest) GetCanonicalName ¶
func (x *TargetManifest) GetCanonicalName() string
func (*TargetManifest) GetDependsOn ¶
func (x *TargetManifest) GetDependsOn() []string
func (*TargetManifest) GetEndedAtUnixNanos ¶
func (x *TargetManifest) GetEndedAtUnixNanos() uint64
func (*TargetManifest) GetFinalPlatform ¶
func (x *TargetManifest) GetFinalPlatform() string
func (*TargetManifest) GetGitUrl ¶
func (x *TargetManifest) GetGitUrl() string
func (*TargetManifest) GetImportRef ¶
func (x *TargetManifest) GetImportRef() string
func (*TargetManifest) GetInitialPlatform ¶
func (x *TargetManifest) GetInitialPlatform() string
func (*TargetManifest) GetLocalPath ¶
func (x *TargetManifest) GetLocalPath() string
func (*TargetManifest) GetName ¶
func (x *TargetManifest) GetName() string
func (*TargetManifest) GetOverrideArgs ¶
func (x *TargetManifest) GetOverrideArgs() []string
func (*TargetManifest) GetRunner ¶
func (x *TargetManifest) GetRunner() string
func (*TargetManifest) GetStartedAtUnixNanos ¶
func (x *TargetManifest) GetStartedAtUnixNanos() uint64
func (*TargetManifest) GetStatus ¶
func (x *TargetManifest) GetStatus() RunStatus
func (*TargetManifest) GetTag ¶
func (x *TargetManifest) GetTag() string
func (*TargetManifest) ProtoMessage ¶
func (*TargetManifest) ProtoMessage()
func (*TargetManifest) ProtoReflect ¶
func (x *TargetManifest) ProtoReflect() protoreflect.Message
func (*TargetManifest) Reset ¶
func (x *TargetManifest) Reset()
func (*TargetManifest) String ¶
func (x *TargetManifest) String() string
type UnimplementedLogStreamServer ¶
type UnimplementedLogStreamServer struct { }
UnimplementedLogStreamServer must be embedded to have forward compatible implementations.
func (UnimplementedLogStreamServer) GetFirebaseAuthToken ¶
func (UnimplementedLogStreamServer) GetFirebaseAuthToken(context.Context, *GetFirebaseAuthTokenRequest) (*GetFirebaseAuthTokenResponse, error)
func (UnimplementedLogStreamServer) GetLogMetadata ¶
func (UnimplementedLogStreamServer) GetLogMetadata(context.Context, *GetLogMetadataRequest) (*GetLogMetadataResponse, error)
func (UnimplementedLogStreamServer) GetLogs ¶
func (UnimplementedLogStreamServer) GetLogs(*GetLogsRequest, LogStream_GetLogsServer) error
func (UnimplementedLogStreamServer) GetLongTerm ¶
func (UnimplementedLogStreamServer) GetLongTerm(*GetLongTermRequest, LogStream_GetLongTermServer) error
func (UnimplementedLogStreamServer) InitLogs ¶
func (UnimplementedLogStreamServer) InitLogs(context.Context, *InitLogsRequest) (*InitLogsResponse, error)
func (UnimplementedLogStreamServer) ListBuildMetrics ¶
func (UnimplementedLogStreamServer) ListBuildMetrics(context.Context, *ListBuildMetricsRequest) (*ListBuildMetricsResponse, error)
func (UnimplementedLogStreamServer) ListLogMetadata ¶
func (UnimplementedLogStreamServer) ListLogMetadata(context.Context, *ListLogMetadataRequest) (*ListLogMetadataResponse, error)
func (UnimplementedLogStreamServer) LongTermExists ¶
func (UnimplementedLogStreamServer) LongTermExists(context.Context, *LongTermExistsRequest) (*LongTermExistsResponse, error)
func (UnimplementedLogStreamServer) StreamLogs ¶
func (UnimplementedLogStreamServer) StreamLogs(LogStream_StreamLogsServer) error
type UnsafeLogStreamServer ¶
type UnsafeLogStreamServer interface {
// contains filtered or unexported methods
}
UnsafeLogStreamServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogStreamServer will result in compilation errors.