github.com/lzy4123/fabric@v2.1.1+incompatible/integration/runner/defaults.go (about)

     1  /*
     2  Copyright IBM Corp. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package runner
     8  
     9  import (
    10  	"time"
    11  
    12  	"github.com/hyperledger/fabric/integration/helpers"
    13  )
    14  
    15  const DefaultStartTimeout = 45 * time.Second
    16  
    17  // DefaultNamer is the default naming function.
    18  var DefaultNamer NameFunc = helpers.UniqueName
    19  
    20  // A NameFunc is used to generate container names.
    21  type NameFunc func() string