package
0.0.0-20250403091405-491dc5e31ac3
Repository: https://github.com/litmuschaos/litmus-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CheckLoadPercentage checks the load percentage on every replicas.
CreateLivenessPod will create a cassandra liveness deployment.
CreateLivenessService will create Cassandra liveness service.
DeleteLivenessDeployment deletes the livenes deployments and wait for its termination.
DeleteLivenessService deletes the liveness service and wait for its termination.
GetApplicationPodName will return the name of first application pod.
GetApplicationReplicaCount will return the replica count of the sts application.
GetLivenessPodResourceVersion will return the resource version of the liveness pod.
GetLoadDistribution will get the load distribution on all the replicas of the application pod in an array formats.
GetServiceClusterIP will return the cluster IP of the liveness service.
LivenessCheck will create an external liveness pod which will continuously check for the liveness of cassandra statefulset.
LivenessCleanup will check the status of liveness pod cycle and wait till the cycle comes to the complete state At last it removes/cleanup the liveness deploy and svc.
NodeToolStatusCheck checks for the distribution of the load on the ring.
ResourceVersionCheck compare the resource version for target pods before and after chaos.
WaitTillCycleComplete will check the status of liveness pod cycle Wait till the cycle come to the complete state.