Documentation ¶
Index ¶
- Constants
- Variables
- func CallWithRetry[T any](closure func() (T, error), maxAttempts int, retryDelay time.Duration) (T, error)
- func CreateOrUpdateSecret(k8sClient client.Client, futureSecret *apicorev1.Secret, ...) error
- func PrepareSecret(credentials *internal.ServiceManagerOperatorCredentials, clusterID string) (*apicorev1.Secret, error)
- type Job
- type Manager
- func (s *Manager) GetReconcileCandidates() ([]internal.Instance, error)
- func (s *Manager) MatchInstance(kymaName string) (*internal.Instance, error)
- func (s *Manager) ReconcileAll(jobReconciliationDelay time.Duration) (int, int, int, int, error)
- func (s *Manager) ReconcileSecretForInstance(instance *internal.Instance) (bool, error)
- type Watcher
Constants ¶
View Source
const ( BtpManagerSecretName = "sap-btp-manager" BtpManagerSecretNamespace = "kyma-system" )
Variables ¶
View Source
var ( BtpManagerLabels = map[string]string{"app.kubernetes.io/managed-by": keb, "app.kubernetes.io/watched-by": keb} BtpManagerAnnotations = map[string]string{"Warning": "This secret is generated. Do not edit!"} KymaGvk = schema.GroupVersionKind{Group: "operator.kyma-project.io", Version: "v1beta2", Kind: "Kyma"} )
Functions ¶
func CallWithRetry ¶
func CreateOrUpdateSecret ¶
func PrepareSecret ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetReconcileCandidates ¶
func (*Manager) MatchInstance ¶
func (*Manager) ReconcileAll ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func (*Watcher) ReactOnSkrEvent ¶
func (s *Watcher) ReactOnSkrEvent()
Click to show internal directories.
Click to hide internal directories.