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
"zookeeper": { | |
"description": "Configuration of the ZooKeeper cluster.", | |
"type": "object", | |
"required": [ | |
"replicas", | |
"storage" | |
], | |
"properties": { | |
"config": { | |
"description": "The ZooKeeper broker config. Properties with the following prefixes cannot be set: server., dataDir, dataLogDir, clientPort, authProvider, quorum.auth, requireClientAuthScheme, snapshot.trust.empty, standaloneEnabled, reconfigEnabled, 4lw.commands.whitelist, secureClientPort, ssl., serverCnxnFactory, sslQuorum (with the exception of: ssl.protocol, ssl.quorum.protocol, ssl.enabledProtocols, ssl.quorum.enabledProtocols, ssl.ciphersuites, ssl.quorum.ciphersuites, ssl.hostnameVerification, ssl.quorum.hostnameVerification).", |
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
{ | |
"kind": "CustomResourceDefinition", | |
"apiVersion": "apiextensions.k8s.io/v1", | |
"metadata": { | |
"name": "servicebindings.operators.coreos.com", | |
"selfLink": "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/servicebindings.operators.coreos.com", | |
"uid": "8d92fd7d-e982-4ad5-9805-59fbdcdf02b1", | |
"resourceVersion": "39711", | |
"generation": 1, | |
"creationTimestamp": "2020-11-25T09:00:01Z", |
This file has been truncated, but you can view the full file.
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
// 20210524171832 | |
// https://console-openshift-console.apps.ci-ln-c0yckc2-f76d1.origin-ci-int-gce.dev.openshift.com/api/kubernetes/openapi/v2 | |
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Kubernetes", | |
"version": "v1.21.0" | |
}, | |
"paths": { |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Kubernetes", | |
"version": "v1.21.0" | |
}, | |
"paths": { | |
"/.well-known/openid-configuration/": { | |
"get": { | |
"description": "get service account issuer OpenID configuration, also known as the 'OIDC discovery doc'", |
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
import ( | |
"crypto/rand" | |
) | |
func GenerateRandomString(n int) string { | |
b := make([]rune, n) | |
letterRunes := []rune("abcdefghijklmnopqrstuvwxyz") | |
for i := range b { | |
// this error is ignored because it fails only when the 2nd arg of Int() is less then 0 | |
// which wont happen |
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
package main | |
type UserAction struct { | |
UserID string `dynamo:"ID,hash"` | |
Time time.Time `dynamo:",range"` | |
Seq int64 `dynamo:"Seq,range"` | |
UUID string | |
embeddedWithKeys | |
} |
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
package main | |
import ( | |
"github.com/aws/aws-sdk-go/service/dynamodb" | |
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute" | |
"fmt" | |
) | |
type Tpl struct { |
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
package main | |
import ( | |
"github.com/aws/aws-sdk-go/aws" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/dynamodb" | |
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute" | |
"fmt" | |
) |
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
pragma solidity ^0.4.15; | |
contract Ownable { | |
address public owner; | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. |
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
pragma solidity ^0.4.11; | |
contract Ownable { | |
address public owner; | |
/** | |
* @dev The Ownable constructor sets the original `owner` of the contract to the sender | |
* account. |
NewerOlder