All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
createAuthorizationV1LocalSubjectAccessReviewForAllNamespaces | POST /apis/authorization.k8s.io/v1/localsubjectaccessreviews | |
createAuthorizationV1NamespacedLocalSubjectAccessReview | POST /apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews | |
createAuthorizationV1SelfSubjectAccessReview | POST /apis/authorization.k8s.io/v1/selfsubjectaccessreviews | |
createAuthorizationV1SubjectAccessReview | POST /apis/authorization.k8s.io/v1/subjectaccessreviews | |
getAuthorizationV1APIResources | GET /apis/authorization.k8s.io/v1/ |
\UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview createAuthorizationV1LocalSubjectAccessReviewForAllNamespaces($body, $pretty)
create a LocalSubjectAccessReview
<?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\Authorization_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview(); // \UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createAuthorizationV1LocalSubjectAccessReviewForAllNamespaces($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Authorization_v1Api->createAuthorizationV1LocalSubjectAccessReviewForAllNamespaces: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview
- 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\V1LocalSubjectAccessReview createAuthorizationV1NamespacedLocalSubjectAccessReview($namespace, $body, $pretty)
create a LocalSubjectAccessReview
<?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\Authorization_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\V1LocalSubjectAccessReview(); // \UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createAuthorizationV1NamespacedLocalSubjectAccessReview($namespace, $body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Authorization_v1Api->createAuthorizationV1NamespacedLocalSubjectAccessReview: ', $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\V1LocalSubjectAccessReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1LocalSubjectAccessReview
- 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\V1SelfSubjectAccessReview createAuthorizationV1SelfSubjectAccessReview($body, $pretty)
create a SelfSubjectAccessReview
<?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\Authorization_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1SelfSubjectAccessReview(); // \UniversityOfAdelaide\OpenShift\Model\V1SelfSubjectAccessReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createAuthorizationV1SelfSubjectAccessReview($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Authorization_v1Api->createAuthorizationV1SelfSubjectAccessReview: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1SelfSubjectAccessReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1SelfSubjectAccessReview
- 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\V1SubjectAccessReview createAuthorizationV1SubjectAccessReview($body, $pretty)
create a SubjectAccessReview
<?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\Authorization_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1SubjectAccessReview(); // \UniversityOfAdelaide\OpenShift\Model\V1SubjectAccessReview |
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
try {
$result = $api_instance->createAuthorizationV1SubjectAccessReview($body, $pretty);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Authorization_v1Api->createAuthorizationV1SubjectAccessReview: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \UniversityOfAdelaide\OpenShift\Model\V1SubjectAccessReview | ||
pretty | string | If 'true', then the output is pretty printed. | [optional] |
\UniversityOfAdelaide\OpenShift\Model\V1SubjectAccessReview
- 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 getAuthorizationV1APIResources()
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\Authorization_v1Api(new \Http\Adapter\Guzzle6\Client());
try {
$result = $api_instance->getAuthorizationV1APIResources();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling Authorization_v1Api->getAuthorizationV1APIResources: ', $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]