Documentation ¶
Index ¶
- Constants
- type BackendManager
- func (m *BackendManager) GenerateNewDeployment(companion *kcmv1alpha1.Companion, backendImage string) (*kappsv1.Deployment, error)
- func (m *BackendManager) GenerateNewSecret(companion *kcmv1alpha1.Companion, config Config) (*kcorev1.Secret, error)
- func (m *BackendManager) GetBackendConfig(ctx context.Context) (*Config, error)
- type Config
- type Manager
Constants ¶
View Source
const BackendResourceName = "kyma-companion-backend"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendManager ¶
func (*BackendManager) GenerateNewDeployment ¶
func (m *BackendManager) GenerateNewDeployment(companion *kcmv1alpha1.Companion, backendImage string, ) (*kappsv1.Deployment, error)
func (*BackendManager) GenerateNewSecret ¶
func (m *BackendManager) GenerateNewSecret(companion *kcmv1alpha1.Companion, config Config) (*kcorev1.Secret, error)
func (*BackendManager) GetBackendConfig ¶
func (m *BackendManager) GetBackendConfig(ctx context.Context) (*Config, error)
type Manager ¶
type Manager interface { GenerateNewDeployment(companion *kcmv1alpha1.Companion, backendImage string) (*kappsv1.Deployment, error) GenerateNewSecret(companion *kcmv1alpha1.Companion, config Config) (*kcorev1.Secret, error) GetBackendConfig(ctx context.Context) (*Config, error) }
func NewBackendManager ¶
Click to show internal directories.
Click to hide internal directories.