Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ParameterCodec runtime.ParameterCodec
)
Functions ¶
This section is empty.
Types ¶
type BrokerInterface ¶
type BrokerInterface interface { Create(ctx context.Context, broker *v1alpha1.Broker, opts metav1.CreateOptions) (*v1alpha1.Broker, error) Update(ctx context.Context, broker *v1alpha1.Broker, opts metav1.UpdateOptions) (*v1alpha1.Broker, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Broker, error) List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.BrokerList, 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 *v1alpha1.Broker, err error) }
BrokerInterface has methods to work with Broker resources.
type BrokersGetter ¶
type BrokersGetter interface {
Brokers(namespace string) BrokerInterface
}
BrokersGetter has a method to return a BrokerInterface. A group's client should implement this interface.
type CoreClient ¶
type CoreClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(c rest.Interface, codec runtime.ParameterCodec) *CoreClient
func (*CoreClient) Brokers ¶
func (c *CoreClient) Brokers(namespace string) BrokerInterface
func (*CoreClient) MeshSyncs ¶
func (c *CoreClient) MeshSyncs(namespace string) MeshSyncInterface
func (*CoreClient) RESTClient ¶
func (c *CoreClient) RESTClient() rest.Interface
type CoreInterface ¶
type CoreInterface interface { RESTClient() rest.Interface BrokersGetter MeshSyncsGetter }
type MeshSyncInterface ¶
type MeshSyncInterface interface { Create(ctx context.Context, meshsync *v1alpha1.MeshSync, opts metav1.CreateOptions) (*v1alpha1.MeshSync, error) Update(ctx context.Context, meshsync *v1alpha1.MeshSync, opts metav1.UpdateOptions) (*v1alpha1.MeshSync, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.MeshSync, error) List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.MeshSyncList, 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 *v1alpha1.MeshSync, err error) }
MeshSyncInterface has methods to work with MeshSync resources.
type MeshSyncsGetter ¶
type MeshSyncsGetter interface {
MeshSyncs(namespace string) MeshSyncInterface
}
MeshSyncsGetter has a method to return a MeshSyncInterface. A group's client should implement this interface.
Click to show internal directories.
Click to hide internal directories.