{"modulePath":"github.com/UnityTech/client-go","version":"v11.0.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dynamic\n\n## Functions\n\n```go\nfunc LegacyAPIPathResolverFunc(kind schema.GroupVersionKind) string\n```\nLegacyAPIPathResolverFunc can resolve paths properly with the legacy API. TODO find a better place to move this for existing callers\n\n## Types\n\n```go\ntype APIPathResolverFunc func(kind schema.GroupVersionKind) string\n```\nAPIPathResolverFunc knows how to convert a groupVersion to its API path. The Kind field is optional. TODO find a better place to move this for existing callers\n\n```go\ntype Interface interface {\n\tResource(resource schema.GroupVersionResource) NamespaceableResourceInterface\n}\n```\n\n```go\nfunc NewForConfig(inConfig *rest.Config) (Interface, error)\n```\n\n```go\nfunc NewForConfigOrDie(c *rest.Config) Interface\n```\nNewForConfigOrDie creates a new Interface for the given config and panics if there is an error in the config.\n\n```go\ntype NamespaceableResourceInterface interface {\n\tNamespace(string) ResourceInterface\n\tResourceInterface\n}\n```\n\n```go\ntype ResourceInterface interface {\n\tCreate(obj *unstructured.Unstructured, options metav1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)\n\tUpdate(obj *unstructured.Unstructured, options metav1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)\n\tUpdateStatus(obj *unstructured.Unstructured, options metav1.UpdateOptions) (*unstructured.Unstructured, error)\n\tDelete(name string, options *metav1.DeleteOptions, subresources ...string) error\n\tDeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error\n\tGet(name string, options metav1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)\n\tList(opts metav1.ListOptions) (*unstructured.UnstructuredList, error)\n\tWatch(opts metav1.ListOptions) (watch.Interface, error)\n\tPatch(name string, pt types.PatchType, data []byte, options metav1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)\n}\n```\n\n","path":"github.com/UnityTech/client-go/dynamic","name":"dynamic","synopsis":"","isRedistributable":true}
