platform/kubernetes.go
Function GenerateDeploymentPlan
has 59 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func GenerateDeploymentPlan(k kubernetes.Interface,
files []string, namespace string, opts configuration.Options,
commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) error {
var kubernetesResources []runtime.Object
Function DeployFromObject
has 57 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func DeployFromObject(k kubernetes.Interface, obj runtime.Object,
namespace string, opts configuration.Options,
commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
var response state.State
Function GenerateDeploymentPlan
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func GenerateDeploymentPlan(k kubernetes.Interface,
files []string, namespace string, opts configuration.Options,
commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) error {
Function DeployFromObject
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func DeployFromObject(k kubernetes.Interface, obj runtime.Object,
namespace string, opts configuration.Options,
commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {