Documentation
¶
Index ¶
- Variables
- func GetRestoreSystemAccountPassword(ctx context.Context, cli client.Reader, annotations map[string]string, ...) ([]byte, error)
- func IsOwnedByInstanceSet(obj client.Object) bool
- func ResolveServiceDefaultFields(oldSpec, newSpec *corev1.ServiceSpec)
- func SendWarningEventWithError(recorder record.EventRecorder, obj client.Object, reason string, err error)
- type MockReader
Constants ¶
This section is empty.
Variables ¶
View Source
var RequeueDuration = time.Millisecond * 1000
Functions ¶
func IsOwnedByInstanceSet ¶
IsOwnedByInstanceSet is used to judge if the obj is owned by the InstanceSet controller
func ResolveServiceDefaultFields ¶
func ResolveServiceDefaultFields(oldSpec, newSpec *corev1.ServiceSpec)
func SendWarningEventWithError ¶
func SendWarningEventWithError( recorder record.EventRecorder, obj client.Object, reason string, err error)
SendWarningEventWithError sends a warning event when occurs error.
Types ¶
type MockReader ¶
func (*MockReader) List ¶
func (r *MockReader) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
Click to show internal directories.
Click to hide internal directories.