vfsclientset

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2020 License: Apache-2.0 Imports: 29 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeleteAllClusterState

func DeleteAllClusterState(basePath vfs.Path) error

func NewVFSClientset

func NewVFSClientset(basePath vfs.Path, allowList bool) simple.Clientset

Types

type ClusterVFS

type ClusterVFS struct {
	// contains filtered or unexported fields
}

func (*ClusterVFS) Create

func (r *ClusterVFS) Create(c *api.Cluster) (*api.Cluster, error)

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) Patch

func (r *ClusterVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.Cluster, err 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 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 (*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 (*InstanceGroupVFS) Patch

func (r *InstanceGroupVFS) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.InstanceGroup, err error)

func (*InstanceGroupVFS) Update

func (*InstanceGroupVFS) Watch

func (*InstanceGroupVFS) WriteMirror

func (c *InstanceGroupVFS) WriteMirror(g *api.InstanceGroup) error

type VFSClientset

type VFSClientset struct {
	// contains filtered or unexported fields
}

func (*VFSClientset) ConfigBaseFor

func (c *VFSClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)

ConfigBaseFor implements the ConfigBaseFor method of simple.Clientset for a VFS-backed state store

func (*VFSClientset) CreateCluster

func (c *VFSClientset) CreateCluster(cluster *kops.Cluster) (*kops.Cluster, error)

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) 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) 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) KeyStore

func (c *VFSClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)

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) SSHCredentialStore

func (c *VFSClientset) SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error)

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

type ValidationFunction

type ValidationFunction func(o runtime.Object) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL