platform/v1beta1-daemonset.go
Function execV1DaemonSetResource
has 108 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1DaemonSetResource(k kubernetes.Interface, objdep *v1beta1.DaemonSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "DaemonSet"
client := k.ExtensionsV1beta1().DaemonSets(namespace)
Function execV1DaemonSetResource
has 23 return statements (exceeds 4 allowed). Open
Open
func execV1DaemonSetResource(k kubernetes.Interface, objdep *v1beta1.DaemonSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "DaemonSet"
client := k.ExtensionsV1beta1().DaemonSets(namespace)
Function execV1DaemonSetResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1DaemonSetResource(k kubernetes.Interface, objdep *v1beta1.DaemonSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {