Documentation ¶
Index ¶
- type APIResources
- func (g *APIResources) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)
- func (g *APIResources) Get(namespace, name string) (*service.UnstructuredExtend, error)
- func (g *APIResources) List(namespace string, selector string) (*service.UnstructuredListExtend, error)
- func (g *APIResources) ListAPIResources() (map[string]*schema.GroupVersionResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResources ¶
func NewAPIResources ¶
func NewAPIResources(svcInterface service.Interface) *APIResources
func (*APIResources) Apply ¶
func (g *APIResources) Apply(namespace, name string, unstructuredExtend *service.UnstructuredExtend) (*service.UnstructuredExtend, bool, error)
func (*APIResources) Get ¶
func (g *APIResources) Get(namespace, name string) (*service.UnstructuredExtend, error)
func (*APIResources) List ¶
func (g *APIResources) List(namespace string, selector string) (*service.UnstructuredListExtend, error)
func (*APIResources) ListAPIResources ¶
func (g *APIResources) ListAPIResources() (map[string]*schema.GroupVersionResource, error)
Click to show internal directories.
Click to hide internal directories.