Documentation ¶
Index ¶
- type OperationsClient
- func (c *OperationsClient) Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
- func (c *OperationsClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *OperationsClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Operation, error)
- func (c *OperationsClient) List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.OperationList, error)
- func (c *OperationsClient) Operations(namespace string) OperationsInterface
- func (c *OperationsClient) Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
- func (c *OperationsClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type OperationsClientInterface
- type OperationsInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
func (*OperationsClient) Delete ¶
func (c *OperationsClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
func (*OperationsClient) Get ¶
func (c *OperationsClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.Operation, error)
func (*OperationsClient) List ¶
func (c *OperationsClient) List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.OperationList, error)
func (*OperationsClient) Operations ¶
func (c *OperationsClient) Operations(namespace string) OperationsInterface
func (*OperationsClient) Watch ¶
func (c *OperationsClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
type OperationsClientInterface ¶
type OperationsClientInterface interface {
Operations(string) OperationsInterface
}
func NewForConfig ¶
func NewForConfig(cfg *rest.Config) (OperationsClientInterface, error)
type OperationsInterface ¶
type OperationsInterface interface { List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.OperationList, error) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1alpha1.Operation, error) Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error }
Click to show internal directories.
Click to hide internal directories.