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
| $ErrorActionPreference = "Stop" | |
| function Invoke-DownloadFileCore{ | |
| param( | |
| [string]$url, | |
| [string]$output, | |
| [bool]$skipTlsValidation, | |
| [X509Certificate]$certificate) | |
| $code = @' | |
| using System; |
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
| product=stemcells-ubuntu-xenial | |
| version=250 | |
| products=`cat stemcells.json | jq ".[] | select(.slug == \"$product\").versions | .[] | select(.version == $version).products | .[]" -r` | |
| for product in $products | |
| do | |
| cat $product | |
| done |
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
| apiVersion: dapr.io/v1alpha1 | |
| kind: Component | |
| metadata: | |
| name: gomemory | |
| spec: | |
| type: state.gomemory | |
| plugin: true | |
| version: v1 |
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
| using System; | |
| using System.Collections.Concurrent; | |
| public class Program | |
| { | |
| public static void Main() | |
| { | |
| ILogger logger = new ConsoleLogger(); | |
| IServicePartitionResolver servicePartitionResolver = new ServicePartitionResolver(); | |
| servicePartitionResolver = new ResilientServicePartitionResolver(servicePartitionResolver, 3); |
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
| package main | |
| type option map[string]any | |
| const transformerKey string = "transformer" | |
| func (option) transformerOption() {} | |
| type TransformerOption interface { | |
| transformerOption() |
OlderNewer