Documentation ¶
Index ¶
- Variables
- func DeleteAllClusterState(basePath vfs.Path) error
- func NewVFSClientset(basePath vfs.Path) simple.Clientset
- type ClusterVFS
- func (r *ClusterVFS) Create(c *api.Cluster) (*api.Cluster, error)
- func (r *ClusterVFS) Delete(name string, options *metav1.DeleteOptions) error
- func (r *ClusterVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
- func (c *ClusterVFS) Get(name string, options metav1.GetOptions) (*api.Cluster, error)
- func (c *ClusterVFS) List(options metav1.ListOptions) (*api.ClusterList, error)
- func (r *ClusterVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.Cluster, err error)
- func (r *ClusterVFS) Update(c *api.Cluster, status *api.ClusterStatus) (*api.Cluster, error)
- func (r *ClusterVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type FederationVFS
- func (c *FederationVFS) Create(g *api.Federation) (*api.Federation, error)
- func (c *FederationVFS) Delete(name string, options *metav1.DeleteOptions) error
- func (r *FederationVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
- func (c *FederationVFS) Get(name string, options metav1.GetOptions) (*api.Federation, error)
- func (c *FederationVFS) List(options metav1.ListOptions) (*api.FederationList, error)
- func (r *FederationVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.Federation, err error)
- func (c *FederationVFS) Update(g *api.Federation) (*api.Federation, error)
- func (r *FederationVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type InstanceGroupMirror
- type InstanceGroupVFS
- func (c *InstanceGroupVFS) Create(g *api.InstanceGroup) (*api.InstanceGroup, error)
- func (c *InstanceGroupVFS) Delete(name string, options *metav1.DeleteOptions) error
- func (r *InstanceGroupVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
- func (c *InstanceGroupVFS) Get(name string, options metav1.GetOptions) (*api.InstanceGroup, error)
- func (c *InstanceGroupVFS) List(options metav1.ListOptions) (*api.InstanceGroupList, error)
- func (r *InstanceGroupVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.InstanceGroup, err error)
- func (c *InstanceGroupVFS) Update(g *api.InstanceGroup) (*api.InstanceGroup, error)
- func (r *InstanceGroupVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
- func (c *InstanceGroupVFS) WriteMirror(g *api.InstanceGroup) error
- type VFSClientset
- func (c *VFSClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)
- func (c *VFSClientset) CreateCluster(cluster *kops.Cluster) (*kops.Cluster, error)
- func (c *VFSClientset) DeleteCluster(cluster *kops.Cluster) error
- func (c *VFSClientset) FederationsFor(federation *kops.Federation) kopsinternalversion.FederationInterface
- func (c *VFSClientset) GetCluster(name string) (*kops.Cluster, error)
- func (c *VFSClientset) GetFederation(name string) (*kops.Federation, error)
- func (c *VFSClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface
- func (c *VFSClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)
- func (c *VFSClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)
- func (c *VFSClientset) ListFederations(options metav1.ListOptions) (*kops.FederationList, error)
- func (c *VFSClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
- func (c *VFSClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
- type ValidationFunction
Constants ¶
This section is empty.
Variables ¶
var StoreVersion = v1alpha2.SchemeGroupVersion
Functions ¶
func DeleteAllClusterState ¶
Types ¶
type ClusterVFS ¶
type ClusterVFS struct {
// contains filtered or unexported fields
}
func (*ClusterVFS) Delete ¶
func (r *ClusterVFS) Delete(name string, options *metav1.DeleteOptions) error
func (*ClusterVFS) DeleteCollection ¶
func (r *ClusterVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
func (*ClusterVFS) Get ¶
func (c *ClusterVFS) Get(name string, options metav1.GetOptions) (*api.Cluster, error)
func (*ClusterVFS) List ¶
func (c *ClusterVFS) List(options metav1.ListOptions) (*api.ClusterList, error)
func (*ClusterVFS) Update ¶
func (r *ClusterVFS) Update(c *api.Cluster, status *api.ClusterStatus) (*api.Cluster, error)
func (*ClusterVFS) Watch ¶
func (r *ClusterVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
type FederationVFS ¶
type FederationVFS struct {
// contains filtered or unexported fields
}
func (*FederationVFS) Create ¶
func (c *FederationVFS) Create(g *api.Federation) (*api.Federation, error)
func (*FederationVFS) Delete ¶
func (c *FederationVFS) Delete(name string, options *metav1.DeleteOptions) error
func (*FederationVFS) DeleteCollection ¶
func (r *FederationVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
func (*FederationVFS) Get ¶
func (c *FederationVFS) Get(name string, options metav1.GetOptions) (*api.Federation, error)
func (*FederationVFS) List ¶
func (c *FederationVFS) List(options metav1.ListOptions) (*api.FederationList, error)
func (*FederationVFS) Patch ¶
func (r *FederationVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.Federation, err error)
func (*FederationVFS) Update ¶
func (c *FederationVFS) Update(g *api.Federation) (*api.Federation, error)
func (*FederationVFS) Watch ¶
func (r *FederationVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
type InstanceGroupMirror ¶
type InstanceGroupMirror interface {
WriteMirror(ig *kops.InstanceGroup) error
}
func NewInstanceGroupMirror ¶
func NewInstanceGroupMirror(cluster *kops.Cluster, configBase vfs.Path) InstanceGroupMirror
type InstanceGroupVFS ¶
type InstanceGroupVFS struct {
// contains filtered or unexported fields
}
func (*InstanceGroupVFS) Create ¶
func (c *InstanceGroupVFS) Create(g *api.InstanceGroup) (*api.InstanceGroup, error)
func (*InstanceGroupVFS) Delete ¶
func (c *InstanceGroupVFS) Delete(name string, options *metav1.DeleteOptions) error
func (*InstanceGroupVFS) DeleteCollection ¶
func (r *InstanceGroupVFS) DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
func (*InstanceGroupVFS) Get ¶
func (c *InstanceGroupVFS) Get(name string, options metav1.GetOptions) (*api.InstanceGroup, error)
func (*InstanceGroupVFS) List ¶
func (c *InstanceGroupVFS) List(options metav1.ListOptions) (*api.InstanceGroupList, error)
func (*InstanceGroupVFS) Patch ¶
func (r *InstanceGroupVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.InstanceGroup, err error)
func (*InstanceGroupVFS) Update ¶
func (c *InstanceGroupVFS) Update(g *api.InstanceGroup) (*api.InstanceGroup, error)
func (*InstanceGroupVFS) Watch ¶
func (r *InstanceGroupVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)
func (*InstanceGroupVFS) WriteMirror ¶
func (c *InstanceGroupVFS) WriteMirror(g *api.InstanceGroup) error
type VFSClientset ¶
type VFSClientset struct {
// contains filtered or unexported fields
}
func (*VFSClientset) ConfigBaseFor ¶
ConfigBaseFor implements the ConfigBaseFor method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) CreateCluster ¶
CreateCluster implements the CreateCluster method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) DeleteCluster ¶
func (c *VFSClientset) DeleteCluster(cluster *kops.Cluster) error
func (*VFSClientset) FederationsFor ¶
func (c *VFSClientset) FederationsFor(federation *kops.Federation) kopsinternalversion.FederationInterface
FederationsFor implements the FederationsFor method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) GetCluster ¶
func (c *VFSClientset) GetCluster(name string) (*kops.Cluster, error)
GetCluster implements the GetCluster method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) GetFederation ¶
func (c *VFSClientset) GetFederation(name string) (*kops.Federation, error)
GetFederation implements the GetFederation method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) InstanceGroupsFor ¶
func (c *VFSClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface
InstanceGroupsFor implements the InstanceGroupsFor method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) ListClusters ¶
func (c *VFSClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)
ListClusters implements the ListClusters method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) ListFederations ¶
func (c *VFSClientset) ListFederations(options metav1.ListOptions) (*kops.FederationList, error)
ListFederations implements the ListFederations method of simple.Clientset for a VFS-backed state store
func (*VFSClientset) SecretStore ¶
func (c *VFSClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
func (*VFSClientset) UpdateCluster ¶
func (c *VFSClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
UpdateCluster implements the UpdateCluster method of simple.Clientset for a VFS-backed state store