Documentation ¶
Index ¶
- Variables
- type Call
- type Call_Attempt
- func (*Call_Attempt) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Attempt) GetComplete() *Call_Attempt_Complete
- func (x *Call_Attempt) GetStart() *Call_Attempt_Start
- func (*Call_Attempt) ProtoMessage()
- func (x *Call_Attempt) ProtoReflect() protoreflect.Message
- func (x *Call_Attempt) Reset()
- func (x *Call_Attempt) String() string
- type Call_Attempt_Complete
- func (*Call_Attempt_Complete) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Attempt_Complete) GetCompletedAt() *timestamppb.Timestamp
- func (x *Call_Attempt_Complete) GetIsLast() bool
- func (x *Call_Attempt_Complete) GetResult() *Call_Attempt_Result
- func (x *Call_Attempt_Complete) GetRetryInterval() *durationpb.Duration
- func (*Call_Attempt_Complete) ProtoMessage()
- func (x *Call_Attempt_Complete) ProtoReflect() protoreflect.Message
- func (x *Call_Attempt_Complete) Reset()
- func (x *Call_Attempt_Complete) String() string
- type Call_Attempt_Result
- func (*Call_Attempt_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Attempt_Result) GetError() *v1.Error
- func (x *Call_Attempt_Result) GetValue() *v11.Value
- func (*Call_Attempt_Result) ProtoMessage()
- func (x *Call_Attempt_Result) ProtoReflect() protoreflect.Message
- func (x *Call_Attempt_Result) Reset()
- func (x *Call_Attempt_Result) String() string
- type Call_Attempt_Start
- func (*Call_Attempt_Start) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Attempt_Start) GetNum() uint32
- func (x *Call_Attempt_Start) GetStartedAt() *timestamppb.Timestamp
- func (*Call_Attempt_Start) ProtoMessage()
- func (x *Call_Attempt_Start) ProtoReflect() protoreflect.Message
- func (x *Call_Attempt_Start) Reset()
- func (x *Call_Attempt_Start) String() string
- type Call_Spec
- func (*Call_Spec) Descriptor() ([]byte, []int)deprecated
- func (x *Call_Spec) GetArgs() []*v11.Value
- func (x *Call_Spec) GetFunction() *v11.Value
- func (x *Call_Spec) GetKwargs() map[string]*v11.Value
- func (x *Call_Spec) GetSeq() uint32
- func (*Call_Spec) ProtoMessage()
- func (x *Call_Spec) ProtoReflect() protoreflect.Message
- func (x *Call_Spec) Reset()
- func (x *Call_Spec) String() string
- type DeleteRequest
- type DeleteResponse
- type GetLogRequest
- type GetLogResponse
- type GetRequest
- type GetResponse
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetCountOnly() bool
- func (x *ListRequest) GetDeploymentId() string
- func (x *ListRequest) GetEnvId() string
- func (x *ListRequest) GetEventId() string
- func (x *ListRequest) GetStateType() SessionStateType
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetCount() int32
- func (x *ListResponse) GetSessions() []*Session
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetDeploymentId() string
- func (x *Session) GetEntrypoint() *v1.CodeLocation
- func (x *Session) GetEventId() string
- func (x *Session) GetInputs() map[string]*v11.Value
- func (x *Session) GetMemo() map[string]string
- func (x *Session) GetParentSessionId() string
- func (x *Session) GetSessionId() string
- func (x *Session) GetState() SessionStateType
- func (x *Session) GetUpdatedAt() *timestamppb.Timestamp
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionLog
- type SessionLogRecord
- func (*SessionLogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *SessionLogRecord) GetCallAttemptComplete() *Call_Attempt_Complete
- func (x *SessionLogRecord) GetCallAttemptStart() *Call_Attempt_Start
- func (x *SessionLogRecord) GetCallSpec() *Call_Spec
- func (x *SessionLogRecord) GetPrint() *SessionLogRecord_Print
- func (x *SessionLogRecord) GetState() *SessionState
- func (x *SessionLogRecord) GetT() *timestamppb.Timestamp
- func (*SessionLogRecord) ProtoMessage()
- func (x *SessionLogRecord) ProtoReflect() protoreflect.Message
- func (x *SessionLogRecord) Reset()
- func (x *SessionLogRecord) String() string
- type SessionLogRecord_Print
- func (*SessionLogRecord_Print) Descriptor() ([]byte, []int)deprecated
- func (x *SessionLogRecord_Print) GetText() string
- func (*SessionLogRecord_Print) ProtoMessage()
- func (x *SessionLogRecord_Print) ProtoReflect() protoreflect.Message
- func (x *SessionLogRecord_Print) Reset()
- func (x *SessionLogRecord_Print) String() string
- type SessionState
- func (*SessionState) Descriptor() ([]byte, []int)deprecated
- func (x *SessionState) GetCompleted() *SessionState_Completed
- func (x *SessionState) GetCreated() *SessionState_Created
- func (x *SessionState) GetError() *SessionState_Error
- func (x *SessionState) GetRunning() *SessionState_Running
- func (*SessionState) ProtoMessage()
- func (x *SessionState) ProtoReflect() protoreflect.Message
- func (x *SessionState) Reset()
- func (x *SessionState) String() string
- type SessionStateType
- func (SessionStateType) Descriptor() protoreflect.EnumDescriptor
- func (x SessionStateType) Enum() *SessionStateType
- func (SessionStateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionStateType) Number() protoreflect.EnumNumber
- func (x SessionStateType) String() string
- func (SessionStateType) Type() protoreflect.EnumType
- type SessionState_Completed
- func (*SessionState_Completed) Descriptor() ([]byte, []int)deprecated
- func (x *SessionState_Completed) GetExports() map[string]*v11.Value
- func (x *SessionState_Completed) GetPrints() []string
- func (x *SessionState_Completed) GetReturnValue() *v11.Value
- func (*SessionState_Completed) ProtoMessage()
- func (x *SessionState_Completed) ProtoReflect() protoreflect.Message
- func (x *SessionState_Completed) Reset()
- func (x *SessionState_Completed) String() string
- type SessionState_Created
- type SessionState_Error
- func (*SessionState_Error) Descriptor() ([]byte, []int)deprecated
- func (x *SessionState_Error) GetError() *v1.Error
- func (x *SessionState_Error) GetPrints() []string
- func (*SessionState_Error) ProtoMessage()
- func (x *SessionState_Error) ProtoReflect() protoreflect.Message
- func (x *SessionState_Error) Reset()
- func (x *SessionState_Error) String() string
- type SessionState_Running
- func (*SessionState_Running) Descriptor() ([]byte, []int)deprecated
- func (x *SessionState_Running) GetCall() *v11.Value
- func (x *SessionState_Running) GetRunId() string
- func (*SessionState_Running) ProtoMessage()
- func (x *SessionState_Running) ProtoReflect() protoreflect.Message
- func (x *SessionState_Running) Reset()
- func (x *SessionState_Running) String() string
- type StartRequest
- type StartResponse
- type StopRequest
- func (*StopRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopRequest) GetReason() string
- func (x *StopRequest) GetSessionId() string
- func (x *StopRequest) GetTerminate() bool
- func (*StopRequest) ProtoMessage()
- func (x *StopRequest) ProtoReflect() protoreflect.Message
- func (x *StopRequest) Reset()
- func (x *StopRequest) String() string
- type StopResponse
Constants ¶
This section is empty.
Variables ¶
var ( SessionStateType_name = map[int32]string{ 0: "SESSION_STATE_TYPE_UNSPECIFIED", 1: "SESSION_STATE_TYPE_CREATED", 2: "SESSION_STATE_TYPE_RUNNING", 3: "SESSION_STATE_TYPE_ERROR", 4: "SESSION_STATE_TYPE_COMPLETED", } SessionStateType_value = map[string]int32{ "SESSION_STATE_TYPE_UNSPECIFIED": 0, "SESSION_STATE_TYPE_CREATED": 1, "SESSION_STATE_TYPE_RUNNING": 2, "SESSION_STATE_TYPE_ERROR": 3, "SESSION_STATE_TYPE_COMPLETED": 4, } )
Enum value maps for SessionStateType.
var File_autokitteh_sessions_v1_session_proto protoreflect.FileDescriptor
var File_autokitteh_sessions_v1_svc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { Spec *Call_Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` Attempts []*Call_Attempt `protobuf:"bytes,2,rep,name=attempts,proto3" json:"attempts,omitempty"` // contains filtered or unexported fields }
func (*Call) Descriptor
deprecated
func (*Call) GetAttempts ¶
func (x *Call) GetAttempts() []*Call_Attempt
func (*Call) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶
func (x *Call) ProtoReflect() protoreflect.Message
type Call_Attempt ¶
type Call_Attempt struct { Start *Call_Attempt_Start `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` Complete *Call_Attempt_Complete `protobuf:"bytes,2,opt,name=complete,proto3" json:"complete,omitempty"` // contains filtered or unexported fields }
func (*Call_Attempt) Descriptor
deprecated
func (*Call_Attempt) Descriptor() ([]byte, []int)
Deprecated: Use Call_Attempt.ProtoReflect.Descriptor instead.
func (*Call_Attempt) GetComplete ¶
func (x *Call_Attempt) GetComplete() *Call_Attempt_Complete
func (*Call_Attempt) GetStart ¶
func (x *Call_Attempt) GetStart() *Call_Attempt_Start
func (*Call_Attempt) ProtoMessage ¶
func (*Call_Attempt) ProtoMessage()
func (*Call_Attempt) ProtoReflect ¶
func (x *Call_Attempt) ProtoReflect() protoreflect.Message
func (*Call_Attempt) Reset ¶
func (x *Call_Attempt) Reset()
func (*Call_Attempt) String ¶
func (x *Call_Attempt) String() string
type Call_Attempt_Complete ¶
type Call_Attempt_Complete struct { CompletedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` RetryInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_interval,json=retryInterval,proto3" json:"retry_interval,omitempty"` IsLast bool `protobuf:"varint,3,opt,name=is_last,json=isLast,proto3" json:"is_last,omitempty"` Result *Call_Attempt_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*Call_Attempt_Complete) Descriptor
deprecated
func (*Call_Attempt_Complete) Descriptor() ([]byte, []int)
Deprecated: Use Call_Attempt_Complete.ProtoReflect.Descriptor instead.
func (*Call_Attempt_Complete) GetCompletedAt ¶
func (x *Call_Attempt_Complete) GetCompletedAt() *timestamppb.Timestamp
func (*Call_Attempt_Complete) GetIsLast ¶
func (x *Call_Attempt_Complete) GetIsLast() bool
func (*Call_Attempt_Complete) GetResult ¶
func (x *Call_Attempt_Complete) GetResult() *Call_Attempt_Result
func (*Call_Attempt_Complete) GetRetryInterval ¶
func (x *Call_Attempt_Complete) GetRetryInterval() *durationpb.Duration
func (*Call_Attempt_Complete) ProtoMessage ¶
func (*Call_Attempt_Complete) ProtoMessage()
func (*Call_Attempt_Complete) ProtoReflect ¶
func (x *Call_Attempt_Complete) ProtoReflect() protoreflect.Message
func (*Call_Attempt_Complete) Reset ¶
func (x *Call_Attempt_Complete) Reset()
func (*Call_Attempt_Complete) String ¶
func (x *Call_Attempt_Complete) String() string
type Call_Attempt_Result ¶
type Call_Attempt_Result struct { // one of the following is required. Value *v11.Value `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"` Error *v1.Error `protobuf:"bytes,11,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Call_Attempt_Result) Descriptor
deprecated
func (*Call_Attempt_Result) Descriptor() ([]byte, []int)
Deprecated: Use Call_Attempt_Result.ProtoReflect.Descriptor instead.
func (*Call_Attempt_Result) GetError ¶
func (x *Call_Attempt_Result) GetError() *v1.Error
func (*Call_Attempt_Result) GetValue ¶
func (x *Call_Attempt_Result) GetValue() *v11.Value
func (*Call_Attempt_Result) ProtoMessage ¶
func (*Call_Attempt_Result) ProtoMessage()
func (*Call_Attempt_Result) ProtoReflect ¶
func (x *Call_Attempt_Result) ProtoReflect() protoreflect.Message
func (*Call_Attempt_Result) Reset ¶
func (x *Call_Attempt_Result) Reset()
func (*Call_Attempt_Result) String ¶
func (x *Call_Attempt_Result) String() string
type Call_Attempt_Start ¶
type Call_Attempt_Start struct { StartedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` Num uint32 `protobuf:"varint,5,opt,name=num,proto3" json:"num,omitempty"` // contains filtered or unexported fields }
func (*Call_Attempt_Start) Descriptor
deprecated
func (*Call_Attempt_Start) Descriptor() ([]byte, []int)
Deprecated: Use Call_Attempt_Start.ProtoReflect.Descriptor instead.
func (*Call_Attempt_Start) GetNum ¶
func (x *Call_Attempt_Start) GetNum() uint32
func (*Call_Attempt_Start) GetStartedAt ¶
func (x *Call_Attempt_Start) GetStartedAt() *timestamppb.Timestamp
func (*Call_Attempt_Start) ProtoMessage ¶
func (*Call_Attempt_Start) ProtoMessage()
func (*Call_Attempt_Start) ProtoReflect ¶
func (x *Call_Attempt_Start) ProtoReflect() protoreflect.Message
func (*Call_Attempt_Start) Reset ¶
func (x *Call_Attempt_Start) Reset()
func (*Call_Attempt_Start) String ¶
func (x *Call_Attempt_Start) String() string
type Call_Spec ¶
type Call_Spec struct { Function *v11.Value `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"` Args []*v11.Value `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Kwargs map[string]*v11.Value `` /* 153-byte string literal not displayed */ Seq uint32 `protobuf:"varint,4,opt,name=seq,proto3" json:"seq,omitempty"` // contains filtered or unexported fields }
func (*Call_Spec) Descriptor
deprecated
func (*Call_Spec) GetFunction ¶
func (*Call_Spec) ProtoMessage ¶
func (*Call_Spec) ProtoMessage()
func (*Call_Spec) ProtoReflect ¶
func (x *Call_Spec) ProtoReflect() protoreflect.Message
type DeleteRequest ¶ added in v0.3.0
type DeleteRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
added in
v0.3.0
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetSessionId ¶ added in v0.3.0
func (x *DeleteRequest) GetSessionId() string
func (*DeleteRequest) ProtoMessage ¶ added in v0.3.0
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶ added in v0.3.0
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶ added in v0.3.0
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶ added in v0.3.0
func (x *DeleteRequest) String() string
type DeleteResponse ¶ added in v0.3.0
type DeleteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteResponse) Descriptor
deprecated
added in
v0.3.0
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶ added in v0.3.0
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶ added in v0.3.0
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶ added in v0.3.0
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶ added in v0.3.0
func (x *DeleteResponse) String() string
type GetLogRequest ¶
type GetLogRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GetLogRequest) Descriptor
deprecated
func (*GetLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogRequest.ProtoReflect.Descriptor instead.
func (*GetLogRequest) GetSessionId ¶
func (x *GetLogRequest) GetSessionId() string
func (*GetLogRequest) ProtoMessage ¶
func (*GetLogRequest) ProtoMessage()
func (*GetLogRequest) ProtoReflect ¶
func (x *GetLogRequest) ProtoReflect() protoreflect.Message
func (*GetLogRequest) Reset ¶
func (x *GetLogRequest) Reset()
func (*GetLogRequest) String ¶
func (x *GetLogRequest) String() string
type GetLogResponse ¶
type GetLogResponse struct { Log *SessionLog `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*GetLogResponse) Descriptor
deprecated
func (*GetLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogResponse.ProtoReflect.Descriptor instead.
func (*GetLogResponse) GetLog ¶
func (x *GetLogResponse) GetLog() *SessionLog
func (*GetLogResponse) ProtoMessage ¶
func (*GetLogResponse) ProtoMessage()
func (*GetLogResponse) ProtoReflect ¶
func (x *GetLogResponse) ProtoReflect() protoreflect.Message
func (*GetLogResponse) Reset ¶
func (x *GetLogResponse) Reset()
func (*GetLogResponse) String ¶
func (x *GetLogResponse) String() string
type GetRequest ¶
type GetRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetSessionId ¶
func (x *GetRequest) GetSessionId() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetSession ¶
func (x *GetResponse) GetSession() *Session
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListRequest ¶
type ListRequest struct { DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` EnvId string `protobuf:"bytes,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"` EventId string `protobuf:"bytes,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` StateType SessionStateType `` /* 134-byte string literal not displayed */ CountOnly bool `protobuf:"varint,5,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"` // contains filtered or unexported fields }
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetCountOnly ¶
func (x *ListRequest) GetCountOnly() bool
func (*ListRequest) GetDeploymentId ¶
func (x *ListRequest) GetDeploymentId() string
func (*ListRequest) GetEnvId ¶
func (x *ListRequest) GetEnvId() string
func (*ListRequest) GetEventId ¶
func (x *ListRequest) GetEventId() string
func (*ListRequest) GetStateType ¶
func (x *ListRequest) GetStateType() SessionStateType
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetCount ¶
func (x *ListResponse) GetCount() int32
func (*ListResponse) GetSessions ¶
func (x *ListResponse) GetSessions() []*Session
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type Session ¶
type Session struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` EventId string `protobuf:"bytes,3,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // TODO: eliminate? move to inputs? or memo? Entrypoint *v1.CodeLocation `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` Inputs map[string]*v11.Value `` /* 153-byte string literal not displayed */ ParentSessionId string `protobuf:"bytes,6,opt,name=parent_session_id,json=parentSessionId,proto3" json:"parent_session_id,omitempty"` Memo map[string]string `` /* 149-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` State SessionStateType `protobuf:"varint,12,opt,name=state,proto3,enum=autokitteh.sessions.v1.SessionStateType" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) GetDeploymentId ¶
func (*Session) GetEntrypoint ¶
func (x *Session) GetEntrypoint() *v1.CodeLocation
func (*Session) GetEventId ¶
func (*Session) GetParentSessionId ¶
func (*Session) GetSessionId ¶
func (*Session) GetState ¶
func (x *Session) GetState() SessionStateType
func (*Session) GetUpdatedAt ¶
func (x *Session) GetUpdatedAt() *timestamppb.Timestamp
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionLog ¶
type SessionLog struct { // Chronological order: the last item is the latest. Records []*SessionLogRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*SessionLog) Descriptor
deprecated
func (*SessionLog) Descriptor() ([]byte, []int)
Deprecated: Use SessionLog.ProtoReflect.Descriptor instead.
func (*SessionLog) GetRecords ¶
func (x *SessionLog) GetRecords() []*SessionLogRecord
func (*SessionLog) ProtoMessage ¶
func (*SessionLog) ProtoMessage()
func (*SessionLog) ProtoReflect ¶
func (x *SessionLog) ProtoReflect() protoreflect.Message
func (*SessionLog) Reset ¶
func (x *SessionLog) Reset()
func (*SessionLog) String ¶
func (x *SessionLog) String() string
type SessionLogRecord ¶
type SessionLogRecord struct { T *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=t,proto3" json:"t,omitempty"` // one of the following is required. Print *SessionLogRecord_Print `protobuf:"bytes,10,opt,name=print,proto3" json:"print,omitempty"` CallSpec *Call_Spec `protobuf:"bytes,11,opt,name=call_spec,json=callSpec,proto3" json:"call_spec,omitempty"` CallAttemptStart *Call_Attempt_Start `protobuf:"bytes,12,opt,name=call_attempt_start,json=callAttemptStart,proto3" json:"call_attempt_start,omitempty"` CallAttemptComplete *Call_Attempt_Complete `protobuf:"bytes,13,opt,name=call_attempt_complete,json=callAttemptComplete,proto3" json:"call_attempt_complete,omitempty"` State *SessionState `protobuf:"bytes,14,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*SessionLogRecord) Descriptor
deprecated
func (*SessionLogRecord) Descriptor() ([]byte, []int)
Deprecated: Use SessionLogRecord.ProtoReflect.Descriptor instead.
func (*SessionLogRecord) GetCallAttemptComplete ¶
func (x *SessionLogRecord) GetCallAttemptComplete() *Call_Attempt_Complete
func (*SessionLogRecord) GetCallAttemptStart ¶
func (x *SessionLogRecord) GetCallAttemptStart() *Call_Attempt_Start
func (*SessionLogRecord) GetCallSpec ¶
func (x *SessionLogRecord) GetCallSpec() *Call_Spec
func (*SessionLogRecord) GetPrint ¶
func (x *SessionLogRecord) GetPrint() *SessionLogRecord_Print
func (*SessionLogRecord) GetState ¶
func (x *SessionLogRecord) GetState() *SessionState
func (*SessionLogRecord) GetT ¶
func (x *SessionLogRecord) GetT() *timestamppb.Timestamp
func (*SessionLogRecord) ProtoMessage ¶
func (*SessionLogRecord) ProtoMessage()
func (*SessionLogRecord) ProtoReflect ¶
func (x *SessionLogRecord) ProtoReflect() protoreflect.Message
func (*SessionLogRecord) Reset ¶
func (x *SessionLogRecord) Reset()
func (*SessionLogRecord) String ¶
func (x *SessionLogRecord) String() string
type SessionLogRecord_Print ¶
type SessionLogRecord_Print struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*SessionLogRecord_Print) Descriptor
deprecated
added in
v0.3.0
func (*SessionLogRecord_Print) Descriptor() ([]byte, []int)
Deprecated: Use SessionLogRecord_Print.ProtoReflect.Descriptor instead.
func (*SessionLogRecord_Print) GetText ¶ added in v0.3.0
func (x *SessionLogRecord_Print) GetText() string
func (*SessionLogRecord_Print) ProtoMessage ¶ added in v0.3.0
func (*SessionLogRecord_Print) ProtoMessage()
func (*SessionLogRecord_Print) ProtoReflect ¶ added in v0.3.0
func (x *SessionLogRecord_Print) ProtoReflect() protoreflect.Message
func (*SessionLogRecord_Print) Reset ¶ added in v0.3.0
func (x *SessionLogRecord_Print) Reset()
func (*SessionLogRecord_Print) String ¶ added in v0.3.0
func (x *SessionLogRecord_Print) String() string
type SessionState ¶
type SessionState struct { // one of the following is required. Created *SessionState_Created `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"` Running *SessionState_Running `protobuf:"bytes,11,opt,name=running,proto3" json:"running,omitempty"` Error *SessionState_Error `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"` Completed *SessionState_Completed `protobuf:"bytes,13,opt,name=completed,proto3" json:"completed,omitempty"` // contains filtered or unexported fields }
func (*SessionState) Descriptor
deprecated
func (*SessionState) Descriptor() ([]byte, []int)
Deprecated: Use SessionState.ProtoReflect.Descriptor instead.
func (*SessionState) GetCompleted ¶
func (x *SessionState) GetCompleted() *SessionState_Completed
func (*SessionState) GetCreated ¶
func (x *SessionState) GetCreated() *SessionState_Created
func (*SessionState) GetError ¶
func (x *SessionState) GetError() *SessionState_Error
func (*SessionState) GetRunning ¶
func (x *SessionState) GetRunning() *SessionState_Running
func (*SessionState) ProtoMessage ¶
func (*SessionState) ProtoMessage()
func (*SessionState) ProtoReflect ¶
func (x *SessionState) ProtoReflect() protoreflect.Message
func (*SessionState) Reset ¶
func (x *SessionState) Reset()
func (*SessionState) String ¶
func (x *SessionState) String() string
type SessionStateType ¶
type SessionStateType int32
const ( SessionStateType_SESSION_STATE_TYPE_UNSPECIFIED SessionStateType = 0 SessionStateType_SESSION_STATE_TYPE_CREATED SessionStateType = 1 SessionStateType_SESSION_STATE_TYPE_RUNNING SessionStateType = 2 SessionStateType_SESSION_STATE_TYPE_ERROR SessionStateType = 3 SessionStateType_SESSION_STATE_TYPE_COMPLETED SessionStateType = 4 )
func (SessionStateType) Descriptor ¶
func (SessionStateType) Descriptor() protoreflect.EnumDescriptor
func (SessionStateType) Enum ¶
func (x SessionStateType) Enum() *SessionStateType
func (SessionStateType) EnumDescriptor
deprecated
func (SessionStateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionStateType.Descriptor instead.
func (SessionStateType) Number ¶
func (x SessionStateType) Number() protoreflect.EnumNumber
func (SessionStateType) String ¶
func (x SessionStateType) String() string
func (SessionStateType) Type ¶
func (SessionStateType) Type() protoreflect.EnumType
type SessionState_Completed ¶
type SessionState_Completed struct { Prints []string `protobuf:"bytes,1,rep,name=prints,proto3" json:"prints,omitempty"` Exports map[string]*v11.Value `` /* 155-byte string literal not displayed */ ReturnValue *v11.Value `protobuf:"bytes,3,opt,name=return_value,json=returnValue,proto3" json:"return_value,omitempty"` // contains filtered or unexported fields }
func (*SessionState_Completed) Descriptor
deprecated
func (*SessionState_Completed) Descriptor() ([]byte, []int)
Deprecated: Use SessionState_Completed.ProtoReflect.Descriptor instead.
func (*SessionState_Completed) GetExports ¶
func (x *SessionState_Completed) GetExports() map[string]*v11.Value
func (*SessionState_Completed) GetPrints ¶
func (x *SessionState_Completed) GetPrints() []string
func (*SessionState_Completed) GetReturnValue ¶
func (x *SessionState_Completed) GetReturnValue() *v11.Value
func (*SessionState_Completed) ProtoMessage ¶
func (*SessionState_Completed) ProtoMessage()
func (*SessionState_Completed) ProtoReflect ¶
func (x *SessionState_Completed) ProtoReflect() protoreflect.Message
func (*SessionState_Completed) Reset ¶
func (x *SessionState_Completed) Reset()
func (*SessionState_Completed) String ¶
func (x *SessionState_Completed) String() string
type SessionState_Created ¶
type SessionState_Created struct {
// contains filtered or unexported fields
}
func (*SessionState_Created) Descriptor
deprecated
func (*SessionState_Created) Descriptor() ([]byte, []int)
Deprecated: Use SessionState_Created.ProtoReflect.Descriptor instead.
func (*SessionState_Created) ProtoMessage ¶
func (*SessionState_Created) ProtoMessage()
func (*SessionState_Created) ProtoReflect ¶
func (x *SessionState_Created) ProtoReflect() protoreflect.Message
func (*SessionState_Created) Reset ¶
func (x *SessionState_Created) Reset()
func (*SessionState_Created) String ¶
func (x *SessionState_Created) String() string
type SessionState_Error ¶
type SessionState_Error struct { Prints []string `protobuf:"bytes,1,rep,name=prints,proto3" json:"prints,omitempty"` Error *v1.Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SessionState_Error) Descriptor
deprecated
func (*SessionState_Error) Descriptor() ([]byte, []int)
Deprecated: Use SessionState_Error.ProtoReflect.Descriptor instead.
func (*SessionState_Error) GetError ¶
func (x *SessionState_Error) GetError() *v1.Error
func (*SessionState_Error) GetPrints ¶
func (x *SessionState_Error) GetPrints() []string
func (*SessionState_Error) ProtoMessage ¶
func (*SessionState_Error) ProtoMessage()
func (*SessionState_Error) ProtoReflect ¶
func (x *SessionState_Error) ProtoReflect() protoreflect.Message
func (*SessionState_Error) Reset ¶
func (x *SessionState_Error) Reset()
func (*SessionState_Error) String ¶
func (x *SessionState_Error) String() string
type SessionState_Running ¶
type SessionState_Running struct { RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` Call *v11.Value `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"` // present if run is a Call. // contains filtered or unexported fields }
func (*SessionState_Running) Descriptor
deprecated
func (*SessionState_Running) Descriptor() ([]byte, []int)
Deprecated: Use SessionState_Running.ProtoReflect.Descriptor instead.
func (*SessionState_Running) GetCall ¶
func (x *SessionState_Running) GetCall() *v11.Value
func (*SessionState_Running) GetRunId ¶
func (x *SessionState_Running) GetRunId() string
func (*SessionState_Running) ProtoMessage ¶
func (*SessionState_Running) ProtoMessage()
func (*SessionState_Running) ProtoReflect ¶
func (x *SessionState_Running) ProtoReflect() protoreflect.Message
func (*SessionState_Running) Reset ¶
func (x *SessionState_Running) Reset()
func (*SessionState_Running) String ¶
func (x *SessionState_Running) String() string
type StartRequest ¶
type StartRequest struct { Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetSession ¶
func (x *StartRequest) GetSession() *Session
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StartResponse ¶
type StartResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) GetSessionId ¶
func (x *StartResponse) GetSessionId() string
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type StopRequest ¶
type StopRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Terminate bool `protobuf:"varint,3,opt,name=terminate,proto3" json:"terminate,omitempty"` // non-graceful // contains filtered or unexported fields }
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) GetReason ¶
func (x *StopRequest) GetReason() string
func (*StopRequest) GetSessionId ¶
func (x *StopRequest) GetSessionId() string
func (*StopRequest) GetTerminate ¶
func (x *StopRequest) GetTerminate() bool
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct {
// contains filtered or unexported fields
}
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string