v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseClient

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

func (*DatabaseClient) Create

func (c *DatabaseClient) Create(database *ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)

func (*DatabaseClient) Delete

func (c *DatabaseClient) Delete(name string, opts *metav1.DeleteOptions) error

func (*DatabaseClient) Get

func (*DatabaseClient) List

func (*DatabaseClient) Update

func (c *DatabaseClient) Update(database *ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)

func (*DatabaseClient) Watch

type DatabaseInterface

type DatabaseInterface interface {
	List(opts metav1.ListOptions) (*ndbv1alpha1.DatabaseList, error)
	Get(name string, options metav1.GetOptions) (*ndbv1alpha1.Database, error)
	Create(*ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)
	Update(*ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

Common Functionality used to interact with Database CR using Kubernetes Client

type NDBServerClient added in v0.0.8

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

func (*NDBServerClient) Create added in v0.0.8

func (c *NDBServerClient) Create(NDBServer *ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)

func (*NDBServerClient) Delete added in v0.0.8

func (c *NDBServerClient) Delete(name string, opts *metav1.DeleteOptions) error

func (*NDBServerClient) Get added in v0.0.8

func (*NDBServerClient) List added in v0.0.8

func (*NDBServerClient) Update added in v0.0.8

func (c *NDBServerClient) Update(NDBServer *ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)

func (*NDBServerClient) Watch added in v0.0.8

type NDBServerInterface added in v0.0.8

type NDBServerInterface interface {
	List(opts metav1.ListOptions) (*ndbv1alpha1.NDBServerList, error)
	Get(name string, options metav1.GetOptions) (*ndbv1alpha1.NDBServer, error)
	Create(*ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)
	Update(*ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

Common Functionality used to interact with NDBServer CR using Kubernetes Client

type V1alpha1Client

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

func NewForConfig

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

func (*V1alpha1Client) Databases

func (c *V1alpha1Client) Databases(namespace string) DatabaseInterface

func (*V1alpha1Client) NDBServers added in v0.0.8

func (c *V1alpha1Client) NDBServers(namespace string) NDBServerInterface

Jump to

Keyboard shortcuts

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