This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$id": "http://workflows.argoproj.io/schema.json", | |
| "$schema": "http://json-schema.org/schema#", | |
| "definitions": { | |
| "google.protobuf.Any": { | |
| "properties": { | |
| "type_url": { | |
| "type": "string" | |
| }, | |
| "value": { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | title: Argo WorkflowTemplate | |
| required: | |
| - metadata | |
| - spec | |
| type: object | |
| properties: | |
| apiVersion: | |
| type: string | |
| kind: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | title: Argo CronWorkflow | |
| required: | |
| - metadata | |
| - spec | |
| type: object | |
| properties: | |
| apiVersion: | |
| type: string | |
| kind: | |
| type: string | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | title: Argo Workflow | |
| required: | |
| - metadata | |
| - spec | |
| type: object | |
| properties: | |
| apiVersion: | |
| type: string | |
| kind: | |
| type: string | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | time="2020-07-28T16:08:04Z" level=info msg="Alloc=9702 TotalAlloc=2322341 Sys=71872 NumGC=739 Goroutines=165" | |
| time="2020-07-28T16:08:53Z" level=info msg="Processing default/foo-workflow" | |
| goroutine 139 [running]: | |
| k8s.io/apimachinery/pkg/util/runtime.logPanic(0x171b000, 0xc0012ea520) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | type ClientIp = String | |
| type UserId = String | |
| type Path = String | |
| type StatusCode = Int | |
| case class Entry(clientIp: ClientIp, userId: UserId, timestamp: Instant, path: Path, statusCode: StatusCode) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | object AccessLog { | |
| case class Entry(clientIp: String, userId: String, timestamp: Instant, path: String, statusCode: Int) | |
| def parseLine(line: String): Entry = line.split(",") match { | |
| case Array(clientIp, userId, timestamp, path, statusCode) => | |
| Entry(clientIp, userId, new Instant(timestamp), path, statusCode.toInt) | |
| } | |
| } |