client

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestWorkAgentClient

type ManifestWorkAgentClient struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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 (*ManifestWorkAgentClient) Delete

func (*ManifestWorkAgentClient) DeleteCollection

func (c *ManifestWorkAgentClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*ManifestWorkAgentClient) Get

func (*ManifestWorkAgentClient) List

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 (*ManifestWorkAgentClient) UpdateStatus

func (*ManifestWorkAgentClient) Watch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL