mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-07-29 03:22:53 +00:00
- Add WebhookAuthenticator unit tests, update generated code - Add validateTLSNegotiation(), update tests - Update validateTLSNegotiation, add unit tests, factor out helpers - Update generated code
15 lines
275 B
Go
15 lines
275 B
Go
// Copyright 2024 the Pinniped contributors. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package testlogger
|
|
|
|
import "strings"
|
|
|
|
func LogLines(logs string) []string {
|
|
if len(logs) == 0 {
|
|
return nil
|
|
}
|
|
|
|
return strings.Split(strings.TrimSpace(logs), "\n")
|
|
}
|