Documentation ¶
Index ¶
- type ManifestWorkSourceClient
- func (c *ManifestWorkSourceClient) Create(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkSourceClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *ManifestWorkSourceClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *ManifestWorkSourceClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*workv1.ManifestWork, error)
- func (c *ManifestWorkSourceClient) List(ctx context.Context, opts metav1.ListOptions) (*workv1.ManifestWorkList, error)
- func (c *ManifestWorkSourceClient) Patch(ctx context.Context, name string, pt kubetypes.PatchType, data []byte, ...) (result *workv1.ManifestWork, err error)
- func (c *ManifestWorkSourceClient) SetNamespace(namespace string)
- func (c *ManifestWorkSourceClient) Update(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkSourceClient) UpdateStatus(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkSourceClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestWorkSourceClient ¶
type ManifestWorkSourceClient struct {
// contains filtered or unexported fields
}
ManifestWorkSourceClient implements the ManifestWorkInterface.
func NewManifestWorkSourceClient ¶
func NewManifestWorkSourceClient( sourceID string, cloudEventsClient *generic.CloudEventSourceClient[*workv1.ManifestWork], watcherStore store.WorkClientWatcherStore, ) *ManifestWorkSourceClient
func (*ManifestWorkSourceClient) Create ¶
func (c *ManifestWorkSourceClient) Create(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.CreateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkSourceClient) Delete ¶
func (c *ManifestWorkSourceClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
func (*ManifestWorkSourceClient) DeleteCollection ¶
func (c *ManifestWorkSourceClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
func (*ManifestWorkSourceClient) Get ¶
func (c *ManifestWorkSourceClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkSourceClient) List ¶
func (c *ManifestWorkSourceClient) List(ctx context.Context, opts metav1.ListOptions) (*workv1.ManifestWorkList, error)
func (*ManifestWorkSourceClient) Patch ¶
func (c *ManifestWorkSourceClient) Patch(ctx context.Context, name string, pt kubetypes.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *workv1.ManifestWork, err error)
func (*ManifestWorkSourceClient) SetNamespace ¶
func (c *ManifestWorkSourceClient) SetNamespace(namespace string)
func (*ManifestWorkSourceClient) Update ¶
func (c *ManifestWorkSourceClient) Update(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.UpdateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkSourceClient) UpdateStatus ¶
func (c *ManifestWorkSourceClient) UpdateStatus(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.UpdateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkSourceClient) Watch ¶
func (c *ManifestWorkSourceClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.