Skip to content

Latest commit

 

History

History
2089 lines (1457 loc) · 119 KB

OauthOpenshiftIo_v1Api.md

File metadata and controls

2089 lines (1457 loc) · 119 KB

UniversityOfAdelaide\OpenShift\OauthOpenshiftIo_v1Api

All URIs are relative to https://localhost

Method HTTP request Description
createOauthOpenshiftIoV1OAuthAccessToken POST /apis/oauth.openshift.io/v1/oauthaccesstokens
createOauthOpenshiftIoV1OAuthAuthorizeToken POST /apis/oauth.openshift.io/v1/oauthauthorizetokens
createOauthOpenshiftIoV1OAuthClient POST /apis/oauth.openshift.io/v1/oauthclients
createOauthOpenshiftIoV1OAuthClientAuthorization POST /apis/oauth.openshift.io/v1/oauthclientauthorizations
deleteOauthOpenshiftIoV1CollectionOAuthAccessToken DELETE /apis/oauth.openshift.io/v1/oauthaccesstokens
deleteOauthOpenshiftIoV1CollectionOAuthAuthorizeToken DELETE /apis/oauth.openshift.io/v1/oauthauthorizetokens
deleteOauthOpenshiftIoV1CollectionOAuthClient DELETE /apis/oauth.openshift.io/v1/oauthclients
deleteOauthOpenshiftIoV1CollectionOAuthClientAuthorization DELETE /apis/oauth.openshift.io/v1/oauthclientauthorizations
deleteOauthOpenshiftIoV1OAuthAccessToken DELETE /apis/oauth.openshift.io/v1/oauthaccesstokens/{name}
deleteOauthOpenshiftIoV1OAuthAuthorizeToken DELETE /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name}
deleteOauthOpenshiftIoV1OAuthClient DELETE /apis/oauth.openshift.io/v1/oauthclients/{name}
deleteOauthOpenshiftIoV1OAuthClientAuthorization DELETE /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name}
getOauthOpenshiftIoV1APIResources GET /apis/oauth.openshift.io/v1/
listOauthOpenshiftIoV1OAuthAccessToken GET /apis/oauth.openshift.io/v1/oauthaccesstokens
listOauthOpenshiftIoV1OAuthAuthorizeToken GET /apis/oauth.openshift.io/v1/oauthauthorizetokens
listOauthOpenshiftIoV1OAuthClient GET /apis/oauth.openshift.io/v1/oauthclients
listOauthOpenshiftIoV1OAuthClientAuthorization GET /apis/oauth.openshift.io/v1/oauthclientauthorizations
patchOauthOpenshiftIoV1OAuthAccessToken PATCH /apis/oauth.openshift.io/v1/oauthaccesstokens/{name}
patchOauthOpenshiftIoV1OAuthAuthorizeToken PATCH /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name}
patchOauthOpenshiftIoV1OAuthClient PATCH /apis/oauth.openshift.io/v1/oauthclients/{name}
patchOauthOpenshiftIoV1OAuthClientAuthorization PATCH /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name}
readOauthOpenshiftIoV1OAuthAccessToken GET /apis/oauth.openshift.io/v1/oauthaccesstokens/{name}
readOauthOpenshiftIoV1OAuthAuthorizeToken GET /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name}
readOauthOpenshiftIoV1OAuthClient GET /apis/oauth.openshift.io/v1/oauthclients/{name}
readOauthOpenshiftIoV1OAuthClientAuthorization GET /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name}
replaceOauthOpenshiftIoV1OAuthAccessToken PUT /apis/oauth.openshift.io/v1/oauthaccesstokens/{name}
replaceOauthOpenshiftIoV1OAuthAuthorizeToken PUT /apis/oauth.openshift.io/v1/oauthauthorizetokens/{name}
replaceOauthOpenshiftIoV1OAuthClient PUT /apis/oauth.openshift.io/v1/oauthclients/{name}
replaceOauthOpenshiftIoV1OAuthClientAuthorization PUT /apis/oauth.openshift.io/v1/oauthclientauthorizations/{name}
watchOauthOpenshiftIoV1OAuthAccessToken GET /apis/oauth.openshift.io/v1/watch/oauthaccesstokens/{name}
watchOauthOpenshiftIoV1OAuthAccessTokenList GET /apis/oauth.openshift.io/v1/watch/oauthaccesstokens
watchOauthOpenshiftIoV1OAuthAuthorizeToken GET /apis/oauth.openshift.io/v1/watch/oauthauthorizetokens/{name}
watchOauthOpenshiftIoV1OAuthAuthorizeTokenList GET /apis/oauth.openshift.io/v1/watch/oauthauthorizetokens
watchOauthOpenshiftIoV1OAuthClient GET /apis/oauth.openshift.io/v1/watch/oauthclients/{name}
watchOauthOpenshiftIoV1OAuthClientAuthorization GET /apis/oauth.openshift.io/v1/watch/oauthclientauthorizations/{name}
watchOauthOpenshiftIoV1OAuthClientAuthorizationList GET /apis/oauth.openshift.io/v1/watch/oauthclientauthorizations
watchOauthOpenshiftIoV1OAuthClientList GET /apis/oauth.openshift.io/v1/watch/oauthclients

createOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken createOauthOpenshiftIoV1OAuthAccessToken($body, $pretty)

create an OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->createOauthOpenshiftIoV1OAuthAccessToken($body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->createOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken

Authorization

openshift_auth

HTTP request headers

  • 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]

createOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken createOauthOpenshiftIoV1OAuthAuthorizeToken($body, $pretty)

create an OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->createOauthOpenshiftIoV1OAuthAuthorizeToken($body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->createOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken

Authorization

openshift_auth

HTTP request headers

  • 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]

createOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient createOauthOpenshiftIoV1OAuthClient($body, $pretty)

create an OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->createOauthOpenshiftIoV1OAuthClient($body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->createOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient

Authorization

openshift_auth

HTTP request headers

  • 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]

createOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization createOauthOpenshiftIoV1OAuthClientAuthorization($body, $pretty)

create an OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->createOauthOpenshiftIoV1OAuthClientAuthorization($body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->createOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1CollectionOAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1CollectionOAuthAccessToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

delete collection of OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1CollectionOAuthAccessToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1CollectionOAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1CollectionOAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1CollectionOAuthAuthorizeToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

delete collection of OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1CollectionOAuthAuthorizeToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1CollectionOAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1CollectionOAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1CollectionOAuthClient($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

delete collection of OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1CollectionOAuthClient($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1CollectionOAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1CollectionOAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1CollectionOAuthClientAuthorization($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

delete collection of OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1CollectionOAuthClientAuthorization($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1CollectionOAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy)

delete an OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAccessToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions(); // \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$gracePeriodSeconds = 56; // int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
$orphanDependents = true; // bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
$propagationPolicy = "propagationPolicy_example"; // string | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAccessToken
body \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions
pretty string If 'true', then the output is pretty printed. [optional]
gracePeriodSeconds int The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. [optional]
orphanDependents bool Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. [optional]
propagationPolicy string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy)

delete an OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAuthorizeToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions(); // \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$gracePeriodSeconds = 56; // int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
$orphanDependents = true; // bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
$propagationPolicy = "propagationPolicy_example"; // string | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAuthorizeToken
body \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions
pretty string If 'true', then the output is pretty printed. [optional]
gracePeriodSeconds int The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. [optional]
orphanDependents bool Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. [optional]
propagationPolicy string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1OAuthClient($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy)

delete an OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClient
$body = new \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions(); // \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$gracePeriodSeconds = 56; // int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
$orphanDependents = true; // bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
$propagationPolicy = "propagationPolicy_example"; // string | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1OAuthClient($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClient
body \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions
pretty string If 'true', then the output is pretty printed. [optional]
gracePeriodSeconds int The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. [optional]
orphanDependents bool Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. [optional]
propagationPolicy string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

deleteOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1Status deleteOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy)

delete an OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClientAuthorization
$body = new \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions(); // \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$gracePeriodSeconds = 56; // int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
$orphanDependents = true; // bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
$propagationPolicy = "propagationPolicy_example"; // string | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.

try {
    $result = $api_instance->deleteOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty, $gracePeriodSeconds, $orphanDependents, $propagationPolicy);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->deleteOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClientAuthorization
body \UniversityOfAdelaide\OpenShift\Model\V1DeleteOptions
pretty string If 'true', then the output is pretty printed. [optional]
gracePeriodSeconds int The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. [optional]
orphanDependents bool Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the &quot;orphan&quot; finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. [optional]
propagationPolicy string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1Status

Authorization

openshift_auth

HTTP request headers

  • 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]

getOauthOpenshiftIoV1APIResources

\UniversityOfAdelaide\OpenShift\Model\V1APIResourceList getOauthOpenshiftIoV1APIResources()

get available resources

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());

try {
    $result = $api_instance->getOauthOpenshiftIoV1APIResources();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->getOauthOpenshiftIoV1APIResources: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\UniversityOfAdelaide\OpenShift\Model\V1APIResourceList

Authorization

openshift_auth

HTTP request headers

  • 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]

listOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessTokenList listOauthOpenshiftIoV1OAuthAccessToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

