platform/v1auth-clusterrole.go
Function execV1AuthClusterRoleResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1AuthClusterRoleResouce(k kubernetes.Interface, objdep *auth_v1.ClusterRole, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "ClusterRole"
client := k.RbacV1().ClusterRoles()
Function execV1AuthClusterRoleResouce
has 22 return statements (exceeds 4 allowed). Open
Open
func execV1AuthClusterRoleResouce(k kubernetes.Interface, objdep *auth_v1.ClusterRole, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "ClusterRole"
client := k.RbacV1().ClusterRoles()
Function execV1AuthClusterRoleResouce
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1AuthClusterRoleResouce(k kubernetes.Interface, objdep *auth_v1.ClusterRole, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {