sessionsv1

package
v0.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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",
		5: "SESSION_STATE_TYPE_STOPPED",
	}
	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,
		"SESSION_STATE_TYPE_STOPPED":     5,
	}
)

Enum value maps for SessionStateType.

View Source
var (
	SessionLogRecord_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "TYPE_PRINT",
		2:  "TYPE_CALL_SPEC",
		4:  "TYPE_CALL_ATTEMPT_START",
		8:  "TYPE_CALL_ATTEMPT_COMPLETE",
		16: "TYPE_STATE",
		32: "TYPE_STOP_REQUEST",
	}
	SessionLogRecord_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":           0,
		"TYPE_PRINT":                 1,
		"TYPE_CALL_SPEC":             2,
		"TYPE_CALL_ATTEMPT_START":    4,
		"TYPE_CALL_ATTEMPT_COMPLETE": 8,
		"TYPE_STATE":                 16,
		"TYPE_STOP_REQUEST":          32,
	}
)

Enum value maps for SessionLogRecord_Type.

View Source
var File_autokitteh_sessions_v1_session_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) GetAttempts

func (x *Call) GetAttempts() []*Call_Attempt

func (*Call) GetSpec

func (x *Call) GetSpec() *Call_Spec

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) ProtoReflect

func (x *Call) ProtoReflect() protoreflect.Message

func (*Call) Reset

func (x *Call) Reset()

func (*Call) String

func (x *Call) String() string

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Call_Spec.ProtoReflect.Descriptor instead.

func (*Call_Spec) GetArgs

func (x *Call_Spec) GetArgs() []*v11.Value

func (*Call_Spec) GetFunction

func (x *Call_Spec) GetFunction() *v11.Value

func (*Call_Spec) GetKwargs

func (x *Call_Spec) GetKwargs() map[string]*v11.Value

func (*Call_Spec) GetSeq

func (x *Call_Spec) GetSeq() uint32

func (*Call_Spec) ProtoMessage

func (*Call_Spec) ProtoMessage()

func (*Call_Spec) ProtoReflect

func (x *Call_Spec) ProtoReflect() protoreflect.Message

func (*Call_Spec) Reset

func (x *Call_Spec) Reset()

func (*Call_Spec) String

func (x *Call_Spec) String() string

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"`
	// true: all values returned will be string values
	//
	//	that contain the native values in JSON format.
	//
	// false: all values returned are properly boxed.
	JsonValues bool `protobuf:"varint,2,opt,name=json_values,json=jsonValues,proto3" json:"json_values,omitempty"`
	// Bitmask: If 0 or 0xFF, include all.
	Types     SessionLogRecord_Type `protobuf:"varint,3,opt,name=types,proto3,enum=autokitteh.sessions.v1.SessionLogRecord_Type" json:"types,omitempty"`
	Ascending bool                  `protobuf:"varint,11,opt,name=ascending,proto3" json:"ascending,omitempty"`
	PageSize  int32                 `protobuf:"varint,20,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Skip      int32                 `protobuf:"varint,21,opt,name=skip,proto3" json:"skip,omitempty"`
	PageToken string                `protobuf:"bytes,22,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogRequest) Descriptor deprecated

