Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
bc94cd58
Commit
bc94cd58
authored
Aug 21, 2017
by
Phillip Wittrock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More PR comments
parent
32c5d938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
clientcache.go
pkg/kubectl/cmd/util/clientcache.go
+3
-3
No files found.
pkg/kubectl/cmd/util/clientcache.go
View file @
bc94cd58
...
...
@@ -60,12 +60,12 @@ type ClientCache struct {
discoveryClientFactory
DiscoveryClientFactory
discoveryClient
discovery
.
DiscoveryInterface
kubernetesClientCache
K
ubernetesClientCache
kubernetesClientCache
k
ubernetesClientCache
}
//
K
ubernetesClientCache creates a new kubernetes.Clientset one time
//
k
ubernetesClientCache creates a new kubernetes.Clientset one time
// and then returns the result for all future requests
type
K
ubernetesClientCache
struct
{
type
k
ubernetesClientCache
struct
{
// once makes sure the client is only initialized once
once
sync
.
Once
// client is the cached client value
...
...
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