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