Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vault
Commits
d7b71519
Commit
d7b71519
authored
4 years ago
by
Jason O'Donnell
Browse files
Options
Download
Email Patches
Plain Diff
Remove chan from interface
parent
76d2c6b5
Branches unavailable
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
command/agent/cache/crypto/crypto.go
+1
-1
command/agent/cache/crypto/crypto.go
command/agent/cache/crypto/k8s.go
+1
-1
command/agent/cache/crypto/k8s.go
with
2 additions
and
2 deletions
+2
-2
command/agent/cache/crypto/crypto.go
+
1
-
1
View file @
d7b71519
...
...
@@ -12,7 +12,7 @@ type KeyManager interface {
GetKey
()
[]
byte
GetPersistentKey
()
[]
byte
Renewable
()
bool
Renewer
(
context
.
Context
,
chan
struct
{}
)
error
Renewer
(
context
.
Context
)
error
Encrypt
(
context
.
Context
,
[]
byte
,
[]
byte
)
([]
byte
,
error
)
Decrypt
(
context
.
Context
,
[]
byte
,
[]
byte
)
([]
byte
,
error
)
}
This diff is collapsed.
Click to expand it.
command/agent/cache/crypto/k8s.go
+
1
-
1
View file @
d7b71519
...
...
@@ -70,7 +70,7 @@ func (k *KubeEncryptionKey) Renewable() bool {
// Renewer is used when the encryption key type is renewable. Since Kubernetes
// keys aren't renewable, returning nothing.
func
(
k
*
KubeEncryptionKey
)
Renewer
(
ctx
context
.
Context
,
ch
chan
struct
{}
)
error
{
func
(
k
*
KubeEncryptionKey
)
Renewer
(
ctx
context
.
Context
)
error
{
return
nil
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help