Remove pre-1.0 audit and protected request scaffolding
This commit is contained in:
@@ -264,32 +264,6 @@ type SourceRCONExecutionInput struct {
|
||||
Command string
|
||||
}
|
||||
|
||||
// ProtectedRequestExecutionInput is returned exactly once to the active,
|
||||
// fenced Run lease. RequestText is never persisted in a job or bridge command.
|
||||
type ProtectedRequestExecutionInputRequest struct {
|
||||
RunEndpointID string
|
||||
SessionToken string
|
||||
JobID string
|
||||
LeaseToken string
|
||||
Attempt int
|
||||
FencingToken uint64
|
||||
}
|
||||
|
||||
type ProtectedRequestExecutionInput struct {
|
||||
JobID string
|
||||
ServerInstanceID string
|
||||
RunEndpointID string
|
||||
FencingToken uint64
|
||||
Authorized bool
|
||||
ApprovalState string
|
||||
QueueState string
|
||||
ExpiresAt time.Time
|
||||
Kind string
|
||||
TransportKey string
|
||||
TargetKey string
|
||||
RequestText string
|
||||
}
|
||||
|
||||
type RunUpdateInputRequest struct {
|
||||
RunEndpointID string
|
||||
SessionToken string
|
||||
@@ -510,10 +484,6 @@ func CopySourceRCONExecutionInput(input SourceRCONExecutionInput) SourceRCONExec
|
||||
return input
|
||||
}
|
||||
|
||||
func CopyProtectedRequestExecutionInput(input ProtectedRequestExecutionInput) ProtectedRequestExecutionInput {
|
||||
return input
|
||||
}
|
||||
|
||||
func CopyRunUpdateChunk(chunk RunUpdateChunk) RunUpdateChunk {
|
||||
chunk.Payload = append([]byte(nil), chunk.Payload...)
|
||||
return chunk
|
||||
|
||||
Reference in New Issue
Block a user