v1alpha1

package
v0.0.0-...-8ffad75 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketClassExpansion

type BucketClassExpansion interface{}

type BucketClassInterface

type BucketClassInterface interface {
	Create(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.CreateOptions) (*v1alpha1.BucketClass, error)
	Update(ctx context.Context, bucketClass *v1alpha1.BucketClass, opts v1.UpdateOptions) (*v1alpha1.BucketClass, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.BucketClass, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BucketClassList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BucketClass, err error)
	Apply(ctx context.Context, bucketClass *storagev1alpha1.BucketClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketClass, err error)
	BucketClassExpansion
}

BucketClassInterface has methods to work with BucketClass resources.

type BucketClassesGetter

type BucketClassesGetter interface {
	BucketClasses() BucketClassInterface
}

BucketClassesGetter has a method to return a BucketClassInterface. A group's client should implement this interface.

type BucketExpansion

type BucketExpansion interface{}

type BucketInterface

type BucketInterface interface {
	Create(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.CreateOptions) (*v1alpha1.Bucket, error)
	Update(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (*v1alpha1.Bucket, error)
	UpdateStatus(ctx context.Context, bucket *v1alpha1.Bucket, opts v1.UpdateOptions) (*v1alpha1.Bucket, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Bucket, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BucketList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Bucket, err error)
	Apply(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Bucket, err error)
	ApplyStatus(ctx context.Context, bucket *storagev1alpha1.BucketApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Bucket, err error)
	BucketExpansion
}

BucketInterface has methods to work with Bucket resources.

type BucketPoolExpansion

type BucketPoolExpansion interface{}

type BucketPoolInterface

type BucketPoolInterface interface {
	Create(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.CreateOptions) (*v1alpha1.BucketPool, error)
	Update(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (*v1alpha1.BucketPool, error)
	UpdateStatus(ctx context.Context, bucketPool *v1alpha1.BucketPool, opts v1.UpdateOptions) (*v1alpha1.BucketPool, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.BucketPool, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BucketPoolList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BucketPool, err error)
	Apply(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketPool, err error)
	ApplyStatus(ctx context.Context, bucketPool *storagev1alpha1.BucketPoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.BucketPool, err error)
	BucketPoolExpansion
}

BucketPoolInterface has methods to work with BucketPool resources.

type BucketPoolsGetter

type BucketPoolsGetter interface {
	BucketPools() BucketPoolInterface
}

BucketPoolsGetter has a method to return a BucketPoolInterface. A group's client should implement this interface.

type BucketsGetter

type BucketsGetter interface {
	Buckets(namespace string) BucketInterface
}

BucketsGetter has a method to return a BucketInterface. A group's client should implement this interface.

type StorageV1alpha1Client

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

StorageV1alpha1Client is used to interact with features provided by the storage.spheric.cloud group.

func New

New creates a new StorageV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*StorageV1alpha1Client, error)

NewForConfig creates a new StorageV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*StorageV1alpha1Client, error)

NewForConfigAndClient creates a new StorageV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *StorageV1alpha1Client

NewForConfigOrDie creates a new StorageV1alpha1Client for the given config and panics if there is an error in the config.

func (*StorageV1alpha1Client) BucketClasses

func (c *StorageV1alpha1Client) BucketClasses() BucketClassInterface

func (*StorageV1alpha1Client) BucketPools

func (c *StorageV1alpha1Client) BucketPools() BucketPoolInterface

func (*StorageV1alpha1Client) Buckets

func (c *StorageV1alpha1Client) Buckets(namespace string) BucketInterface

func (*StorageV1alpha1Client) RESTClient

func (c *StorageV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*StorageV1alpha1Client) VolumeClasses

func (c *StorageV1alpha1Client) VolumeClasses() VolumeClassInterface

func (*StorageV1alpha1Client) VolumePools

func (c *StorageV1alpha1Client) VolumePools() VolumePoolInterface

func (*StorageV1alpha1Client) Volumes

func (c *StorageV1alpha1Client) Volumes(namespace string) VolumeInterface

type VolumeClassExpansion

type VolumeClassExpansion interface{}

type VolumeClassInterface

type VolumeClassInterface interface {
	Create(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.CreateOptions) (*v1alpha1.VolumeClass, error)
	Update(ctx context.Context, volumeClass *v1alpha1.VolumeClass, opts v1.UpdateOptions) (*v1alpha1.VolumeClass, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.VolumeClass, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumeClassList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeClass, err error)
	Apply(ctx context.Context, volumeClass *storagev1alpha1.VolumeClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumeClass, err error)
	VolumeClassExpansion
}

VolumeClassInterface has methods to work with VolumeClass resources.

type VolumeClassesGetter

type VolumeClassesGetter interface {
	VolumeClasses() VolumeClassInterface
}

VolumeClassesGetter has a method to return a VolumeClassInterface. A group's client should implement this interface.

type VolumeExpansion

type VolumeExpansion interface{}

type VolumeInterface

type VolumeInterface interface {
	Create(ctx context.Context, volume *v1alpha1.Volume, opts v1.CreateOptions) (*v1alpha1.Volume, error)
	Update(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (*v1alpha1.Volume, error)
	UpdateStatus(ctx context.Context, volume *v1alpha1.Volume, opts v1.UpdateOptions) (*v1alpha1.Volume, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Volume, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumeList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Volume, err error)
	Apply(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Volume, err error)
	ApplyStatus(ctx context.Context, volume *storagev1alpha1.VolumeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Volume, err error)
	VolumeExpansion
}

VolumeInterface has methods to work with Volume resources.

type VolumePoolExpansion

type VolumePoolExpansion interface{}

type VolumePoolInterface

type VolumePoolInterface interface {
	Create(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.CreateOptions) (*v1alpha1.VolumePool, error)
	Update(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (*v1alpha1.VolumePool, error)
	UpdateStatus(ctx context.Context, volumePool *v1alpha1.VolumePool, opts v1.UpdateOptions) (*v1alpha1.VolumePool, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.VolumePool, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumePoolList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumePool, err error)
	Apply(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumePool, err error)
	ApplyStatus(ctx context.Context, volumePool *storagev1alpha1.VolumePoolApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.VolumePool, err error)
	VolumePoolExpansion
}

VolumePoolInterface has methods to work with VolumePool resources.

type VolumePoolsGetter

type VolumePoolsGetter interface {
	VolumePools() VolumePoolInterface
}

VolumePoolsGetter has a method to return a VolumePoolInterface. A group's client should implement this interface.

type VolumesGetter

type VolumesGetter interface {
	Volumes(namespace string) VolumeInterface
}

VolumesGetter has a method to return a VolumeInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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