Showing 92 of 92 total issues
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) {
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) {
Function selectAndExecute
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func selectAndExecute(execute kinds.Execute, deployment kinds.Application, opt configuration.Options,
clusterName string, commandFlag configuration.CommandFlag, repoName string) {
Function execV1StatefulSetResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1StatefulSetResource(k kubernetes.Interface, objdep *appsv1.StatefulSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
Function execV2BetaDeploymentResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV2BetaDeploymentResource(k kubernetes.Interface, objdep *v1beta2.Deployment, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
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) {
Function ExecuteKubernetesAction
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func ExecuteKubernetesAction(action kinds.Execute, clusterName string,
deployment kinds.Application,
commandFlag configuration.CommandFlag, opt configuration.Options, repoName string) {
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) {
Function execV1Beta1StatefulSetResource
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1Beta1StatefulSetResource(k kubernetes.Interface, objdep *v1beta1.StatefulSet, namespace string,
opts configuration.Options, commandFlag configuration.CommandFlag, shouldAwaitDeployment bool) (state.State, error) {
Function executeActionList
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func executeActionList(actionList kinds.ActionList, deployment kinds.Application, opt configuration.Options,
clusterName string, commandFlag configuration.CommandFlag, remoteVCSRepoName string) {
Function LoadConfigurationFromFile
has 6 return statements (exceeds 4 allowed). Open
Open
func LoadConfigurationFromFile(path string, c *Configuration) error {
logger.Info(fmt.Sprintf("Loading %s", path))
bytes, err := ioutil.ReadFile(path)
if err != nil {
return err
Function execV1ConfigMapResource
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1ConfigMapResource(k kubernetes.Interface, objdep *v1.ConfigMap, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Function execV1Beta1StorageResouce
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1Beta1StorageResouce(k kubernetes.Interface, objdep *storagev1b1.StorageClass, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Function execV1AuthClusterRoleResouce
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1AuthClusterRoleResouce(k kubernetes.Interface, objdep *auth_v1.ClusterRole, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Function execV1Beta1CronJob
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1Beta1CronJob(k kubernetes.Interface, objdep *v1beta1.CronJob, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Function execV1RbacClusterRoleBindingResouce
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1RbacClusterRoleBindingResouce(k kubernetes.Interface, objdep *v1rbac.ClusterRoleBinding, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
Function execV1Beta1PodDisruptionBudgetResouce
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1Beta1PodDisruptionBudgetResouce(k kubernetes.Interface, objdep *v1polbeta.PodDisruptionBudget, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
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) {
Function execV1NamespaceResource
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func execV1NamespaceResource(k kubernetes.Interface, objdep *v1.Namespace, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {