github.com/extrame/fabric-ca@v2.0.0-alpha+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  
    13  // DefaultStartTimeout is the timeout period for starting a container
    14  const DefaultStartTimeout = 30 * time.Second
    15  
    16  // DefaultShutdownTimeout is the timeout period for stopping a container
    17  const DefaultShutdownTimeout = 10 * time.Second
    18  
    19  // DefaultNamer is the default naming function.
    20  var DefaultNamer NameFunc = UniqueName
    21  
    22  // A NameFunc is used to generate container names.
    23  type NameFunc func() string