-
Notifications
You must be signed in to change notification settings - Fork 3
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
448e35c
commit e826eed
Showing
32 changed files
with
2,877 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class DiscordConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("webhookUrl", required: true)] | ||
public Input<string> WebhookUrl { get; set; } = null!; | ||
|
||
public DiscordConfigArgs() | ||
{ | ||
} | ||
public static new DiscordConfigArgs Empty => new DiscordConfigArgs(); | ||
} | ||
} |
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,36 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class NotificationConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("discord")] | ||
public Input<Inputs.DiscordConfigArgs>? Discord { get; set; } | ||
|
||
[Input("pagerDuty")] | ||
public Input<Inputs.PagerDutyConfigArgs>? PagerDuty { get; set; } | ||
|
||
[Input("slack")] | ||
public Input<Inputs.SlackConfigArgs>? Slack { get; set; } | ||
|
||
[Input("telegram")] | ||
public Input<Inputs.TelegramConfigArgs>? Telegram { get; set; } | ||
|
||
[Input("twilio")] | ||
public Input<Inputs.TwilioConfigArgs>? Twilio { get; set; } | ||
|
||
public NotificationConfigArgs() | ||
{ | ||
} | ||
public static new NotificationConfigArgs Empty => new NotificationConfigArgs(); | ||
} | ||
} |
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,24 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class PagerDutyConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("integrationKey", required: true)] | ||
public Input<string> IntegrationKey { get; set; } = null!; | ||
|
||
public PagerDutyConfigArgs() | ||
{ | ||
} | ||
public static new PagerDutyConfigArgs Empty => new PagerDutyConfigArgs(); | ||
} | ||
} |
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,24 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class SlackConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("webhookUrl", required: true)] | ||
public Input<string> WebhookUrl { get; set; } = null!; | ||
|
||
public SlackConfigArgs() | ||
{ | ||
} | ||
public static new SlackConfigArgs Empty => new SlackConfigArgs(); | ||
} | ||
} |
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,27 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class TelegramConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("botToken", required: true)] | ||
public Input<string> BotToken { get; set; } = null!; | ||
|
||
[Input("chatId", required: true)] | ||
public Input<string> ChatId { get; set; } = null!; | ||
|
||
public TelegramConfigArgs() | ||
{ | ||
} | ||
public static new TelegramConfigArgs Empty => new TelegramConfigArgs(); | ||
} | ||
} |
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,33 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class TwilioConfigArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("accountSid", required: true)] | ||
public Input<string> AccountSid { get; set; } = null!; | ||
|
||
[Input("authToken", required: true)] | ||
public Input<string> AuthToken { get; set; } = null!; | ||
|
||
[Input("fromNumber", required: true)] | ||
public Input<string> FromNumber { get; set; } = null!; | ||
|
||
[Input("toNumber", required: true)] | ||
public Input<string> ToNumber { get; set; } = null!; | ||
|
||
public TwilioConfigArgs() | ||
{ | ||
} | ||
public static new TwilioConfigArgs Empty => new TwilioConfigArgs(); | ||
} | ||
} |
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,53 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Inputs | ||
{ | ||
|
||
public sealed class WatchtowerFlagsArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("activeStakeAlertThreshold")] | ||
public Input<int>? ActiveStakeAlertThreshold { get; set; } | ||
|
||
[Input("ignoreHttpBadGateway")] | ||
public Input<bool>? IgnoreHttpBadGateway { get; set; } | ||
|
||
[Input("interval")] | ||
public Input<int>? Interval { get; set; } | ||
|
||
[Input("minimumValidatorIdentityBalance")] | ||
public Input<int>? MinimumValidatorIdentityBalance { get; set; } | ||
|
||
[Input("monitorActiveStake")] | ||
public Input<bool>? MonitorActiveStake { get; set; } | ||
|
||
[Input("nameSuffix")] | ||
public Input<string>? NameSuffix { get; set; } | ||
|
||
[Input("rpcTimeout")] | ||
public Input<int>? RpcTimeout { get; set; } | ||
|
||
[Input("unhealthyThreshold")] | ||
public Input<int>? UnhealthyThreshold { get; set; } | ||
|
||
[Input("validatorIdentity", required: true)] | ||
private InputList<string>? _validatorIdentity; | ||
public InputList<string> ValidatorIdentity | ||
{ | ||
get => _validatorIdentity ?? (_validatorIdentity = new InputList<string>()); | ||
set => _validatorIdentity = value; | ||
} | ||
|
||
public WatchtowerFlagsArgs() | ||
{ | ||
} | ||
public static new WatchtowerFlagsArgs Empty => new WatchtowerFlagsArgs(); | ||
} | ||
} |
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,25 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class DiscordConfig | ||
{ | ||
public readonly string WebhookUrl; | ||
|
||
[OutputConstructor] | ||
private DiscordConfig(string webhookUrl) | ||
{ | ||
WebhookUrl = webhookUrl; | ||
} | ||
} | ||
} |
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,42 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class NotificationConfig | ||
{ | ||
public readonly Outputs.DiscordConfig? Discord; | ||
public readonly Outputs.PagerDutyConfig? PagerDuty; | ||
public readonly Outputs.SlackConfig? Slack; | ||
public readonly Outputs.TelegramConfig? Telegram; | ||
public readonly Outputs.TwilioConfig? Twilio; | ||
|
||
[OutputConstructor] | ||
private NotificationConfig( | ||
Outputs.DiscordConfig? discord, | ||
|
||
Outputs.PagerDutyConfig? pagerDuty, | ||
|
||
Outputs.SlackConfig? slack, | ||
|
||
Outputs.TelegramConfig? telegram, | ||
|
||
Outputs.TwilioConfig? twilio) | ||
{ | ||
Discord = discord; | ||
PagerDuty = pagerDuty; | ||
Slack = slack; | ||
Telegram = telegram; | ||
Twilio = twilio; | ||
} | ||
} | ||
} |
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,25 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class PagerDutyConfig | ||
{ | ||
public readonly string IntegrationKey; | ||
|
||
[OutputConstructor] | ||
private PagerDutyConfig(string integrationKey) | ||
{ | ||
IntegrationKey = integrationKey; | ||
} | ||
} | ||
} |
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,25 @@ | ||
// *** WARNING: this file was generated by pulumi. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
using Pulumi; | ||
|
||
namespace ABKLabs.Svmkit.Watchtower.Outputs | ||
{ | ||
|
||
[OutputType] | ||
public sealed class SlackConfig | ||
{ | ||
public readonly string WebhookUrl; | ||
|
||
[OutputConstructor] | ||
private SlackConfig(string webhookUrl) | ||
{ | ||
WebhookUrl = webhookUrl; | ||
} | ||
} | ||
} |
Oops, something went wrong.