Documentation ¶
Index ¶
- type CoreV1
- type GetGVR
- func (g *GetGVR) Delete() error
- func (g *GetGVR) Get() (data *unstructured.Unstructured, err error)
- func (g *GetGVR) GetStruct() schema.GroupVersionResource
- func (g *GetGVR) List() (list *unstructured.UnstructuredList, err error)
- func (g *GetGVR) Patch() (*unstructured.Unstructured, error)
- func (g *GetGVR) Post() (*unstructured.Unstructured, error)
- func (g *GetGVR) Put() (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreV1 ¶
type CoreV1 struct { }
func (*CoreV1) Namespaces ¶
func (g *CoreV1) Namespaces() (*v1.NamespaceList, error)
func (*CoreV1) RestClient ¶
func (g *CoreV1) RestClient() *kubernetes.Clientset
type GetGVR ¶
type GetGVR struct { Group string `json:"group"` Version string `json:"version"` Resource string `json:"resource"` Namespace string `json:"namespace"` Name string `json:"name"` Data *unstructured.Unstructured `json:"data"` PatchData string `json:"patchdata"` }
func (*GetGVR) Get ¶
func (g *GetGVR) Get() (data *unstructured.Unstructured, err error)
func (*GetGVR) GetStruct ¶
func (g *GetGVR) GetStruct() schema.GroupVersionResource
func (*GetGVR) List ¶
func (g *GetGVR) List() (list *unstructured.UnstructuredList, err error)
func (*GetGVR) Patch ¶
func (g *GetGVR) Patch() (*unstructured.Unstructured, error)
func (*GetGVR) Post ¶
func (g *GetGVR) Post() (*unstructured.Unstructured, error)
func (*GetGVR) Put ¶
func (g *GetGVR) Put() (*unstructured.Unstructured, error)
Click to show internal directories.
Click to hide internal directories.