mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
928 B
27 lines
928 B
package client
|
|
|
|
// These imports are the API groups the client will support.
|
|
import (
|
|
"fmt"
|
|
|
|
_ "k8s.io/helm/api/install"
|
|
_ "k8s.io/kubernetes/pkg/api/install"
|
|
"k8s.io/kubernetes/pkg/apimachinery/registered"
|
|
_ "k8s.io/kubernetes/pkg/apis/apps/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/authentication/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/authorization/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/autoscaling/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/batch/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/certificates/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/extensions/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/policy/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/rbac/install"
|
|
_ "k8s.io/kubernetes/pkg/apis/storage/install"
|
|
)
|
|
|
|
func init() {
|
|
if missingVersions := registered.ValidateEnvRequestedVersions(); len(missingVersions) != 0 {
|
|
panic(fmt.Sprintf("KUBE_API_VERSIONS contains versions that are not installed: %q.", missingVersions))
|
|
}
|
|
}
|