Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-crt-dnldr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
k8s
k8s-crt-dnldr
Commits
cc00e983
Commit
cc00e983
authored
Jun 15, 2023
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go fmt changes (comments only).
parent
2f53c40c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
client.go
pkg/k8s/client.go
+6
-6
worker.go
pkg/k8s/worker.go
+3
-3
No files found.
pkg/k8s/client.go
View file @
cc00e983
...
@@ -110,12 +110,12 @@ type Watcher struct {
...
@@ -110,12 +110,12 @@ type Watcher struct {
// NewWatcher creates an API client.
// NewWatcher creates an API client.
//
//
//
log: logger initialized at startup
//
log: logger initialized at startup
//
kubeClient: k8s client initialized at startup
//
kubeClient: k8s client initialized at startup
//
ns: namespace in which to watch Secrets (empty for all)
//
ns: namespace in which to watch Secrets (empty for all)
//
base: directory into which PEM files are stored
//
base: directory into which PEM files are stored
//
gid: group ID to be set in PEM file permissions, if >= 0
//
gid: group ID to be set in PEM file permissions, if >= 0
//
resyncPeriod: for the k8s informer (0s for no resync)
//
resyncPeriod: for the k8s informer (0s for no resync)
func
NewWatcher
(
func
NewWatcher
(
log
*
logrus
.
Logger
,
log
*
logrus
.
Logger
,
kubeClient
kubernetes
.
Interface
,
kubeClient
kubernetes
.
Interface
,
...
...
pkg/k8s/worker.go
View file @
cc00e983
...
@@ -197,9 +197,9 @@ type NamespaceQueues struct {
...
@@ -197,9 +197,9 @@ type NamespaceQueues struct {
// NewNamespaceQueues creates a NamespaceQueues object.
// NewNamespaceQueues creates a NamespaceQueues object.
//
//
//
log: logger initialized at startup
//
log: logger initialized at startup
//
files: for managing PEM files
//
files: for managing PEM files
//
recorder: Event broadcaster initialized at startup
//
recorder: Event broadcaster initialized at startup
func
NewNamespaceQueues
(
func
NewNamespaceQueues
(
log
*
logrus
.
Logger
,
log
*
logrus
.
Logger
,
files
*
pem
.
Files
,
files
*
pem
.
Files
,
...
...
Write
Preview
Markdown
is supported
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