Documentation
¶
Index ¶
- func Create(gr schema.GroupVersionResource, clients *cli.Clients, ...) (*unstructured.Unstructured, error)
- func Delete(gr schema.GroupVersionResource, clients *cli.Clients, objname, ns string, ...) error
- func Get(gr schema.GroupVersionResource, clients *cli.Clients, objname, ns string, ...) (*unstructured.Unstructured, error)
- func GetGroupVersionResource(gr schema.GroupVersionResource, discovery discovery.DiscoveryInterface) (*schema.GroupVersionResource, error)
- func InitializeAPIGroupRes(discovery discovery.DiscoveryInterface) error
- func List(gr schema.GroupVersionResource, clients *cli.Clients, ns string, ...) (*unstructured.UnstructuredList, error)
- func Patch(gr schema.GroupVersionResource, clients *cli.Clients, objName string, ...) (*unstructured.Unstructured, error)
- func PrintObject(groupResource schema.GroupVersionResource, obj string, w io.Writer, ...) error
- func PrintObjects(groupResource schema.GroupVersionResource, w io.Writer, p cli.Params, ...) error
- func Watch(gr schema.GroupVersionResource, clients *cli.Clients, ns string, ...) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(gr schema.GroupVersionResource, clients *cli.Clients, object *unstructured.Unstructured, ns string, op metav1.CreateOptions) (*unstructured.Unstructured, error)
func Delete ¶
func Delete(gr schema.GroupVersionResource, clients *cli.Clients, objname, ns string, op metav1.DeleteOptions) error
func Get ¶
func Get(gr schema.GroupVersionResource, clients *cli.Clients, objname, ns string, op metav1.GetOptions) (*unstructured.Unstructured, error)
func GetGroupVersionResource ¶
func GetGroupVersionResource(gr schema.GroupVersionResource, discovery discovery.DiscoveryInterface) (*schema.GroupVersionResource, error)
func InitializeAPIGroupRes ¶ added in v0.12.1
func InitializeAPIGroupRes(discovery discovery.DiscoveryInterface) error
func List ¶
func List(gr schema.GroupVersionResource, clients *cli.Clients, ns string, op metav1.ListOptions) (*unstructured.UnstructuredList, error)
func Patch ¶
func Patch(gr schema.GroupVersionResource, clients *cli.Clients, objName string, data []byte, opt metav1.PatchOptions, ns string) (*unstructured.Unstructured, error)
func PrintObject ¶
func PrintObjects ¶
func PrintObjects(groupResource schema.GroupVersionResource, w io.Writer, p cli.Params, f *cliopts.PrintFlags, ns string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.