Showing 92 of 92 total issues
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 execV1StatefulSetResource
has 128 lines of code (exceeds 50 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) {
name := "StatefulSet"
client := k.AppsV1().StatefulSets(namespace)
Function execV2BetaDeploymentResource
has 128 lines of code (exceeds 50 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) {
name := "Deployment"
client := k.AppsV1beta2().Deployments(namespace)
Function execV1Beta1StatefulSetResource
has 128 lines of code (exceeds 50 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) {
name := "StatefulSet"
client := k.AppsV1beta1().StatefulSets(namespace)
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 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 execV1RbacRoleResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1RbacRoleResouce(k kubernetes.Interface, objdep *v1rbac.Role, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "Role"
client := k.RbacV1().Roles(namespace)
Function execV1Beta1StorageResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1Beta1StorageResouce(k kubernetes.Interface, objdep *storagev1b1.StorageClass, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "StorageClass"
client := k.StorageV1beta1().StorageClasses()
Function execV1ServiceAccountResource
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1ServiceAccountResource(k kubernetes.Interface, objdep *v1.ServiceAccount, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "ServiceAccount"
client := k.CoreV1().ServiceAccounts(namespace)
Function execV1HorizontalPodAutoscaler
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1HorizontalPodAutoscaler(k kubernetes.Interface, objdep *autoscalingv1.HorizontalPodAutoscaler, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "HorizontalPodAutoscaler"
client := k.AutoscalingV1().HorizontalPodAutoscalers(namespace)
Function execV1RbacRoleBindingResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1RbacRoleBindingResouce(k kubernetes.Interface, objdep *v1rbac.RoleBinding, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "RoleBinding"
client := k.RbacV1().RoleBindings(namespace)
Function execV1PersistentVolumeResource
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1PersistentVolumeResource(k kubernetes.Interface, objdep *v1.PersistentVolume, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "PersistentVolume"
client := k.CoreV1().PersistentVolumes()
Function execV1AuthClusterRoleResouce
has 101 lines of code (exceeds 50 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) {
name := "ClusterRole"
client := k.RbacV1().ClusterRoles()
Function execV1ServiceResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1ServiceResouce(k kubernetes.Interface, objdep *v1.Service, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "Service"
client := k.CoreV1().Services(namespace)
Function execV1RbacClusterRoleBindingResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1RbacClusterRoleBindingResouce(k kubernetes.Interface, objdep *v1rbac.ClusterRoleBinding, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "ClusterRoleBinding"
client := k.RbacV1().ClusterRoleBindings()
Function execV1StorageResource
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1StorageResource(k kubernetes.Interface, objdep *storagev1.StorageClass, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "StorageClass"
client := k.StorageV1().StorageClasses()
Function execV1Beta1PodDisruptionBudgetResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1Beta1PodDisruptionBudgetResouce(k kubernetes.Interface, objdep *v1polbeta.PodDisruptionBudget, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "PodDisruptionBudget"
client := k.PolicyV1beta1().PodDisruptionBudgets(namespace)
Function execV1SecretResource
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1SecretResource(k kubernetes.Interface, objdep *v1.Secret, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "Secret"
client := k.CoreV1().Secrets(namespace)
Function execV1Beta1IngressResouce
has 101 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1Beta1IngressResouce(k kubernetes.Interface, objdep *v1beta1.Ingress, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "Ingress"
client := k.ExtensionsV1beta1().Ingresses(namespace)
Function execV1Beta1CronJob
has 94 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func execV1Beta1CronJob(k kubernetes.Interface, objdep *v1beta1.CronJob, namespace string, opts configuration.Options, commandFlag configuration.CommandFlag) (state.State, error) {
name := "CronJob"
client := k.BatchV1beta1().CronJobs(namespace)