NAME
Net::Kubernetes::Namespace
VERSION
version 0.10
Provides access to kubernetes respources within a single namespace.
Methods
- $ns->list_pods([label=>{label=>value}], [fields=>{field=>value}])
- $ns->list_rc([label=>{label=>value}], [fields=>{field=>value}])
- $ns->list_replication_controllers([label=>{label=>value}], [fields=>{field=>value}]) (alias to list_rc)
- $ns->list_secrets([label=>{label=>value}], [fields=>{field=>value}])
- $ns->list_services([label=>{label=>value}], [fields=>{field=>value}])
- my $resource = $ns->create({OBJECT})
- my $resource = $ns->create_from_file(PATH_TO_FILE) (accepts either JSON or YAML files)
- $ns->get_pod('my-pod-name')
- $ns->get_repllcation_controller('my-rc-name') (aliased as $ns->get_rc('my-rc-name'))
- $ns->get_service('my-servce-name')
- $ns->get_secret('my-secret-name')