Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterExpansion
- type ClusterInterface
- type ClustersGetter
- type ConnectionPoolExpansion
- type ConnectionPoolInterface
- type ConnectionPoolsGetter
- type DatabaseV1alpha1Client
- func (c *DatabaseV1alpha1Client) Clusters(namespace string) ClusterInterface
- func (c *DatabaseV1alpha1Client) ConnectionPools(namespace string) ConnectionPoolInterface
- func (c *DatabaseV1alpha1Client) Dbs(namespace string) DbInterface
- func (c *DatabaseV1alpha1Client) Firewalls(namespace string) FirewallInterface
- func (c *DatabaseV1alpha1Client) RESTClient() rest.Interface
- func (c *DatabaseV1alpha1Client) Replicas(namespace string) ReplicaInterface
- func (c *DatabaseV1alpha1Client) Users(namespace string) UserInterface
- type DatabaseV1alpha1Interface
- type DbExpansion
- type DbInterface
- type DbsGetter
- type FirewallExpansion
- type FirewallInterface
- type FirewallsGetter
- type ReplicaExpansion
- type ReplicaInterface
- type ReplicasGetter
- type UserExpansion
- type UserInterface
- type UsersGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterInterface ¶
type ClusterInterface interface { Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (*v1alpha1.Cluster, error) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error) UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, 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.Cluster, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterList, 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.Cluster, err error) ClusterExpansion }
ClusterInterface has methods to work with Cluster resources.
type ClustersGetter ¶
type ClustersGetter interface {
Clusters(namespace string) ClusterInterface
}
ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.
type ConnectionPoolExpansion ¶
type ConnectionPoolExpansion interface{}
type ConnectionPoolInterface ¶
type ConnectionPoolInterface interface { Create(ctx context.Context, connectionPool *v1alpha1.ConnectionPool, opts v1.CreateOptions) (*v1alpha1.ConnectionPool, error) Update(ctx context.Context, connectionPool *v1alpha1.ConnectionPool, opts v1.UpdateOptions) (*v1alpha1.ConnectionPool, error) UpdateStatus(ctx context.Context, connectionPool *v1alpha1.ConnectionPool, opts v1.UpdateOptions) (*v1alpha1.ConnectionPool, 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.ConnectionPool, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConnectionPoolList, 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.ConnectionPool, err error) ConnectionPoolExpansion }
ConnectionPoolInterface has methods to work with ConnectionPool resources.
type ConnectionPoolsGetter ¶
type ConnectionPoolsGetter interface {
ConnectionPools(namespace string) ConnectionPoolInterface
}
ConnectionPoolsGetter has a method to return a ConnectionPoolInterface. A group's client should implement this interface.
type DatabaseV1alpha1Client ¶
type DatabaseV1alpha1Client struct {
// contains filtered or unexported fields
}
DatabaseV1alpha1Client is used to interact with features provided by the database.digitalocean.kubeform.com group.
func New ¶
func New(c rest.Interface) *DatabaseV1alpha1Client
New creates a new DatabaseV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DatabaseV1alpha1Client, error)
NewForConfig creates a new DatabaseV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DatabaseV1alpha1Client
NewForConfigOrDie creates a new DatabaseV1alpha1Client for the given config and panics if there is an error in the config.
func (*DatabaseV1alpha1Client) Clusters ¶
func (c *DatabaseV1alpha1Client) Clusters(namespace string) ClusterInterface
func (*DatabaseV1alpha1Client) ConnectionPools ¶
func (c *DatabaseV1alpha1Client) ConnectionPools(namespace string) ConnectionPoolInterface
func (*DatabaseV1alpha1Client) Dbs ¶
func (c *DatabaseV1alpha1Client) Dbs(namespace string) DbInterface
func (*DatabaseV1alpha1Client) Firewalls ¶
func (c *DatabaseV1alpha1Client) Firewalls(namespace string) FirewallInterface
func (*DatabaseV1alpha1Client) RESTClient ¶
func (c *DatabaseV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DatabaseV1alpha1Client) Replicas ¶
func (c *DatabaseV1alpha1Client) Replicas(namespace string) ReplicaInterface
func (*DatabaseV1alpha1Client) Users ¶
func (c *DatabaseV1alpha1Client) Users(namespace string) UserInterface
type DatabaseV1alpha1Interface ¶
type DatabaseV1alpha1Interface interface { RESTClient() rest.Interface ClustersGetter ConnectionPoolsGetter DbsGetter FirewallsGetter ReplicasGetter UsersGetter }
type DbExpansion ¶
type DbExpansion interface{}
type DbInterface ¶
type DbInterface interface { Create(ctx context.Context, db *v1alpha1.Db, opts v1.CreateOptions) (*v1alpha1.Db, error) Update(ctx context.Context, db *v1alpha1.Db, opts v1.UpdateOptions) (*v1alpha1.Db, error) UpdateStatus(ctx context.Context, db *v1alpha1.Db, opts v1.UpdateOptions) (*v1alpha1.Db, 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.Db, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DbList, 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.Db, err error) DbExpansion }
DbInterface has methods to work with Db resources.
type DbsGetter ¶
type DbsGetter interface {
Dbs(namespace string) DbInterface
}
DbsGetter has a method to return a DbInterface. A group's client should implement this interface.
type FirewallExpansion ¶
type FirewallExpansion interface{}
type FirewallInterface ¶
type FirewallInterface interface { Create(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.CreateOptions) (*v1alpha1.Firewall, error) Update(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (*v1alpha1.Firewall, error) UpdateStatus(ctx context.Context, firewall *v1alpha1.Firewall, opts v1.UpdateOptions) (*v1alpha1.Firewall, 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.Firewall, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.FirewallList, 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.Firewall, err error) FirewallExpansion }
FirewallInterface has methods to work with Firewall resources.
type FirewallsGetter ¶
type FirewallsGetter interface {
Firewalls(namespace string) FirewallInterface
}
FirewallsGetter has a method to return a FirewallInterface. A group's client should implement this interface.
type ReplicaExpansion ¶
type ReplicaExpansion interface{}
type ReplicaInterface ¶
type ReplicaInterface interface { Create(ctx context.Context, replica *v1alpha1.Replica, opts v1.CreateOptions) (*v1alpha1.Replica, error) Update(ctx context.Context, replica *v1alpha1.Replica, opts v1.UpdateOptions) (*v1alpha1.Replica, error) UpdateStatus(ctx context.Context, replica *v1alpha1.Replica, opts v1.UpdateOptions) (*v1alpha1.Replica, 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.Replica, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ReplicaList, 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.Replica, err error) ReplicaExpansion }
ReplicaInterface has methods to work with Replica resources.
type ReplicasGetter ¶
type ReplicasGetter interface {
Replicas(namespace string) ReplicaInterface
}
ReplicasGetter has a method to return a ReplicaInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (*v1alpha1.User, error) Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error) UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, 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.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserList, 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.User, err error) UserExpansion }
UserInterface has methods to work with User resources.
type UsersGetter ¶
type UsersGetter interface {
Users(namespace string) UserInterface
}
UsersGetter has a method to return a UserInterface. A group's client should implement this interface.