Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultChanSize = 100000 DefaultListTimeoutSeconds = 10 )
Variables ¶
This section is empty.
Functions ¶
func CurrentTimeUTC ¶
func DeleteNilValues ¶ added in v0.20.1
DeleteNilVaules returns the given map with all keys with nil values removed.
Types ¶
type Controller ¶
type Controller struct { ArcadeClient arcade.Client ArtifactCredentialsController artifact.CredentialsController FiatClient fiat.Client KubernetesController kubernetes.Controller SQLClient sql.Client }
Controller holds all non request-scoped objects.
func (*Controller) KubernetesProvider ¶
func (cc *Controller) KubernetesProvider(account string) (*kubernetes.Provider, error)
KubernetesProvider returns a kubernetes provider instance for a given account name. It instantiates a kubernetes Client and Clientset and attaches these instances to the provider.
func (*Controller) KubernetesProviderWithTimeout ¶
func (cc *Controller) KubernetesProviderWithTimeout(account string, timeout time.Duration) (*kubernetes.Provider, error)
KubernetesProviderWithTimeout returns a kubernetes provider, defining its client and clientset timeouts to be the timeout passed in. If no timeout is passed this field is not set.
Directories ¶
Path | Synopsis |
---|---|
arcadefakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
artifactfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
fiatfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
helmfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
cached/disk/diskfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
kubernetesfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
sqlfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.