platform/v1-statefulset.go
Function execV1StatefulSetResource
has 128 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1StatefulSetResource(k kubernetes.Interface, objdep *appsv1.StatefulSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "StatefulSet"
client := k.AppsV1().StatefulSets(namespace)
Function execV1StatefulSetResource
has 25 return statements (exceeds 4 allowed). Open
Open
func execV1StatefulSetResource(k kubernetes.Interface, objdep *appsv1.StatefulSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "StatefulSet"
client := k.AppsV1().StatefulSets(namespace)
Function execV1StatefulSetResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1StatefulSetResource(k kubernetes.Interface, objdep *appsv1.StatefulSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {