Documentation ¶
Index ¶
- func Default() (client.WithWatch, error)
- func DefaultConfig() (*rest.Config, error)
- func DefaultInterface() (kubernetes.Interface, error)
- func New(cfg *rest.Config) (client.WithWatch, error)
- func NewMapper(scheme *runtime.Scheme, mapper meta.RESTMapper) (meta.RESTMapper, error)
- type FastMapper
- func (f *FastMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (f *FastMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (f *FastMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (f *FastMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (f *FastMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (f *FastMapper) ResourceSingularizer(resource string) (singular string, err error)
- func (f *FastMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
- type ListOptions
- type ObjectKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func DefaultInterface ¶
func DefaultInterface() (kubernetes.Interface, error)
func NewMapper ¶
func NewMapper(scheme *runtime.Scheme, mapper meta.RESTMapper) (meta.RESTMapper, error)
Types ¶
type FastMapper ¶
type FastMapper struct {
// contains filtered or unexported fields
}
func (*FastMapper) KindFor ¶
func (f *FastMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
func (*FastMapper) KindsFor ¶
func (f *FastMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
func (*FastMapper) RESTMapping ¶
func (f *FastMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
func (*FastMapper) RESTMappings ¶
func (f *FastMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
func (*FastMapper) ResourceFor ¶
func (f *FastMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
func (*FastMapper) ResourceSingularizer ¶
func (f *FastMapper) ResourceSingularizer(resource string) (singular string, err error)
func (*FastMapper) ResourcesFor ¶
func (f *FastMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
type ListOptions ¶
type ListOptions = client.ListOptions
Click to show internal directories.
Click to hide internal directories.