This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e6f66d
commit 491cbd1
Showing
4 changed files
with
62 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ meta = | ||
{ name = "coralogix-event" | ||
, repository = "quay.io/coralogix/eng-coralogix-event-resource" | ||
} | ||
, Version = { Type = {}, default = {=} } | ||
, Params = | ||
{ Get = { Type = {}, default = {=} } | ||
, Put = | ||
let Put = | ||
{ Type = | ||
{ build_status : Text | ||
, severity : Optional Text | ||
, message : Optional Text | ||
, labels : Optional (List { mapKey : Text, mapValue : Text }) | ||
, additional_details_file : Optional Text | ||
, dry_mode : Optional Bool | ||
} | ||
, default = | ||
{ severity = None Text | ||
, message = None Text | ||
, labels = None (List { mapKey : Text, mapValue : Text }) | ||
, additional_details_file = None Text | ||
, dry_mode = None Bool | ||
} | ||
} | ||
|
||
let test = Put::{ build_status = "mock_build_status" } | ||
|
||
in Put | ||
} | ||
, Source = | ||
let Source = | ||
{ Type = | ||
{ private_key : Text | ||
, application_name : Optional Text | ||
, subsystem_name : Optional Text | ||
, coralogix_host : Optional Text | ||
, concourse_url : Optional Text | ||
} | ||
, default = | ||
{ application_name = None Text | ||
, subsystem_name = None Text | ||
, coralogix_host = None Text | ||
, concourse_url = None Text | ||
} | ||
} | ||
|
||
let test = Source::{ private_key = "mock_private_key" } | ||
|
||
in Source | ||
} |
This file contains 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