github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/blockstorage/noauth/testing/fixtures.go (about)

     1  package testing
     2  
     3  // NoAuthResult is the expected result of the noauth Service Client
     4  type NoAuthResult struct {
     5  	TokenID  string
     6  	Endpoint string
     7  }
     8  
     9  var naTestResult = NoAuthResult{
    10  	TokenID:  "user:test",
    11  	Endpoint: "http://cinder:8776/v2/test/",
    12  }
    13  
    14  var naResult = NoAuthResult{
    15  	TokenID:  "admin:admin",
    16  	Endpoint: "http://cinder:8776/v2/admin/",
    17  }
    18  
    19  var errorResult = "CinderEndpoint is required"