func (*GetLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLogRequest.ProtoReflect.Descriptor instead.

func (*GetLogRequest) GetAscending added in v0.8.0

func (x *GetLogRequest) GetAscending() bool

func (*GetLogRequest) GetJsonValues added in v0.9.0

func (x *GetLogRequest) GetJsonValues() bool

func (*GetLogRequest) GetPageSize added in v0.8.0

func (x *GetLogRequest) GetPageSize() int32

func (*GetLogRequest) GetPageToken added in v0.8.0

func (x *GetLogRequest) GetPageToken() string

func (*GetLogRequest) GetSessionId

func (x *GetLogRequest) GetSessionId() string

func (*GetLogRequest) GetSkip added in v0.8.0

func (x *GetLogRequest) GetSkip() int32

func (*GetLogRequest) GetTypes added in v0.9.2

func (x *GetLogRequest) GetTypes() SessionLogRecord_Type

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"`
	Count         int64       `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	NextPageToken string      `protobuf:"bytes,10,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogResponse) Descriptor deprecated

func (*GetLogResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLogResponse.ProtoReflect.Descriptor instead.

func (*GetLogResponse) GetCount added in v0.8.0

func (x *GetLogResponse) GetCount() int64

func (*GetLogResponse) GetLog

func (x *GetLogResponse) GetLog() *SessionLog

func (*GetLogResponse) GetNextPageToken added in v0.8.0

func (x *GetLogResponse) GetNextPageToken() string

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"`
	// true: all values returned will be string values
	//
	//	that contain the native values in JSON format.
	//
	// false: all values returned are properly boxed.
	JsonValues bool `protobuf:"varint,2,opt,name=json_values,json=jsonValues,proto3" json:"json_values,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

func (*GetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetJsonValues added in v0.9.0

func (x *GetRequest) GetJsonValues() bool

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"`
	BuildId      string           `protobuf:"bytes,4,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	StateType    SessionStateType `` /* 134-byte string literal not displayed */
	CountOnly    bool             `protobuf:"varint,10,opt,name=count_only,json=countOnly,proto3" json:"count_only,omitempty"`
	// If the value is outside the allowed range, the sessions
	// gRPC service sets it to the closest range bound.
	PageSize  int32  `protobuf:"varint,20,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Skip      int32  `protobuf:"varint,21,opt,name=skip,proto3" json:"skip,omitempty"`
	PageToken string `protobuf:"bytes,22,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

func (*ListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetBuildId added in v0.4.0

func (x *ListRequest) GetBuildId() string

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) GetPageSize added in v0.4.6

func (x *ListRequest) GetPageSize() int32

func (*ListRequest) GetPageToken added in v0.4.6

func (x *ListRequest) GetPageToken() string

func (*ListRequest) GetSkip added in v0.4.6

func (x *ListRequest) GetSkip() int32

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 without their data.
	Sessions      []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	Count         int64      `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	NextPageToken string     `protobuf:"bytes,10,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,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() int64

func (*ListResponse) GetNextPageToken added in v0.4.6

func (x *ListResponse) GetNextPageToken() string

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"`
	BuildId         string                 `protobuf:"bytes,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
	EnvId           string                 `protobuf:"bytes,3,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	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"`
	// These are for auditing/searches only.
	DeploymentId string `protobuf:"bytes,20,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	EventId      string `protobuf:"bytes,21,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetBuildId added in v0.4.0

func (x *Session) GetBuildId() string

func (*Session) GetCreatedAt

func (x *Session) GetCreatedAt() *timestamppb.Timestamp

func (*Session) GetDeploymentId

func (x *Session) GetDeploymentId() string

func (*Session) GetEntrypoint

func (x *Session) GetEntrypoint() *v1.CodeLocation

func (*Session) GetEnvId added in v0.4.0

func (x *Session) GetEnvId() string

func (*Session) GetEventId

func (x *Session) GetEventId() string

func (*Session) GetInputs

func (x *Session) GetInputs() map[string]*v11.Value

func (*Session) GetMemo

func (x *Session) GetMemo() map[string]string

func (*Session) GetParentSessionId

func (x *Session) GetParentSessionId() string

func (*Session) GetSessionId

func (x *Session) GetSessionId() string

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

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"`
	ProcessId string                 `protobuf:"bytes,2,opt,name=process_id,json=processId,proto3" json:"process_id,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"`
	StopRequest         *SessionLogRecord_StopRequest `protobuf:"bytes,15,opt,name=stop_request,json=stopRequest,proto3" json:"stop_request,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 (*SessionLogRecord) GetProcessId added in v0.4.6

func (x *SessionLogRecord) GetProcessId() string

func (*SessionLogRecord) GetState

func (x *SessionLogRecord) GetState() *SessionState

func (*SessionLogRecord) GetStopRequest added in v0.4.0

func (x *SessionLogRecord) GetStopRequest() *SessionLogRecord_StopRequest

func (*SessionLogRecord) GetT

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 SessionLogRecord_StopRequest added in v0.4.0

type SessionLogRecord_StopRequest struct {
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionLogRecord_StopRequest) Descriptor deprecated added in v0.4.0

func (*SessionLogRecord_StopRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionLogRecord_StopRequest.ProtoReflect.Descriptor instead.

func (*SessionLogRecord_StopRequest) GetReason added in v0.4.0

func (x *SessionLogRecord_StopRequest) GetReason() string

func (*SessionLogRecord_StopRequest) ProtoMessage added in v0.4.0

func (*SessionLogRecord_StopRequest) ProtoMessage()

func (*SessionLogRecord_StopRequest) ProtoReflect added in v0.4.0

func (*SessionLogRecord_StopRequest) Reset added in v0.4.0

func (x *SessionLogRecord_StopRequest) Reset()

func (*SessionLogRecord_StopRequest) String added in v0.4.0

type SessionLogRecord_Type added in v0.9.2

type SessionLogRecord_Type int32

Bitfield.

const (
	SessionLogRecord_TYPE_UNSPECIFIED           SessionLogRecord_Type = 0
	SessionLogRecord_TYPE_PRINT                 SessionLogRecord_Type = 1
	SessionLogRecord_TYPE_CALL_SPEC             SessionLogRecord_Type = 2
	SessionLogRecord_TYPE_CALL_ATTEMPT_START    SessionLogRecord_Type = 4
	SessionLogRecord_TYPE_CALL_ATTEMPT_COMPLETE SessionLogRecord_Type = 8
	SessionLogRecord_TYPE_STATE                 SessionLogRecord_Type = 16
	SessionLogRecord_TYPE_STOP_REQUEST          SessionLogRecord_Type = 32
)

func (SessionLogRecord_Type) Descriptor added in v0.9.2

func (SessionLogRecord_Type) Enum added in v0.9.2

func (SessionLogRecord_Type) EnumDescriptor deprecated added in v0.9.2

func (SessionLogRecord_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use SessionLogRecord_Type.Descriptor instead.

func (SessionLogRecord_Type) Number added in v0.9.2

func (SessionLogRecord_Type) String added in v0.9.2

func (x SessionLogRecord_Type) String() string

func (SessionLogRecord_Type) Type added in v0.9.2

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"`
	Stopped   *SessionState_Stopped   `protobuf:"bytes,14,opt,name=stopped,proto3" json:"stopped,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) GetStopped added in v0.4.0

func (x *SessionState) GetStopped() *SessionState_Stopped

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
	SessionStateType_SESSION_STATE_TYPE_STOPPED     SessionStateType = 5
)

func (SessionStateType) Descriptor

func (SessionStateType) Enum

func (SessionStateType) EnumDescriptor deprecated

func (SessionStateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SessionStateType.Descriptor instead.

func (SessionStateType) Number

func (SessionStateType) String

func (x SessionStateType) String() string

func (SessionStateType) Type

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 SessionState_Stopped added in v0.4.0

type SessionState_Stopped struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionState_Stopped) Descriptor deprecated added in v0.4.0

func (*SessionState_Stopped) Descriptor() ([]byte, []int)

Deprecated: Use SessionState_Stopped.ProtoReflect.Descriptor instead.

func (*SessionState_Stopped) GetReason added in v0.4.0

func (x *SessionState_Stopped) GetReason() string

func (*SessionState_Stopped) ProtoMessage added in v0.4.0

func (*SessionState_Stopped) ProtoMessage()

func (*SessionState_Stopped) ProtoReflect added in v0.4.0

func (x *SessionState_Stopped) ProtoReflect() protoreflect.Message

func (*SessionState_Stopped) Reset added in v0.4.0

func (x *SessionState_Stopped) Reset()

func (*SessionState_Stopped) String added in v0.4.0

func (x *SessionState_Stopped) String() string

type StartRequest

type StartRequest struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// Helper: if set, merged into and overwrites the session's inputs.
	JsonInputs map[string]string `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StartRequest) Descriptor deprecated

func (*StartRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.

func (*StartRequest) GetJsonInputs added in v0.8.2

func (x *StartRequest) GetJsonInputs() map[string]string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL