NAME
Kubernetes::REST::V0Group - Base class for backwards-compatible v0 API group wrappers
VERSION
version 1.000
SYNOPSIS
# This API is deprecated - use the new API instead
my $api = Kubernetes::REST->new(...);
# Old way (deprecated):
my $pods = $api->Core->ListNamespacedPod(namespace => 'default');
# New way:
my $pods = $api->list('Pod', namespace => 'default');
DESCRIPTION
This module provides backwards compatibility for the old v0 API that used method names like ListNamespacedPod, ReadNamespacedPod, etc. It translates these calls to the new simplified API.
This API is deprecated. All calls emit deprecation warnings unless you set $ENV{HIDE_KUBERNETES_REST_V0_API_WARNING}.
NAME
Kubernetes::REST::V0Group - Base class for backwards-compatible v0 API group wrappers
METHODS
This module uses AUTOLOAD to intercept method calls like ListNamespacedPod and translates them to the new API. The following actions are supported:
List -> list()
Read -> get()
Create -> create()
Replace -> update()
Delete -> delete()
Patch -> patch()
Watch -> watch()
SEE ALSO
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <torsten@raudssus.de>
Jose Luis Martinez Torres <jlmartin@cpan.org> (JLMARTIN, original author, inactive)
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 by Jose Luis Martinez.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004