Documentation ¶
Index ¶
- type DatabaseClient
- func (c *DatabaseClient) Create(database *ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)
- func (c *DatabaseClient) Delete(name string, opts *metav1.DeleteOptions) error
- func (c *DatabaseClient) Get(name string, opts metav1.GetOptions) (*ndbv1alpha1.Database, error)
- func (c *DatabaseClient) List(opts metav1.ListOptions) (*ndbv1alpha1.DatabaseList, error)
- func (c *DatabaseClient) Update(database *ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)
- func (c *DatabaseClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type DatabaseInterface
- type NDBServerClient
- func (c *NDBServerClient) Create(NDBServer *ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)
- func (c *NDBServerClient) Delete(name string, opts *metav1.DeleteOptions) error
- func (c *NDBServerClient) Get(name string, opts metav1.GetOptions) (*ndbv1alpha1.NDBServer, error)
- func (c *NDBServerClient) List(opts metav1.ListOptions) (*ndbv1alpha1.NDBServerList, error)
- func (c *NDBServerClient) Update(NDBServer *ndbv1alpha1.NDBServer) (*ndbv1alpha1.NDBServer, error)
- func (c *NDBServerClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type NDBServerInterface
- type V1alpha1Client
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 (c *DatabaseClient) Get(name string, opts metav1.GetOptions) (*ndbv1alpha1.Database, error)
func (*DatabaseClient) List ¶
func (c *DatabaseClient) List(opts metav1.ListOptions) (*ndbv1alpha1.DatabaseList, error)
func (*DatabaseClient) Update ¶
func (c *DatabaseClient) Update(database *ndbv1alpha1.Database) (*ndbv1alpha1.Database, error)
func (*DatabaseClient) Watch ¶
func (c *DatabaseClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
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 (c *NDBServerClient) Get(name string, opts metav1.GetOptions) (*ndbv1alpha1.NDBServer, error)
func (*NDBServerClient) List ¶ added in v0.0.8
func (c *NDBServerClient) List(opts metav1.ListOptions) (*ndbv1alpha1.NDBServerList, error)
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
func (c *NDBServerClient) Watch(opts metav1.ListOptions) (watch.Interface, error)
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
Click to show internal directories.
Click to hide internal directories.