All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
createSecurityOpenshiftIoV1NamespacedPodSecurityPolicyReview | POST /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyreviews | |
createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySelfSubjectReview | POST /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicyselfsubjectreviews | |
createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySubjectReview | POST /apis/security.openshift.io/v1/namespaces/{namespace}/podsecuritypolicysubjectreviews | |
createSecurityOpenshiftIoV1PodSecurityPolicyReviewForAllNamespaces | POST /apis/security.openshift.io/v1/podsecuritypolicyreviews | |
createSecurityOpenshiftIoV1PodSecurityPolicySelfSubjectReviewForAllNamespaces | POST /apis/security.openshift.io/v1/podsecuritypolicyselfsubjectreviews | |
createSecurityOpenshiftIoV1PodSecurityPolicySubjectReviewForAllNamespaces | POST /apis/security.openshift.io/v1/podsecuritypolicysubjectreviews | |
getSecurityOpenshiftIoV1APIResources | GET /apis/security.openshift.io/v1/ |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview createSecurityOpenshiftIoV1NamespacedPodSecurityPolicyReview($namespace, $body, $pretty)
create a PodSecurityPolicyReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$namespace = "namespace_example"; // string | object name and auth scope, such as for teams and projects
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicyReview($namespace, $body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicyReview: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
namespace | string | object name and auth scope, such as for teams and projects | |
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySelfSubjectReview($namespace, $body, $pretty)
create a PodSecurityPolicySelfSubjectReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$namespace = "namespace_example"; // string | object name and auth scope, such as for teams and projects
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySelfSubjectReview($namespace, $body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySelfSubjectReview: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
namespace | string | object name and auth scope, such as for teams and projects | |
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySubjectReview($namespace, $body, $pretty)
create a PodSecurityPolicySubjectReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$namespace = "namespace_example"; // string | object name and auth scope, such as for teams and projects
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySubjectReview($namespace, $body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1NamespacedPodSecurityPolicySubjectReview: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
namespace | string | object name and auth scope, such as for teams and projects | |
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview createSecurityOpenshiftIoV1PodSecurityPolicyReviewForAllNamespaces($body, $pretty)
create a PodSecurityPolicyReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1PodSecurityPolicyReviewForAllNamespaces($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1PodSecurityPolicyReviewForAllNamespaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicyReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview createSecurityOpenshiftIoV1PodSecurityPolicySelfSubjectReviewForAllNamespaces($body, $pretty)
create a PodSecurityPolicySelfSubjectReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1PodSecurityPolicySelfSubjectReviewForAllNamespaces($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1PodSecurityPolicySelfSubjectReviewForAllNamespaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySelfSubjectReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview createSecurityOpenshiftIoV1PodSecurityPolicySubjectReviewForAllNamespaces($body, $pretty)
create a PodSecurityPolicySubjectReview
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview(); // \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createSecurityOpenshiftIoV1PodSecurityPolicySubjectReviewForAllNamespaces($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->createSecurityOpenshiftIoV1PodSecurityPolicySubjectReviewForAllNamespaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1PodSecurityPolicySubjectReview
- Content-Type: /
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\UniversityOfAdelaide\OpenShift\Model\V1APIResourceList getSecurityOpenshiftIoV1APIResources()
get available resources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\SecurityOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
try {
$result = $api_instance->getSecurityOpenshiftIoV1APIResources();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SecurityOpenshiftIo_v1Api->getSecurityOpenshiftIoV1APIResources: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\UniversityOfAdelaide\OpenShift\Model\V1APIResourceList
- Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]