vfsclientset

package
v1.28.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 30 Imported by: 313

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeleteAllClusterState added in v1.10.0

func DeleteAllClusterState(basePath vfs.Path) error

func NewVFSClientset

func NewVFSClientset(vfsContext *vfs.VFSContext, basePath vfs.Path) 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 added in v1.10.0

func (r *ClusterVFS) Delete(name string, options *metav1.DeleteOptions) error

func (*ClusterVFS) DeleteCollection added in v1.10.0

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 added in v1.10.0

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 added in v1.10.0

func (r *ClusterVFS) Watch(opts metav1.ListOptions) (watch.Interface, error)

type InstanceGroupVFS

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

func (*InstanceGroupVFS) Create

func (*InstanceGroupVFS) Delete

func (c *InstanceGroupVFS) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error

func (*InstanceGroupVFS) DeleteCollection added in v1.10.0

func (r *InstanceGroupVFS) DeleteCollection(ctx context.Context, options metav1.DeleteOptions, listOptions metav1.ListOptions) error

func (*InstanceGroupVFS) Get

func (*InstanceGroupVFS) List

func (*InstanceGroupVFS) Patch added in v1.10.0

func (r *InstanceGroupVFS) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *kopsapi.InstanceGroup, err error)

func (*InstanceGroupVFS) Update

func (*InstanceGroupVFS) Watch added in v1.10.0

type VFSClientset

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

func (*VFSClientset) AddonsFor added in v1.19.0

func (c *VFSClientset) AddonsFor(cluster *kops.Cluster) simple.AddonsClient

func (*VFSClientset) ConfigBaseFor added in v1.10.0

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 added in v1.10.0

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

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

func (*VFSClientset) DeleteCluster added in v1.10.0

func (c *VFSClientset) DeleteCluster(ctx context.Context, cluster *kops.Cluster) error

func (*VFSClientset) GetCluster added in v1.10.0

func (c *VFSClientset) GetCluster(ctx context.Context, name string) (*kops.Cluster, error)

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

func (*VFSClientset) InstanceGroupsFor added in v1.10.0

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 added in v1.10.0

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

func (*VFSClientset) ListClusters added in v1.10.0

func (c *VFSClientset) ListClusters(ctx context.Context, options metav1.ListOptions) (*kops.ClusterList, error)

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

func (*VFSClientset) SSHCredentialStore added in v1.10.0

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

func (*VFSClientset) SecretStore added in v1.10.0

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

func (*VFSClientset) UpdateCluster added in v1.10.0

func (c *VFSClientset) UpdateCluster(ctx context.Context, cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)

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

func (*VFSClientset) VFSContext added in v1.28.0

func (c *VFSClientset) VFSContext() *vfs.VFSContext

type ValidationFunction added in v1.10.0

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