platform/v1-persistentvolume.go
Function execV1PersistentVolumeResource
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1PersistentVolumeResource(k kubernetes.Interface, objdep *v1.PersistentVolume, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "PersistentVolume"
client := k.CoreV1().PersistentVolumes()
Function execV1PersistentVolumeResource
has 22 return statements (exceeds 4 allowed). Open
Open
func execV1PersistentVolumeResource(k kubernetes.Interface, objdep *v1.PersistentVolume, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "PersistentVolume"
client := k.CoreV1().PersistentVolumes()
Function execV1PersistentVolumeResource
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1PersistentVolumeResource(k kubernetes.Interface, objdep *v1.PersistentVolume, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {