Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type BindingExpansion
- type BindingInterface
- type BindingsGetter
- type ExchangeExpansion
- type ExchangeInterface
- type ExchangesGetter
- type FederationExpansion
- type FederationInterface
- type FederationsGetter
- type PermissionExpansion
- type PermissionInterface
- type PermissionsGetter
- type PoliciesGetter
- type PolicyExpansion
- type PolicyInterface
- type QueueExpansion
- type QueueInterface
- type QueuesGetter
- type RabbitmqV1beta1Client
- func (c *RabbitmqV1beta1Client) Bindings(namespace string) BindingInterface
- func (c *RabbitmqV1beta1Client) Exchanges(namespace string) ExchangeInterface
- func (c *RabbitmqV1beta1Client) Federations(namespace string) FederationInterface
- func (c *RabbitmqV1beta1Client) Permissions(namespace string) PermissionInterface
- func (c *RabbitmqV1beta1Client) Policies(namespace string) PolicyInterface
- func (c *RabbitmqV1beta1Client) Queues(namespace string) QueueInterface
- func (c *RabbitmqV1beta1Client) RESTClient() rest.Interface
- func (c *RabbitmqV1beta1Client) SchemaReplications(namespace string) SchemaReplicationInterface
- func (c *RabbitmqV1beta1Client) Shovels(namespace string) ShovelInterface
- func (c *RabbitmqV1beta1Client) Users(namespace string) UserInterface
- func (c *RabbitmqV1beta1Client) Vhosts(namespace string) VhostInterface
- type RabbitmqV1beta1Interface
- type SchemaReplicationExpansion
- type SchemaReplicationInterface
- type SchemaReplicationsGetter
- type ShovelExpansion
- type ShovelInterface
- type ShovelsGetter
- type UserExpansion
- type UserInterface
- type UsersGetter
- type VhostExpansion
- type VhostInterface
- type VhostsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingExpansion ¶
type BindingExpansion interface{}
type BindingInterface ¶
type BindingInterface interface { Create(ctx context.Context, binding *v1beta1.Binding, opts v1.CreateOptions) (*v1beta1.Binding, error) Update(ctx context.Context, binding *v1beta1.Binding, opts v1.UpdateOptions) (*v1beta1.Binding, error) UpdateStatus(ctx context.Context, binding *v1beta1.Binding, opts v1.UpdateOptions) (*v1beta1.Binding, 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) (*v1beta1.Binding, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.BindingList, 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 *v1beta1.Binding, err error) BindingExpansion }
BindingInterface has methods to work with Binding resources.
type BindingsGetter ¶
type BindingsGetter interface {
Bindings(namespace string) BindingInterface
}
BindingsGetter has a method to return a BindingInterface. A group's client should implement this interface.
type ExchangeExpansion ¶
type ExchangeExpansion interface{}
type ExchangeInterface ¶
type ExchangeInterface interface { Create(ctx context.Context, exchange *v1beta1.Exchange, opts v1.CreateOptions) (*v1beta1.Exchange, error) Update(ctx context.Context, exchange *v1beta1.Exchange, opts v1.UpdateOptions) (*v1beta1.Exchange, error) UpdateStatus(ctx context.Context, exchange *v1beta1.Exchange, opts v1.UpdateOptions) (*v1beta1.Exchange, 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) (*v1beta1.Exchange, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ExchangeList, 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 *v1beta1.Exchange, err error) ExchangeExpansion }
ExchangeInterface has methods to work with Exchange resources.
type ExchangesGetter ¶
type ExchangesGetter interface {
Exchanges(namespace string) ExchangeInterface
}
ExchangesGetter has a method to return a ExchangeInterface. A group's client should implement this interface.
type FederationExpansion ¶
type FederationExpansion interface{}
type FederationInterface ¶
type FederationInterface interface { Create(ctx context.Context, federation *v1beta1.Federation, opts v1.CreateOptions) (*v1beta1.Federation, error) Update(ctx context.Context, federation *v1beta1.Federation, opts v1.UpdateOptions) (*v1beta1.Federation, error) UpdateStatus(ctx context.Context, federation *v1beta1.Federation, opts v1.UpdateOptions) (*v1beta1.Federation, 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) (*v1beta1.Federation, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.FederationList, 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 *v1beta1.Federation, err error) FederationExpansion }
FederationInterface has methods to work with Federation resources.
type FederationsGetter ¶
type FederationsGetter interface {
Federations(namespace string) FederationInterface
}
FederationsGetter has a method to return a FederationInterface. A group's client should implement this interface.
type PermissionExpansion ¶
type PermissionExpansion interface{}
type PermissionInterface ¶
type PermissionInterface interface { Create(ctx context.Context, permission *v1beta1.Permission, opts v1.CreateOptions) (*v1beta1.Permission, error) Update(ctx context.Context, permission *v1beta1.Permission, opts v1.UpdateOptions) (*v1beta1.Permission, error) UpdateStatus(ctx context.Context, permission *v1beta1.Permission, opts v1.UpdateOptions) (*v1beta1.Permission, 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) (*v1beta1.Permission, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PermissionList, 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 *v1beta1.Permission, err error) PermissionExpansion }
PermissionInterface has methods to work with Permission resources.
type PermissionsGetter ¶
type PermissionsGetter interface {
Permissions(namespace string) PermissionInterface
}
PermissionsGetter has a method to return a PermissionInterface. A group's client should implement this interface.
type PoliciesGetter ¶
type PoliciesGetter interface {
Policies(namespace string) PolicyInterface
}
PoliciesGetter has a method to return a PolicyInterface. A group's client should implement this interface.
type PolicyExpansion ¶
type PolicyExpansion interface{}
type PolicyInterface ¶
type PolicyInterface interface { Create(ctx context.Context, policy *v1beta1.Policy, opts v1.CreateOptions) (*v1beta1.Policy, error) Update(ctx context.Context, policy *v1beta1.Policy, opts v1.UpdateOptions) (*v1beta1.Policy, error) UpdateStatus(ctx context.Context, policy *v1beta1.Policy, opts v1.UpdateOptions) (*v1beta1.Policy, 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) (*v1beta1.Policy, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PolicyList, 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 *v1beta1.Policy, err error) PolicyExpansion }
PolicyInterface has methods to work with Policy resources.
type QueueExpansion ¶
type QueueExpansion interface{}
type QueueInterface ¶
type QueueInterface interface { Create(ctx context.Context, queue *v1beta1.Queue, opts v1.CreateOptions) (*v1beta1.Queue, error) Update(ctx context.Context, queue *v1beta1.Queue, opts v1.UpdateOptions) (*v1beta1.Queue, error) UpdateStatus(ctx context.Context, queue *v1beta1.Queue, opts v1.UpdateOptions) (*v1beta1.Queue, 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) (*v1beta1.Queue, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.QueueList, 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 *v1beta1.Queue, err error) QueueExpansion }
QueueInterface has methods to work with Queue resources.
type QueuesGetter ¶
type QueuesGetter interface {
Queues(namespace string) QueueInterface
}
QueuesGetter has a method to return a QueueInterface. A group's client should implement this interface.
type RabbitmqV1beta1Client ¶
type RabbitmqV1beta1Client struct {
// contains filtered or unexported fields
}
RabbitmqV1beta1Client is used to interact with features provided by the rabbitmq.com group.
func New ¶
func New(c rest.Interface) *RabbitmqV1beta1Client
New creates a new RabbitmqV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*RabbitmqV1beta1Client, error)
NewForConfig creates a new RabbitmqV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.31.0
NewForConfigAndClient creates a new RabbitmqV1beta1Client 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) *RabbitmqV1beta1Client
NewForConfigOrDie creates a new RabbitmqV1beta1Client for the given config and panics if there is an error in the config.
func (*RabbitmqV1beta1Client) Bindings ¶
func (c *RabbitmqV1beta1Client) Bindings(namespace string) BindingInterface
func (*RabbitmqV1beta1Client) Exchanges ¶
func (c *RabbitmqV1beta1Client) Exchanges(namespace string) ExchangeInterface
func (*RabbitmqV1beta1Client) Federations ¶
func (c *RabbitmqV1beta1Client) Federations(namespace string) FederationInterface
func (*RabbitmqV1beta1Client) Permissions ¶
func (c *RabbitmqV1beta1Client) Permissions(namespace string) PermissionInterface
func (*RabbitmqV1beta1Client) Policies ¶
func (c *RabbitmqV1beta1Client) Policies(namespace string) PolicyInterface
func (*RabbitmqV1beta1Client) Queues ¶
func (c *RabbitmqV1beta1Client) Queues(namespace string) QueueInterface
func (*RabbitmqV1beta1Client) RESTClient ¶
func (c *RabbitmqV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*RabbitmqV1beta1Client) SchemaReplications ¶
func (c *RabbitmqV1beta1Client) SchemaReplications(namespace string) SchemaReplicationInterface
func (*RabbitmqV1beta1Client) Shovels ¶
func (c *RabbitmqV1beta1Client) Shovels(namespace string) ShovelInterface
func (*RabbitmqV1beta1Client) Users ¶
func (c *RabbitmqV1beta1Client) Users(namespace string) UserInterface
func (*RabbitmqV1beta1Client) Vhosts ¶
func (c *RabbitmqV1beta1Client) Vhosts(namespace string) VhostInterface
type RabbitmqV1beta1Interface ¶
type RabbitmqV1beta1Interface interface { RESTClient() rest.Interface BindingsGetter ExchangesGetter FederationsGetter PermissionsGetter PoliciesGetter QueuesGetter SchemaReplicationsGetter ShovelsGetter UsersGetter VhostsGetter }
type SchemaReplicationExpansion ¶
type SchemaReplicationExpansion interface{}
type SchemaReplicationInterface ¶
type SchemaReplicationInterface interface { Create(ctx context.Context, schemaReplication *v1beta1.SchemaReplication, opts v1.CreateOptions) (*v1beta1.SchemaReplication, error) Update(ctx context.Context, schemaReplication *v1beta1.SchemaReplication, opts v1.UpdateOptions) (*v1beta1.SchemaReplication, error) UpdateStatus(ctx context.Context, schemaReplication *v1beta1.SchemaReplication, opts v1.UpdateOptions) (*v1beta1.SchemaReplication, 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) (*v1beta1.SchemaReplication, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.SchemaReplicationList, 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 *v1beta1.SchemaReplication, err error) SchemaReplicationExpansion }
SchemaReplicationInterface has methods to work with SchemaReplication resources.
type SchemaReplicationsGetter ¶
type SchemaReplicationsGetter interface {
SchemaReplications(namespace string) SchemaReplicationInterface
}
SchemaReplicationsGetter has a method to return a SchemaReplicationInterface. A group's client should implement this interface.
type ShovelExpansion ¶
type ShovelExpansion interface{}
type ShovelInterface ¶
type ShovelInterface interface { Create(ctx context.Context, shovel *v1beta1.Shovel, opts v1.CreateOptions) (*v1beta1.Shovel, error) Update(ctx context.Context, shovel *v1beta1.Shovel, opts v1.UpdateOptions) (*v1beta1.Shovel, error) UpdateStatus(ctx context.Context, shovel *v1beta1.Shovel, opts v1.UpdateOptions) (*v1beta1.Shovel, 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) (*v1beta1.Shovel, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ShovelList, 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 *v1beta1.Shovel, err error) ShovelExpansion }
ShovelInterface has methods to work with Shovel resources.
type ShovelsGetter ¶
type ShovelsGetter interface {
Shovels(namespace string) ShovelInterface
}
ShovelsGetter has a method to return a ShovelInterface. A group's client should implement this interface.
type UserExpansion ¶
type UserExpansion interface{}
type UserInterface ¶
type UserInterface interface { Create(ctx context.Context, user *v1beta1.User, opts v1.CreateOptions) (*v1beta1.User, error) Update(ctx context.Context, user *v1beta1.User, opts v1.UpdateOptions) (*v1beta1.User, error) UpdateStatus(ctx context.Context, user *v1beta1.User, opts v1.UpdateOptions) (*v1beta1.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) (*v1beta1.User, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.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 *v1beta1.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.
type VhostExpansion ¶
type VhostExpansion interface{}
type VhostInterface ¶
type VhostInterface interface { Create(ctx context.Context, vhost *v1beta1.Vhost, opts v1.CreateOptions) (*v1beta1.Vhost, error) Update(ctx context.Context, vhost *v1beta1.Vhost, opts v1.UpdateOptions) (*v1beta1.Vhost, error) UpdateStatus(ctx context.Context, vhost *v1beta1.Vhost, opts v1.UpdateOptions) (*v1beta1.Vhost, 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) (*v1beta1.Vhost, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VhostList, 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 *v1beta1.Vhost, err error) VhostExpansion }
VhostInterface has methods to work with Vhost resources.
type VhostsGetter ¶
type VhostsGetter interface {
Vhosts(namespace string) VhostInterface
}
VhostsGetter has a method to return a VhostInterface. A group's client should implement this interface.