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