Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Created October 31, 2017 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnozicka/d8376c2349a9cc94b9c4d3d7a1f53f2b to your computer and use it in GitHub Desktop.
Save tnozicka/d8376c2349a9cc94b9c4d3d7a1f53f2b to your computer and use it in GitHub Desktop.
k8s.io/client-go/tools/clientcmd/api
k8s.io/client-go/pkg/api
k8s.io/client-go/pkg/apis/authentication
k8s.io/client-go/pkg/apis/authorization
# k8s.io/client-go/tools/clientcmd/api
../../../k8s.io/client-go/tools/clientcmd/api/register.go:35:11: cannot use Config literal (type *Config) as type runtime.Object in argument to scheme.AddKnownTypes:
*Config does not implement runtime.Object (missing DeepCopyObject method)
k8s.io/client-go/pkg/apis/certificates
# k8s.io/client-go/pkg/apis/authorization
../../../k8s.io/client-go/pkg/apis/authorization/register.go:47:28: cannot use SelfSubjectAccessReview literal (type *SelfSubjectAccessReview) as type runtime.Object in argument to scheme.AddKnownTypes:
*SelfSubjectAccessReview does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/authorization/register.go:48:24: cannot use SubjectAccessReview literal (type *SubjectAccessReview) as type runtime.Object in argument to scheme.AddKnownTypes:
*SubjectAccessReview does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/authorization/register.go:49:29: cannot use LocalSubjectAccessReview literal (type *LocalSubjectAccessReview) as type runtime.Object in argument to scheme.AddKnownTypes:
*LocalSubjectAccessReview does not implement runtime.Object (missing DeepCopyObject method)
k8s.io/client-go/pkg/apis/policy
# k8s.io/client-go/pkg/apis/authentication
../../../k8s.io/client-go/pkg/apis/authentication/register.go:47:16: cannot use TokenReview literal (type *TokenReview) as type runtime.Object in argument to scheme.AddKnownTypes:
*TokenReview does not implement runtime.Object (missing DeepCopyObject method)
k8s.io/client-go/pkg/apis/rbac
# k8s.io/client-go/pkg/apis/policy
../../../k8s.io/client-go/pkg/apis/policy/register.go:49:24: cannot use PodDisruptionBudget literal (type *PodDisruptionBudget) as type runtime.Object in argument to scheme.AddKnownTypes:
*PodDisruptionBudget does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/policy/register.go:50:28: cannot use PodDisruptionBudgetList literal (type *PodDisruptionBudgetList) as type runtime.Object in argument to scheme.AddKnownTypes:
*PodDisruptionBudgetList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/policy/register.go:51:13: cannot use Eviction literal (type *Eviction) as type runtime.Object in argument to scheme.AddKnownTypes:
*Eviction does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/policy/zz_generated.deepcopy.go:132:17: cannot use val.DeepCopy() (type *v1.Time) as type v1.Time in assignment
k8s.io/client-go/pkg/apis/storage
# k8s.io/client-go/pkg/apis/certificates
../../../k8s.io/client-go/pkg/apis/certificates/register.go:48:30: cannot use CertificateSigningRequest literal (type *CertificateSigningRequest) as type runtime.Object in argument to scheme.AddKnownTypes:
*CertificateSigningRequest does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/certificates/register.go:49:34: cannot use CertificateSigningRequestList literal (type *CertificateSigningRequestList) as type runtime.Object in argument to scheme.AddKnownTypes:
*CertificateSigningRequestList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/certificates/zz_generated.deepcopy.go:71:22: cannot use in.LastUpdateTime.DeepCopy() (type *v1.Time) as type v1.Time in assignment
# k8s.io/client-go/pkg/apis/storage
../../../k8s.io/client-go/pkg/apis/storage/register.go:47:17: cannot use StorageClass literal (type *StorageClass) as type runtime.Object in argument to scheme.AddKnownTypes:
*StorageClass does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/storage/register.go:48:21: cannot use StorageClassList literal (type *StorageClassList) as type runtime.Object in argument to scheme.AddKnownTypes:
*StorageClassList does not implement runtime.Object (missing DeepCopyObject method)
# k8s.io/client-go/pkg/apis/rbac
../../../k8s.io/client-go/pkg/apis/rbac/register.go:47:9: cannot use Role literal (type *Role) as type runtime.Object in argument to scheme.AddKnownTypes:
*Role does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:48:16: cannot use RoleBinding literal (type *RoleBinding) as type runtime.Object in argument to scheme.AddKnownTypes:
*RoleBinding does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:49:20: cannot use RoleBindingList literal (type *RoleBindingList) as type runtime.Object in argument to scheme.AddKnownTypes:
*RoleBindingList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:50:13: cannot use RoleList literal (type *RoleList) as type runtime.Object in argument to scheme.AddKnownTypes:
*RoleList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:52:16: cannot use ClusterRole literal (type *ClusterRole) as type runtime.Object in argument to scheme.AddKnownTypes:
*ClusterRole does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:53:23: cannot use ClusterRoleBinding literal (type *ClusterRoleBinding) as type runtime.Object in argument to scheme.AddKnownTypes:
*ClusterRoleBinding does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:54:27: cannot use ClusterRoleBindingList literal (type *ClusterRoleBindingList) as type runtime.Object in argument to scheme.AddKnownTypes:
*ClusterRoleBindingList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/apis/rbac/register.go:55:20: cannot use ClusterRoleList literal (type *ClusterRoleList) as type runtime.Object in argument to scheme.AddKnownTypes:
*ClusterRoleList does not implement runtime.Object (missing DeepCopyObject method)
# k8s.io/client-go/pkg/api
../../../k8s.io/client-go/pkg/api/defaults.go:26:15: scheme.AddDefaultingFuncs undefined (type *runtime.Scheme has no field or method AddDefaultingFuncs)
../../../k8s.io/client-go/pkg/api/ref.go:44:19: impossible type assertion:
*ObjectReference does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/api/register.go:80:8: cannot use Pod literal (type *Pod) as type runtime.Object in argument to scheme.AddKnownTypes:
*Pod does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/api/register.go:81:12: cannot use PodList literal (type *PodList) as type runtime.Object in argument to scheme.AddKnownTypes:
*PodList does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/api/register.go:82:20: cannot use PodStatusResult literal (type *PodStatusResult) as type runtime.Object in argument to scheme.AddKnownTypes:
*PodStatusResult does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/api/register.go:83:16: cannot use PodTemplate literal (type *PodTemplate) as type runtime.Object in argument to scheme.AddKnownTypes:
*PodTemplate does not implement runtime.Object (missing DeepCopyObject method)
../../../k8s.io/client-go/pkg/api/types.go:3821:2: const initializer v1.LabelHostname + "," + v1.LabelZoneFailureDomain + "," + v1.LabelZoneRegion is not a constant
../../../k8s.io/client-go/pkg/api/types.go:3821:33: undefined: v1.LabelHostname
../../../k8s.io/client-go/pkg/api/types.go:3821:62: undefined: v1.LabelZoneFailureDomain
../../../k8s.io/client-go/pkg/api/types.go:3821:100: undefined: v1.LabelZoneRegion
../../../k8s.io/client-go/pkg/api/register.go:83:16: too many errors
make: *** [Makefile:32: test] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment