Documentation ¶
Index ¶
- Variables
- func BuildAndSetClients() (versioned.Interface, clientset.Interface)
- func Failf(format string, args ...interface{})
- func HOCreateRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
- func HOCreateRedisNodeServiceAccount(client clientset.Interface, rediscluster *rapi.RedisCluster) func() error
- func HOIsPodSpecUpdated(client clientset.Interface, rediscluster *rapi.RedisCluster, imageTag string) func() error
- func HOIsRedisClusterPodDisruptionBudgetCreated(client clientset.Interface, rediscluster *rapi.RedisCluster) func() error
- func HOIsRedisClusterStarted(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
- func HOUpdateConfigRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, ...) func() error
- func HOUpdateRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
- func LogAndReturnErrorf(format string, args ...interface{}) error
- func Logf(format string, args ...interface{})
- func NewRedisCluster(name, namespace, tag string, nbMaster, replication int32) *rapi.RedisCluster
- type Framework
Constants ¶
This section is empty.
Variables ¶
var FrameworkContext frameworkContextType
FrameworkContext stores globally the framework context
Functions ¶
func BuildAndSetClients ¶
BuildAndSetClients builds and initilize rediscluster and kube client
func Failf ¶
func Failf(format string, args ...interface{})
Failf reports a failure in the current e2e
func HOCreateRedisCluster ¶
func HOCreateRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
HOCreateRedisCluster is an higher order func that returns the func to create a RedisCluster
func HOCreateRedisNodeServiceAccount ¶
func HOCreateRedisNodeServiceAccount(client clientset.Interface, rediscluster *rapi.RedisCluster) func() error
HOCreateRedisNodeServiceAccount is an higher order func that returns the func to create the serviceaccount assiated to the redis-node pod.
func HOIsPodSpecUpdated ¶
func HOIsPodSpecUpdated(client clientset.Interface, rediscluster *rapi.RedisCluster, imageTag string) func() error
HOIsPodSpecUpdated use to check if a all the RedisCluster pod have the new PodSpec
func HOIsRedisClusterPodDisruptionBudgetCreated ¶
func HOIsRedisClusterPodDisruptionBudgetCreated(client clientset.Interface, rediscluster *rapi.RedisCluster) func() error
HOIsRedisClusterPodDisruptionBudgetCreated is an higher order func that returns the func that checks whether PodDisruptionBudget associated to the the RedisCluster have been created properly.
func HOIsRedisClusterStarted ¶
func HOIsRedisClusterStarted(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
HOIsRedisClusterStarted is an higher order func that returns the func that checks whether RedisCluster is started and configured properly
func HOUpdateConfigRedisCluster ¶
func HOUpdateConfigRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, nbmaster, replicas *int32) func() error
HOUpdateConfigRedisCluster is an higher order func that returns the func to update the RedisCluster configuration
func HOUpdateRedisCluster ¶
func HOUpdateRedisCluster(client versioned.Interface, rediscluster *rapi.RedisCluster, namespace string) func() error
HOUpdateRedisCluster is an higher order func that returns the func to update a RedisCluster
func LogAndReturnErrorf ¶
LogAndReturnErrorf logs and return an error
func NewRedisCluster ¶
func NewRedisCluster(name, namespace, tag string, nbMaster, replication int32) *rapi.RedisCluster
NewRedisCluster builds and returns a new RedisCluster instance