Documentation ¶
Index ¶
- Constants
- func CurrentTimeUTC() time.Time
- func DeleteNilValues(m map[string]interface{}) map[string]interface{}
- type Controller
- func (cc *Controller) AllKubernetesProvidersWithTimeout(timeout time.Duration) ([]*kubernetes.Provider, error)
- func (cc *Controller) KubernetesProvider(account string) (*kubernetes.Provider, error)
- func (cc *Controller) KubernetesProviderWithTimeout(account string, timeout time.Duration) (*kubernetes.Provider, error)
Constants ¶
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 Front50Client front50.Client KubernetesController kubernetes.Controller SQLClient sql.Client }
Controller holds all non request-scoped objects.
func (*Controller) AllKubernetesProvidersWithTimeout ¶ added in v0.25.0
func (cc *Controller) AllKubernetesProvidersWithTimeout(timeout time.Duration) ([]*kubernetes.Provider, error)
AllKubernetesProvidersWithTimeout returns a all kubernetes providers, defining their client and clientset's timeouts to be the timeout passed in. If no timeout is passed this field is not set.
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. |
front50fakes
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. |