Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for wrap (0.18 sec)

  1. bin/update_crds.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -e
    
    fail() {
      echo "$@" 1>&2
      exit 1
    }
    
    API_TMP="$(mktemp -d -u)"
    
    trap 'rm -rf "${API_TMP}"' EXIT
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    REPO="github.com/istio/api"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. common/scripts/kind_provisioner.sh

      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
      # Trap replaces any previous trap's, so we need to explicitly cleanup clusters here
      trap cleanup_kind_clusters EXIT
    
      function deploy_kind() {
        IDX="${1}"
        CLUSTER_NAME="${CLUSTER_NAMES[$IDX]}"
        CLUSTER_POD_SUBNET="${CLUSTER_POD_SUBNETS[$IDX]}"
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  3. bin/retry.sh

    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
       return 0
      else
       return 1
      fi
    }
    
    function retry {
      local tmpFile
      tmpFile=$(mktemp)
      trap 'rm -f "${tmpFile}"' EXIT
    
      local failureRegex="$1"
      shift
      local n=1
      local max=5
      while true; do
        unset SHELL # Don't let environment control which shell to use
        if isatty; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/util.go

    	Type         string `json:"type"`
    }
    
    // NewSecretItemBuilder returns a new builder to create a secret item
    func NewSecretItemBuilder() SecretItemBuilder {
    	return &secretItemBuilder{}
    }
    
    // SecretItemBuilder wraps the process of setting fields for the SecretItem
    // and builds the Metadata fields from the cert contents behind the scenes
    type SecretItemBuilder interface {
    	Name(string) SecretItemBuilder
    	Data(string) SecretItemBuilder
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	if v == nil || v.GetStructValue() == nil {
    		return asMyProtoValue(&structpb.Struct{Fields: make(map[string]*structpb.Value)})
    	}
    
    	return &myProtoValue{v.GetStructValue().Fields[key]}
    }
    
    // asMyProtoValue wraps a protobuf Struct so we may use it with keyAsStruct and keyAsString
    func asMyProtoValue(s *structpb.Struct) *myProtoValue {
    	return &myProtoValue{
    		&structpb.Value{
    			Kind: &structpb.Value_StructValue{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top