list or watch objects of kind OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->listOauthOpenshiftIoV1OAuthAccessToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->listOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessTokenList

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

listOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeTokenList listOauthOpenshiftIoV1OAuthAuthorizeToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

list or watch objects of kind OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->listOauthOpenshiftIoV1OAuthAuthorizeToken($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->listOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeTokenList

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

listOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientList listOauthOpenshiftIoV1OAuthClient($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

list or watch objects of kind OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->listOauthOpenshiftIoV1OAuthClient($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->listOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientList

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

listOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorizationList listOauthOpenshiftIoV1OAuthClientAuthorization($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch)

list or watch objects of kind OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->listOauthOpenshiftIoV1OAuthClientAuthorization($pretty, $fieldSelector, $labelSelector, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->listOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
pretty string If 'true', then the output is pretty printed. [optional]
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorizationList

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

patchOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken patchOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty)

partially update the specified OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAccessToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1Patch(); // \UniversityOfAdelaide\OpenShift\Model\V1Patch | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->patchOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->patchOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAccessToken
body \UniversityOfAdelaide\OpenShift\Model\V1Patch
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken

Authorization

openshift_auth

HTTP request headers

  • Content-Type: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

patchOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken patchOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty)

partially update the specified OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAuthorizeToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1Patch(); // \UniversityOfAdelaide\OpenShift\Model\V1Patch | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->patchOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->patchOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAuthorizeToken
body \UniversityOfAdelaide\OpenShift\Model\V1Patch
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken

Authorization

openshift_auth

HTTP request headers

  • Content-Type: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

patchOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient patchOauthOpenshiftIoV1OAuthClient($name, $body, $pretty)

partially update the specified OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClient
$body = new \UniversityOfAdelaide\OpenShift\Model\V1Patch(); // \UniversityOfAdelaide\OpenShift\Model\V1Patch | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->patchOauthOpenshiftIoV1OAuthClient($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->patchOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClient
body \UniversityOfAdelaide\OpenShift\Model\V1Patch
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient

Authorization

openshift_auth

HTTP request headers

  • Content-Type: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

patchOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization patchOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty)

partially update the specified OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClientAuthorization
$body = new \UniversityOfAdelaide\OpenShift\Model\V1Patch(); // \UniversityOfAdelaide\OpenShift\Model\V1Patch | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->patchOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->patchOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClientAuthorization
body \UniversityOfAdelaide\OpenShift\Model\V1Patch
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization

Authorization

openshift_auth

HTTP request headers

  • Content-Type: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]

readOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken readOauthOpenshiftIoV1OAuthAccessToken($name, $pretty, $exact, $export)

read the specified OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAccessToken
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$exact = true; // bool | Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
$export = true; // bool | Should this value be exported.  Export strips fields that a user can not specify.

try {
    $result = $api_instance->readOauthOpenshiftIoV1OAuthAccessToken($name, $pretty, $exact, $export);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->readOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAccessToken
pretty string If 'true', then the output is pretty printed. [optional]
exact bool Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. [optional]
export bool Should this value be exported. Export strips fields that a user can not specify. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken

Authorization

openshift_auth

HTTP request headers

  • 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]

readOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken readOauthOpenshiftIoV1OAuthAuthorizeToken($name, $pretty, $exact, $export)

read the specified OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAuthorizeToken
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$exact = true; // bool | Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
$export = true; // bool | Should this value be exported.  Export strips fields that a user can not specify.

try {
    $result = $api_instance->readOauthOpenshiftIoV1OAuthAuthorizeToken($name, $pretty, $exact, $export);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->readOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAuthorizeToken
pretty string If 'true', then the output is pretty printed. [optional]
exact bool Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. [optional]
export bool Should this value be exported. Export strips fields that a user can not specify. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken

Authorization

openshift_auth

HTTP request headers

  • 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]

readOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient readOauthOpenshiftIoV1OAuthClient($name, $pretty, $exact, $export)

read the specified OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClient
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$exact = true; // bool | Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
$export = true; // bool | Should this value be exported.  Export strips fields that a user can not specify.

try {
    $result = $api_instance->readOauthOpenshiftIoV1OAuthClient($name, $pretty, $exact, $export);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->readOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClient
pretty string If 'true', then the output is pretty printed. [optional]
exact bool Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. [optional]
export bool Should this value be exported. Export strips fields that a user can not specify. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient

Authorization

openshift_auth

HTTP request headers

  • 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]

readOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization readOauthOpenshiftIoV1OAuthClientAuthorization($name, $pretty, $exact, $export)

read the specified OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClientAuthorization
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$exact = true; // bool | Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
$export = true; // bool | Should this value be exported.  Export strips fields that a user can not specify.

try {
    $result = $api_instance->readOauthOpenshiftIoV1OAuthClientAuthorization($name, $pretty, $exact, $export);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->readOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClientAuthorization
pretty string If 'true', then the output is pretty printed. [optional]
exact bool Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. [optional]
export bool Should this value be exported. Export strips fields that a user can not specify. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization

Authorization

openshift_auth

HTTP request headers

  • 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]

replaceOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken replaceOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty)

replace the specified OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAccessToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->replaceOauthOpenshiftIoV1OAuthAccessToken($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->replaceOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAccessToken
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAccessToken

Authorization

openshift_auth

HTTP request headers

  • 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]

replaceOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken replaceOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty)

replace the specified OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAuthorizeToken
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->replaceOauthOpenshiftIoV1OAuthAuthorizeToken($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->replaceOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAuthorizeToken
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthAuthorizeToken

Authorization

openshift_auth

HTTP request headers

  • 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]

replaceOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient replaceOauthOpenshiftIoV1OAuthClient($name, $body, $pretty)

replace the specified OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClient
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->replaceOauthOpenshiftIoV1OAuthClient($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->replaceOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClient
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthClient
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClient

Authorization

openshift_auth

HTTP request headers

  • 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]

replaceOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization replaceOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty)

replace the specified OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClientAuthorization
$body = new \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization(); // \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization | 
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.

try {
    $result = $api_instance->replaceOauthOpenshiftIoV1OAuthClientAuthorization($name, $body, $pretty);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->replaceOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClientAuthorization
body \UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization
pretty string If 'true', then the output is pretty printed. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1OAuthClientAuthorization

Authorization

openshift_auth

HTTP request headers

  • 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]

watchOauthOpenshiftIoV1OAuthAccessToken

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthAccessToken($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch changes to an object of kind OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAccessToken
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthAccessToken($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthAccessToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAccessToken
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthAccessTokenList

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthAccessTokenList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch individual changes to a list of OAuthAccessToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthAccessTokenList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthAccessTokenList: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthAuthorizeToken

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthAuthorizeToken($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch changes to an object of kind OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthAuthorizeToken
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthAuthorizeToken($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthAuthorizeToken: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthAuthorizeToken
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthAuthorizeTokenList

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthAuthorizeTokenList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch individual changes to a list of OAuthAuthorizeToken

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthAuthorizeTokenList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthAuthorizeTokenList: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthClient

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthClient($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch changes to an object of kind OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClient
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthClient($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClient
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthClientAuthorization

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthClientAuthorization($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch changes to an object of kind OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$name = "name_example"; // string | name of the OAuthClientAuthorization
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthClientAuthorization($name, $fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthClientAuthorization: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
name string name of the OAuthClientAuthorization
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthClientAuthorizationList

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthClientAuthorizationList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch individual changes to a list of OAuthClientAuthorization

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthClientAuthorizationList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthClientAuthorizationList: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]

watchOauthOpenshiftIoV1OAuthClientList

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent watchOauthOpenshiftIoV1OAuthClientList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch)

watch individual changes to a list of OAuthClient

Example

<?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\OauthOpenshiftIo_v1Api(new \Http\Adapter\Guzzle6\Client());
$fieldSelector = "fieldSelector_example"; // string | A selector to restrict the list of returned objects by their fields. Defaults to everything.
$labelSelector = "labelSelector_example"; // string | A selector to restrict the list of returned objects by their labels. Defaults to everything.
$pretty = "pretty_example"; // string | If 'true', then the output is pretty printed.
$resourceVersion = "resourceVersion_example"; // string | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
$timeoutSeconds = 56; // int | Timeout for the list/watch call.
$watch = true; // bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

try {
    $result = $api_instance->watchOauthOpenshiftIoV1OAuthClientList($fieldSelector, $labelSelector, $pretty, $resourceVersion, $timeoutSeconds, $watch);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OauthOpenshiftIo_v1Api->watchOauthOpenshiftIoV1OAuthClientList: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
fieldSelector string A selector to restrict the list of returned objects by their fields. Defaults to everything. [optional]
labelSelector string A selector to restrict the list of returned objects by their labels. Defaults to everything. [optional]
pretty string If 'true', then the output is pretty printed. [optional]
resourceVersion string When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. [optional]
timeoutSeconds int Timeout for the list/watch call. [optional]
watch bool Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. [optional]

Return type

\UniversityOfAdelaide\OpenShift\Model\V1WatchEvent

Authorization

openshift_auth

HTTP request headers

  • Content-Type: /
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch

[Back to top] [Back to API list] [Back to Model list] [Back to README]