()
| 57 | } |
| 58 | |
| 59 | func ExampleNew() { |
| 60 | _ = func() { |
| 61 | ch, _ := credhub.New( |
| 62 | "https://example.com", |
| 63 | credhub.SkipTLSValidation(true), |
| 64 | credhub.Auth(auth.UaaClientCredentials("client-id", "client-secret")), |
| 65 | ) |
| 66 | |
| 67 | fmt.Println("Connected to ", ch.ApiURL) |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | func ExampleCredHub_Request() { |
| 72 | _ = func() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…