Documentation ¶
Index ¶
- type ManifestWorkAgentClient
- func (c *ManifestWorkAgentClient) Create(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkAgentClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *ManifestWorkAgentClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *ManifestWorkAgentClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*workv1.ManifestWork, error)
- func (c *ManifestWorkAgentClient) List(ctx context.Context, opts metav1.ListOptions) (*workv1.ManifestWorkList, error)
- func (c *ManifestWorkAgentClient) Patch(ctx context.Context, name string, pt kubetypes.PatchType, data []byte, ...) (result *workv1.ManifestWork, err error)
- func (c *ManifestWorkAgentClient) SetNamespace(namespace string)
- func (c *ManifestWorkAgentClient) Update(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkAgentClient) UpdateStatus(ctx context.Context, manifestWork *workv1.ManifestWork, ...) (*workv1.ManifestWork, error)
- func (c *ManifestWorkAgentClient) 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 ManifestWorkAgentClient ¶
ManifestWorkAgentClient implements the ManifestWorkInterface. It sends the manifestworks status back to source by CloudEventAgentClient.
func NewManifestWorkAgentClient ¶
func NewManifestWorkAgentClient( cloudEventsClient *generic.CloudEventAgentClient[*workv1.ManifestWork], watcherStore store.WorkClientWatcherStore, clusterName string, ) *ManifestWorkAgentClient
func (*ManifestWorkAgentClient) Create ¶
func (c *ManifestWorkAgentClient) Create(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.CreateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkAgentClient) Delete ¶
func (c *ManifestWorkAgentClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
func (*ManifestWorkAgentClient) DeleteCollection ¶
func (c *ManifestWorkAgentClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
func (*ManifestWorkAgentClient) Get ¶
func (c *ManifestWorkAgentClient) Get(ctx context.Context, name string, opts metav1.GetOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkAgentClient) List ¶
func (c *ManifestWorkAgentClient) List(ctx context.Context, opts metav1.ListOptions) (*workv1.ManifestWorkList, error)
func (*ManifestWorkAgentClient) Patch ¶
func (c *ManifestWorkAgentClient) Patch(ctx context.Context, name string, pt kubetypes.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *workv1.ManifestWork, err error)
func (*ManifestWorkAgentClient) SetNamespace ¶ added in v0.14.0
func (c *ManifestWorkAgentClient) SetNamespace(namespace string)
func (*ManifestWorkAgentClient) Update ¶
func (c *ManifestWorkAgentClient) Update(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.UpdateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkAgentClient) UpdateStatus ¶
func (c *ManifestWorkAgentClient) UpdateStatus(ctx context.Context, manifestWork *workv1.ManifestWork, opts metav1.UpdateOptions) (*workv1.ManifestWork, error)
func (*ManifestWorkAgentClient) Watch ¶
func (c *ManifestWorkAgentClient) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Click to show internal directories.
Click to hide internal directories.