Documentation
¶
Index ¶
- func FetchRootShard(ctx context.Context, client ctrlruntimeclient.Client, namespace string, ...) (metav1.Condition, *operatorv1alpha1.RootShard)
- func GetDeploymentAvailableCondition(ctx context.Context, client ctrlruntimeclient.Client, key types.NamespacedName) (metav1.Condition, error)
- func GetRootShardChildren(ctx context.Context, client ctrlruntimeclient.Client, ...) ([]operatorv1alpha1.Shard, error)
- func GetTestScheme() *runtime.Scheme
- func UpdateCondition(conditions []metav1.Condition, newCondition metav1.Condition) []metav1.Condition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchRootShard ¶
func FetchRootShard(ctx context.Context, client ctrlruntimeclient.Client, namespace string, ref *corev1.LocalObjectReference) (metav1.Condition, *operatorv1alpha1.RootShard)
func GetDeploymentAvailableCondition ¶
func GetDeploymentAvailableCondition(ctx context.Context, client ctrlruntimeclient.Client, key types.NamespacedName) (metav1.Condition, error)
func GetRootShardChildren ¶
func GetRootShardChildren(ctx context.Context, client ctrlruntimeclient.Client, rootShard *operatorv1alpha1.RootShard) ([]operatorv1alpha1.Shard, error)
GetRootShardChildren returns all shards that are currently registered with the given root shard.
func GetTestScheme ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.