fixing gofmt check

Signed-off-by: Adarsh kumar <adarsh.kumar@harness.io>
This commit is contained in:
Adarsh kumar 2023-05-24 00:39:06 +05:30
parent 852d1203d4
commit ccd88854bd
6 changed files with 20 additions and 20 deletions

View File

@ -15,8 +15,8 @@ limitations under the License.
*/
// Package v1alpha1 contains API Schema definitions for the litmuschaos.io v1alpha1 API group
//+kubebuilder:object:generate=true
//+groupName=litmuschaos.io
// +kubebuilder:object:generate=true
// +groupName=litmuschaos.io
package v1alpha1
import (

View File

@ -37,14 +37,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
// of clientsets, like in:
//
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
//
// kclientset, _ := kubernetes.NewForConfig(c)
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
// kclientset, _ := kubernetes.NewForConfig(c)
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
//
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
// correctly.

View File

@ -37,14 +37,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
// of clientsets, like in:
//
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
// import (
// "k8s.io/client-go/kubernetes"
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
// )
//
// kclientset, _ := kubernetes.NewForConfig(c)
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
// kclientset, _ := kubernetes.NewForConfig(c)
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
//
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
// correctly.

View File

@ -49,7 +49,7 @@ var (
ResultCRDName = "chaosresults.litmuschaos.io"
)
//EngineInfo Related information
// EngineInfo Related information
type EngineInfo struct {
Instance *litmuschaosv1alpha1.ChaosEngine
AppInfo litmuschaosv1alpha1.ApplicationParams

View File

@ -36,7 +36,7 @@ import (
corev1 "k8s.io/api/core/v1"
)
//VolumeOpts is a strcuture for all volume related operations
// VolumeOpts is a strcuture for all volume related operations
type VolumeOpts struct {
VolumeMounts []corev1.VolumeMount
VolumeBuilders []*volume.Builder

View File

@ -119,7 +119,7 @@ var _ = BeforeSuite(func() {
klog.Infoln("Chaos-Operator is in running state")
})
//BDD Tests to check secondary resources
// BDD Tests to check secondary resources
var _ = Describe("BDD on chaos-operator", func() {
// BDD TEST CASE 1
@ -505,7 +505,7 @@ var _ = Describe("BDD on chaos-operator", func() {
})
//Deleting all unused resources
// Deleting all unused resources
var _ = AfterSuite(func() {
//Deleting Pod Delete sa