NAME
IO::K8s::Role::Namespaced - Role for Kubernetes resources that live in a namespace
VERSION
version 1.001
SYNOPSIS
package IO::K8s::Api::Core::V1::Pod;
use IO::K8s::APIObject;
with 'IO::K8s::Role::Namespaced';
DESCRIPTION
This role marks Kubernetes resources that are namespace-scoped (as opposed to cluster-scoped). Resources like Pods, Services, Deployments, etc. consume this role. Cluster-scoped resources like Nodes, Namespaces, ClusterRoles do not.
You can check if a resource is namespaced:
if ($class->does('IO::K8s::Role::Namespaced')) {
print "This resource is namespace-scoped\n";
}
NAME
IO::K8s::Role::Namespaced - Role for Kubernetes resources that live in a namespace
SEE ALSO
IO::K8s::Role::APIObject, IO::K8s::APIObject
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/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 <jlmartin@cpan.org> (original author, inactive)
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by Jose Luis Martinez.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004