{"modulePath":"github.com/LinuxGit/kops","version":"v1.15.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Types\n\n```go\ntype RESTClientset struct {\n\tBaseURL    *url.URL\n\tKopsClient kopsinternalversion.KopsInterface\n}\n```\nRESTClientset is an implementation of clientset that uses a \"real\" generated REST client\n\n```go\nfunc (c *RESTClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)\n```\nConfigBaseFor implements the ConfigBaseFor method of Clientset for a kubernetes-API state store\n\n```go\nfunc (c *RESTClientset) CreateCluster(cluster *kops.Cluster) (*kops.Cluster, error)\n```\nCreateCluster implements the CreateCluster method of Clientset for a kubernetes-API state store\n\n```go\nfunc (c *RESTClientset) DeleteCluster(cluster *kops.Cluster) error\n```\n\n```go\nfunc (c *RESTClientset) GetCluster(name string) (*kops.Cluster, error)\n```\nGetCluster implements the GetCluster method of Clientset for a kubernetes-API state store\n\n```go\nfunc (c *RESTClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface\n```\nInstanceGroupsFor implements the InstanceGroupsFor method of Clientset for a kubernetes-API state store\n\n```go\nfunc (c *RESTClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)\n```\n\n```go\nfunc (c *RESTClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)\n```\nListClusters implements the ListClusters method of Clientset for a kubernetes-API state store\n\n```go\nfunc (c *RESTClientset) SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error)\n```\n\n```go\nfunc (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)\n```\n\n```go\nfunc (c *RESTClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)\n```\nUpdateCluster implements the UpdateCluster method of Clientset for a kubernetes-API state store\n\n","path":"github.com/LinuxGit/kops/pkg/client/simple/api","name":"api","synopsis":"","isRedistributable":true}
