Documentation ¶
Index ¶
- type Helm
- func (_m *Helm) Exec(subCommand string) (string, error)
- func (_m *Helm) GetAvailableChartVersions(chartName string) ([]*interfaces.HelmAvailableChartVersion, error)
- func (_m *Helm) GetExecConfig() *interfaces.HelmExecConfig
- func (_m *Helm) GetReleaseStatus(chartName string, chartNamespace string) (*interfaces.HelmReleaseStatus, error)
- func (_m *Helm) Initialize(execConfig *interfaces.HelmExecConfig, ...) error
- type Kubernetes
- func (_m *Kubernetes) EnsureNamespace(name string) error
- func (_m *Kubernetes) FindConfigMap(name string, namespace string, withKey string, withValue string) (*v1.ConfigMap, error)
- func (_m *Kubernetes) GetSecretKeyValue(secretName string, namespace string, dataKey string) (string, error)
- func (_m *Kubernetes) Initialize(kubeconfigPath string, kubeContext string) error
- func (_m *Kubernetes) InitializeLogConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
- func (_m *Kubernetes) InitializeShipConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
- func (_m *Kubernetes) IsRetryError(err error) bool
- func (_m *Kubernetes) PatchConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
- type Manifest
- func (_m *Manifest) Create(initializeCharts []string) (string, error)
- func (_m *Manifest) GetName() string
- func (_m *Manifest) Load(manifestContent string) error
- func (_m *Manifest) Release(kubernetes interfaces.Kubernetes, helm interfaces.Helm) []*interfaces.ManifestReleaseError
- func (_m *Manifest) SetLogger(log *logger.Logger)
- func (_m *Manifest) SetTempDirectory(tempDirectory string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helm ¶
Helm is an autogenerated mock type for the Helm type
func (*Helm) GetAvailableChartVersions ¶
func (_m *Helm) GetAvailableChartVersions(chartName string) ([]*interfaces.HelmAvailableChartVersion, error)
GetAvailableChartVersions provides a mock function with given fields: chartName
func (*Helm) GetExecConfig ¶
func (_m *Helm) GetExecConfig() *interfaces.HelmExecConfig
GetExecConfig provides a mock function with given fields:
func (*Helm) GetReleaseStatus ¶
func (_m *Helm) GetReleaseStatus(chartName string, chartNamespace string) (*interfaces.HelmReleaseStatus, error)
GetReleaseStatus provides a mock function with given fields: chartName, chartNamespace
func (*Helm) Initialize ¶
func (_m *Helm) Initialize(execConfig *interfaces.HelmExecConfig, chartsSource *interfaces.HelmChartsSource) error
Initialize provides a mock function with given fields: execConfig, chartsSource
type Kubernetes ¶
Kubernetes is an autogenerated mock type for the Kubernetes type
func (*Kubernetes) EnsureNamespace ¶
func (_m *Kubernetes) EnsureNamespace(name string) error
EnsureNamespace provides a mock function with given fields: name
func (*Kubernetes) FindConfigMap ¶
func (_m *Kubernetes) FindConfigMap(name string, namespace string, withKey string, withValue string) (*v1.ConfigMap, error)
FindConfigMap provides a mock function with given fields: name, namespace, withKey, withValue
func (*Kubernetes) GetSecretKeyValue ¶
func (_m *Kubernetes) GetSecretKeyValue(secretName string, namespace string, dataKey string) (string, error)
GetSecretKeyValue provides a mock function with given fields: secretName, namespace, dataKey
func (*Kubernetes) Initialize ¶
func (_m *Kubernetes) Initialize(kubeconfigPath string, kubeContext string) error
Initialize provides a mock function with given fields: kubeconfigPath, kubeContext
func (*Kubernetes) InitializeLogConfigMap ¶
func (_m *Kubernetes) InitializeLogConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
InitializeLogConfigMap provides a mock function with given fields: name, namespace, data
func (*Kubernetes) InitializeShipConfigMap ¶
func (_m *Kubernetes) InitializeShipConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
InitializeShipConfigMap provides a mock function with given fields: name, namespace, data
func (*Kubernetes) IsRetryError ¶
func (_m *Kubernetes) IsRetryError(err error) bool
IsRetryError provides a mock function with given fields: err
func (*Kubernetes) PatchConfigMap ¶
func (_m *Kubernetes) PatchConfigMap(name string, namespace string, data map[string]string) (*v1.ConfigMap, error)
PatchConfigMap provides a mock function with given fields: name, namespace, data
type Manifest ¶
Manifest is an autogenerated mock type for the Manifest type
func (*Manifest) Release ¶
func (_m *Manifest) Release(kubernetes interfaces.Kubernetes, helm interfaces.Helm) []*interfaces.ManifestReleaseError
Release provides a mock function with given fields: kubernetes, helm
func (*Manifest) SetTempDirectory ¶
SetTempDirectory provides a mock function with given fields: tempDirectory