Documentation ¶
Index ¶
- func ExtractRawToMap(fieldName string, raw []byte) (map[string]interface{}, error)
- func FromUnstructured(obj *unstructured.Unstructured, v interface{}) error
- func ToStringPtr(val interface{}) *string
- func ToUnstructured(v interface{}) (*unstructured.Unstructured, error)
- type Service
- type ServiceFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRawToMap ¶
func FromUnstructured ¶
func FromUnstructured(obj *unstructured.Unstructured, v interface{}) error
func ToStringPtr ¶
func ToStringPtr(val interface{}) *string
func ToUnstructured ¶
func ToUnstructured(v interface{}) (*unstructured.Unstructured, error)
Types ¶
type Service ¶
type Service struct { Client dynamic.NamespaceableResourceInterface Informer cache.SharedIndexInformer // contains filtered or unexported fields }
func (*Service) FindInNamespace ¶
func (*Service) ListInIndex ¶
type ServiceFactory ¶
type ServiceFactory struct { Client dynamic.Interface InformerFactory dynamicinformer.DynamicSharedInformerFactory }
func NewServiceFactory ¶
func NewServiceFactory(client dynamic.Interface, informerFactory dynamicinformer.DynamicSharedInformerFactory) *ServiceFactory
func (*ServiceFactory) ForResource ¶
func (f *ServiceFactory) ForResource(gvr schema.GroupVersionResource) *Service
Click to show internal directories.
Click to hide internal directories.