platform/v1betav1-deployment.go
Function execV1BetaDeploymentResource
has 128 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1BetaDeploymentResource(k kubernetes.Interface, objdep *v1betav1.Deployment, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "Deployment"
client := k.ExtensionsV1beta1().Deployments(namespace)
Function execV1BetaDeploymentResource
has 25 return statements (exceeds 4 allowed). Open
Open
func execV1BetaDeploymentResource(k kubernetes.Interface, objdep *v1betav1.Deployment, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
name := "Deployment"
client := k.ExtensionsV1beta1().Deployments(namespace)
Function execV1BetaDeploymentResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1BetaDeploymentResource(k kubernetes.Interface, objdep *v1betav1.Deployment, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {