Skip to content

Commit

Permalink
Fix windows unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Levy <[email protected]>
  • Loading branch information
heymarcel committed Sep 12, 2024
1 parent c354b79 commit cf7308a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cmd/spire-server/cli/entry/util_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
-hint string
The entry hint, used to disambiguate entries with the same SPIFFE ID
-jwtSVIDTTL int
The lifetime, in seconds, for JWT-SVIDs issued based on this registration entry. Overrides ttl flag
The lifetime, in seconds, for JWT-SVIDs issued based on this registration entry.
-namedPipeName string
Pipe name of the SPIRE Server API named pipe (default "\\spire-server\\private\\api")
-node
Expand All @@ -36,10 +36,8 @@ const (
The SPIFFE ID that this record represents
-storeSVID
A boolean value that, when set, indicates that the resulting issued SVID from this entry must be stored through an SVIDStore plugin
-ttl int
The lifetime, in seconds, for SVIDs issued based on this registration entry. This flag is deprecated in favor of x509SVIDTTL and jwtSVIDTTL and will be removed in a future version
-x509SVIDTTL int
The lifetime, in seconds, for x509-SVIDs issued based on this registration entry. Overrides ttl flag
The lifetime, in seconds, for x509-SVIDs issued based on this registration entry.
`
showUsage = `Usage of entry show:
-downstream
Expand Down Expand Up @@ -83,7 +81,7 @@ const (
-hint string
The entry hint, used to disambiguate entries with the same SPIFFE ID
-jwtSVIDTTL int
The lifetime, in seconds, for JWT-SVIDs issued based on this registration entry. Overrides ttl flag
The lifetime, in seconds, for JWT-SVIDs issued based on this registration entry.
-namedPipeName string
Pipe name of the SPIRE Server API named pipe (default "\\spire-server\\private\\api")
-output value
Expand All @@ -96,10 +94,8 @@ const (
The SPIFFE ID that this record represents
-storeSVID
A boolean value that, when set, indicates that the resulting issued SVID from this entry must be stored through an SVIDStore plugin
-ttl int
The lifetime, in seconds, for SVIDs issued based on this registration entry. This flag is deprecated in favor of x509SVIDTTL and jwtSVIDTTL and will be removed in a future version
-x509SVIDTTL int
The lifetime, in seconds, for x509-SVIDs issued based on this registration entry. Overrides ttl flag
The lifetime, in seconds, for x509-SVIDs issued based on this registration entry.
`
deleteUsage = `Usage of entry delete:
-entryID string
Expand Down

0 comments on commit cf7308a

Please sign in to comment.