package
0.0.0-20190923072852-f651441f33d7
Repository: https://github.com/amadeusitgroup/redis-operator.git
Documentation: pkg.go.dev

# Functions

DefaultRedisCluster defaults RedisCluster.
IsRedisClusterDefaulted check if the RedisCluster is already defaulted.
NewInt32 use to instanciate a int32 pointer.
RegisterDeepCopies adds deep-copy functions to the given scheme.
Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

ClusterNameLabelKey Label key for the ClusterName.
ClusterStatusCalculatingRebalancing ClusterStatus Rebalancing.
ClusterStatusKO ClusterStatus KO.
ClusterStatusOK ClusterStatus OK.
ClusterStatusRebalancing ClusterStatus Rebalancing.
ClusterStatusRollingUpdate ClusterStatus RollingUpdate.
ClusterStatusScaling ClusterStatus Scaling.
NodesPlacementInfoBestEffort the cluster nodes placement is in best effort, it means you can have 2 masters (or more) on the same VM.
NodesPlacementInfoOptimal the cluster nodes placement is optimal, it means on master by VM.
PodSpecMD5LabelKey label key for the PodSpec MD5 hash.
RedisClusterNodeRoleMaster RedisCluster Master node role.
RedisClusterNodeRoleNone None node role.
RedisClusterNodeRoleSlave RedisCluster Master node role.
RedisClusterOK means the RedisCluster is in a good shape.
RedisClusterRebalancing means the RedisCluster is currenlty rebalancing slots and keys.
RedisClusterRollingUpdate means the RedisCluster is currenlty performing a rolling update of its nodes.
RedisClusterScaling means the RedisCluster is currenlty in a scaling stage.
ResourceKind represent the resource kind.
ResourcePlural is the id to indentify pluarals.
ResourceSingular represents the id for identify singular resource.
ResourceVersion represent the resource version.

# Variables

AddToScheme localSchemeBuilder AddToScheme.
SchemeBuilder localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
SchemeGroupVersion is group version used to register these objects.

# Structs

RedisCluster represents a Redis Cluster +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
RedisClusterClusterStatus represent the Redis Cluster status.
RedisClusterCondition represent the condition of the RedisCluster.
RedisClusterList implements list of RedisCluster.
RedisClusterNode represent a RedisCluster Node.
RedisClusterSpec contains RedisCluster specification.
RedisClusterStatus contains RedisCluster status.

# Type aliases

ClusterStatus Redis Cluster status.
NodesPlacementInfo Redis Nodes placement mode information.
RedisClusterConditionType is the type of RedisClusterCondition.
RedisClusterNodeRole RedisCluster Node Role type.