v1

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 8 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 ArangoBackupExpansion

type ArangoBackupExpansion interface{}

type ArangoBackupInterface

type ArangoBackupInterface interface {
	Create(ctx context.Context, arangoBackup *v1.ArangoBackup, opts metav1.CreateOptions) (*v1.ArangoBackup, error)
	Update(ctx context.Context, arangoBackup *v1.ArangoBackup, opts metav1.UpdateOptions) (*v1.ArangoBackup, error)
	UpdateStatus(ctx context.Context, arangoBackup *v1.ArangoBackup, opts metav1.UpdateOptions) (*v1.ArangoBackup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ArangoBackup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ArangoBackupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoBackup, err error)
	ArangoBackupExpansion
}

ArangoBackupInterface has methods to work with ArangoBackup resources.

type ArangoBackupPoliciesGetter

type ArangoBackupPoliciesGetter interface {
	ArangoBackupPolicies(namespace string) ArangoBackupPolicyInterface
}

ArangoBackupPoliciesGetter has a method to return a ArangoBackupPolicyInterface. A group's client should implement this interface.

type ArangoBackupPolicyExpansion

type ArangoBackupPolicyExpansion interface{}

type ArangoBackupPolicyInterface

type ArangoBackupPolicyInterface interface {
	Create(ctx context.Context, arangoBackupPolicy *v1.ArangoBackupPolicy, opts metav1.CreateOptions) (*v1.ArangoBackupPolicy, error)
	Update(ctx context.Context, arangoBackupPolicy *v1.ArangoBackupPolicy, opts metav1.UpdateOptions) (*v1.ArangoBackupPolicy, error)
	UpdateStatus(ctx context.Context, arangoBackupPolicy *v1.ArangoBackupPolicy, opts metav1.UpdateOptions) (*v1.ArangoBackupPolicy, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ArangoBackupPolicy, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ArangoBackupPolicyList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ArangoBackupPolicy, err error)
	ArangoBackupPolicyExpansion
}

ArangoBackupPolicyInterface has methods to work with ArangoBackupPolicy resources.

type ArangoBackupsGetter

type ArangoBackupsGetter interface {
	ArangoBackups(namespace string) ArangoBackupInterface
}

ArangoBackupsGetter has a method to return a ArangoBackupInterface. A group's client should implement this interface.

type BackupV1Client

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

BackupV1Client is used to interact with features provided by the backup.arangodb.com group.

func New

New creates a new BackupV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new BackupV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BackupV1Client

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

func (*BackupV1Client) ArangoBackupPolicies

func (c *BackupV1Client) ArangoBackupPolicies(namespace string) ArangoBackupPolicyInterface

func (*BackupV1Client) ArangoBackups

func (c *BackupV1Client) ArangoBackups(namespace string) ArangoBackupInterface

func (*BackupV1Client) RESTClient

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

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

type BackupV1Interface

type BackupV1Interface interface {
	RESTClient() rest.Interface
	ArangoBackupsGetter
	ArangoBackupPoliciesGetter
}

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