No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: v1.11
- Package version: 1.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import paas "github.com/hamidfzm/arvancloud-go/paas"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), paas.ContextServerIndex, 1)
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), paas.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), paas.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), paas.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
All URIs are relative to https://napi.arvancloud.ir/paas/v1/regions/ir-thr-at1/o
Class | Method | HTTP request | Description |
---|---|---|---|
BuildConfigAPI | CreateNamespacedBuildConfig | Post /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | create a BuildConfig |
BuildConfigAPI | CreateNamespacedBuildConfigInstantiate | Post /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name}/instantiate | create instantiate of a BuildConfig |
BuildConfigAPI | DeleteNamespacedBuildConfig | Delete /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | delete a BuildConfig |
BuildConfigAPI | DeletecollectionNamespacedBuildConfig | Delete /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | delete collection of BuildConfig |
BuildConfigAPI | ListNamespacedBuildConfig | Get /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs | list or watch objects of kind BuildConfig |
BuildConfigAPI | PatchNamespacedBuildConfig | Patch /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | partially update the specified BuildConfig |
BuildConfigAPI | ReadNamespacedBuildConfig | Get /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | read the specified BuildConfig |
BuildConfigAPI | ReplaceNamespacedBuildConfig | Put /apis/build.openshift.io/v1/namespaces/{namespace}/buildconfigs/{name} | replace the specified BuildConfig |
BuildsAPI | CreateNamespacedBuild | Post /apis/build.openshift.io/v1/namespaces/{namespace}/builds | create a Build |
BuildsAPI | DeleteNamespacedBuild | Delete /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | delete a Build |
BuildsAPI | DeletecollectionNamespacedBuild | Delete /apis/build.openshift.io/v1/namespaces/{namespace}/builds | delete collection of Build |
BuildsAPI | ListNamespacedBuild | Get /apis/build.openshift.io/v1/namespaces/{namespace}/builds | list or watch objects of kind Build |
BuildsAPI | PatchNamespacedBuild | Patch /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | partially update the specified Build |
BuildsAPI | ReadNamespacedBuild | Get /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | read the specified Build |
BuildsAPI | ReadNamespacedBuildLog | Get /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name}/log | read log of the specified Build |
BuildsAPI | ReplaceNamespacedBuild | Put /apis/build.openshift.io/v1/namespaces/{namespace}/builds/{name} | replace the specified Build |
ConfigMapAPI | CreateNamespacedConfigMap | Post /api/v1/namespaces/{namespace}/configmaps | create a ConfigMap |
ConfigMapAPI | DeleteNamespacedConfigMap | Delete /api/v1/namespaces/{namespace}/configmaps/{name} | delete a ConfigMap |
ConfigMapAPI | DeletecollectionNamespacedConfigMap | Delete /api/v1/namespaces/{namespace}/configmaps | delete collection of ConfigMap |
ConfigMapAPI | ListNamespacedConfigMap | Get /api/v1/namespaces/{namespace}/configmaps | list or watch objects of kind ConfigMap |
ConfigMapAPI | PatchNamespacedConfigMap | Patch /api/v1/namespaces/{namespace}/configmaps/{name} | partially update the specified ConfigMap |
ConfigMapAPI | ReadNamespacedConfigMap | Get /api/v1/namespaces/{namespace}/configmaps/{name} | read the specified ConfigMap |
ConfigMapAPI | ReplaceNamespacedConfigMap | Put /api/v1/namespaces/{namespace}/configmaps/{name} | replace the specified ConfigMap |
DeploymentAPI | CreateNamespacedDeployment | Post /apis/apps/v1/namespaces/{namespace}/deployments | create a Deployment |
DeploymentAPI | DeleteNamespacedDeployment | Delete /apis/apps/v1/namespaces/{namespace}/deployments/{name} | delete a Deployment |
DeploymentAPI | DeletecollectionNamespacedDeployment | Delete /apis/apps/v1/namespaces/{namespace}/deployments | delete collection of Deployment |
DeploymentAPI | ListNamespacedDeployment | Get /apis/apps/v1/namespaces/{namespace}/deployments | list or watch objects of kind Deployment |
DeploymentAPI | PatchNamespacedDeployment | Patch /apis/apps/v1/namespaces/{namespace}/deployments/{name} | partially update the specified Deployment |
DeploymentAPI | PatchNamespacedDeploymentScale | Patch /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | partially update scale of the specified Deployment |
DeploymentAPI | PatchNamespacedDeploymentStatus | Patch /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | partially update status of the specified Deployment |
DeploymentAPI | ReadNamespacedDeployment | Get /apis/apps/v1/namespaces/{namespace}/deployments/{name} | read the specified Deployment |
DeploymentAPI | ReadNamespacedDeploymentScale | Get /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | read scale of the specified Deployment |
DeploymentAPI | ReadNamespacedDeploymentStatus | Get /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | read status of the specified Deployment |
DeploymentAPI | ReplaceNamespacedDeployment | Put /apis/apps/v1/namespaces/{namespace}/deployments/{name} | replace the specified Deployment |
DeploymentAPI | ReplaceNamespacedDeploymentScale | Put /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | replace scale of the specified Deployment |
DeploymentAPI | ReplaceNamespacedDeploymentStatus | Put /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | replace status of the specified Deployment |
DeploymentConfigAPI | CreateNamespacedDeploymentConfig | Post /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | create a DeploymentConfig |
DeploymentConfigAPI | DeleteNamespacedDeploymentConfig | Delete /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | delete a DeploymentConfig |
DeploymentConfigAPI | DeletecollectionNamespacedDeploymentConfig | Delete /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | delete collection of DeploymentConfig |
DeploymentConfigAPI | ListNamespacedDeploymentConfig | Get /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs | list or watch objects of kind DeploymentConfig |
DeploymentConfigAPI | PatchNamespacedDeploymentConfig | Patch /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | partially update the specified DeploymentConfig |
DeploymentConfigAPI | PatchNamespacedDeploymentConfigScale | Patch /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | partially update scale of the specified DeploymentConfig |
DeploymentConfigAPI | ReadNamespacedDeploymentConfig | Get /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | read the specified DeploymentConfig |
DeploymentConfigAPI | ReadNamespacedDeploymentConfigScale | Get /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | read scale of the specified DeploymentConfig |
DeploymentConfigAPI | ReplaceNamespacedDeploymentConfig | Put /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name} | replace the specified DeploymentConfig |
DeploymentConfigAPI | ReplaceNamespacedDeploymentConfigScale | Put /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/scale | replace scale of the specified DeploymentConfig |
EventsAPI | ListNamespacedEvent | Get /api/v1/namespaces/{namespace}/events | list or watch objects of kind Event |
EventsAPI | ReadNamespacedEvent | Get /api/v1/namespaces/{namespace}/events/{name} | read the specified Event |
HorizontalPodAutoscalerAPI | CreateNamespacedHorizontalPodAutoscaler | Post /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | create a HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | DeleteNamespacedHorizontalPodAutoscaler | Delete /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | delete a HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | DeletecollectionNamespacedHorizontalPodAutoscaler | Delete /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | delete collection of HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | ListNamespacedHorizontalPodAutoscaler | Get /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers | list or watch objects of kind HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | PatchNamespacedHorizontalPodAutoscaler | Patch /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | partially update the specified HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | PatchNamespacedHorizontalPodAutoscalerStatus | Patch /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | partially update status of the specified HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | ReadNamespacedHorizontalPodAutoscaler | Get /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | read the specified HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | ReadNamespacedHorizontalPodAutoscalerStatus | Get /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | read status of the specified HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | ReplaceNamespacedHorizontalPodAutoscaler | Put /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | replace the specified HorizontalPodAutoscaler |
HorizontalPodAutoscalerAPI | ReplaceNamespacedHorizontalPodAutoscalerStatus | Put /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | replace status of the specified HorizontalPodAutoscaler |
ImageStreamAPI | CreateNamespacedImageStream | Post /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | create an ImageStream |
ImageStreamAPI | DeleteNamespacedImageStream | Delete /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | delete an ImageStream |
ImageStreamAPI | DeletecollectionNamespacedImageStream | Delete /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | delete collection of ImageStream |
ImageStreamAPI | ListNamespacedImageStream | Get /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams | list or watch objects of kind ImageStream |
ImageStreamAPI | PatchNamespacedImageStream | Patch /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | partially update the specified ImageStream |
ImageStreamAPI | ReadNamespacedImageStream | Get /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | read the specified ImageStream |
ImageStreamAPI | ReplaceNamespacedImageStream | Put /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name} | replace the specified ImageStream |
ImageStreamTagAPI | CreateNamespacedImageStreamTag | Post /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | create an ImageStreamTag |
ImageStreamTagAPI | DeleteNamespacedImageStreamTag | Delete /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | delete an ImageStreamTag |
ImageStreamTagAPI | ListNamespacedImageStreamTag | Get /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags | list objects of kind ImageStreamTag |
ImageStreamTagAPI | PatchNamespacedImageStreamTag | Patch /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | partially update the specified ImageStreamTag |
ImageStreamTagAPI | ReadNamespacedImageStreamTag | Get /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | read the specified ImageStreamTag |
ImageStreamTagAPI | ReplaceNamespacedImageStreamTag | Put /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreamtags/{name} | replace the specified ImageStreamTag |
PersistentVolumeClaimAPI | CreateNamespacedPersistentVolumeClaim | Post /api/v1/namespaces/{namespace}/persistentvolumeclaims | create a PersistentVolumeClaim |
PersistentVolumeClaimAPI | DeleteNamespacedPersistentVolumeClaim | Delete /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | delete a PersistentVolumeClaim |
PersistentVolumeClaimAPI | DeletecollectionNamespacedPersistentVolumeClaim | Delete /api/v1/namespaces/{namespace}/persistentvolumeclaims | delete collection of PersistentVolumeClaim |
PersistentVolumeClaimAPI | ListNamespacedPersistentVolumeClaim | Get /api/v1/namespaces/{namespace}/persistentvolumeclaims | list or watch objects of kind PersistentVolumeClaim |
PersistentVolumeClaimAPI | PatchNamespacedPersistentVolumeClaim | Patch /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | partially update the specified PersistentVolumeClaim |
PersistentVolumeClaimAPI | ReadNamespacedPersistentVolumeClaim | Get /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | read the specified PersistentVolumeClaim |
PersistentVolumeClaimAPI | ReplaceNamespacedPersistentVolumeClaim | Put /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name} | replace the specified PersistentVolumeClaim |
PodAPI | ConnectGetNamespacedPodExec | Get /api/v1/namespaces/{namespace}/pods/{name}/exec | connect GET requests to exec of Pod |
PodAPI | ConnectPostNamespacedPodExec | Post /api/v1/namespaces/{namespace}/pods/{name}/exec | connect POST requests to exec of Pod |
PodAPI | CreateNamespacedPod | Post /api/v1/namespaces/{namespace}/pods | create a Pod |
PodAPI | DeleteNamespacedPod | Delete /api/v1/namespaces/{namespace}/pods/{name} | delete a Pod |
PodAPI | DeletecollectionNamespacedPod | Delete /api/v1/namespaces/{namespace}/pods | delete collection of Pod |
PodAPI | ListNamespacedPod | Get /api/v1/namespaces/{namespace}/pods | list or watch objects of kind Pod |
PodAPI | PatchNamespacedPod | Patch /api/v1/namespaces/{namespace}/pods/{name} | partially update the specified Pod |
PodAPI | ReadNamespacedPod | Get /api/v1/namespaces/{namespace}/pods/{name} | read the specified Pod |
PodAPI | ReadNamespacedPodLog | Get /api/v1/namespaces/{namespace}/pods/{name}/log | read log of the specified Pod |
PodAPI | ReplaceNamespacedPod | Put /api/v1/namespaces/{namespace}/pods/{name} | replace the specified Pod |
ReplicaSetAPI | CreateNamespacedReplicaSet | Post /apis/apps/v1/namespaces/{namespace}/replicasets | create a ReplicaSet |
ReplicaSetAPI | DeleteNamespacedReplicaSet | Delete /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | delete a ReplicaSet |
ReplicaSetAPI | DeletecollectionNamespacedReplicaSet | Delete /apis/apps/v1/namespaces/{namespace}/replicasets | delete collection of ReplicaSet |
ReplicaSetAPI | ListNamespacedReplicaSet | Get /apis/apps/v1/namespaces/{namespace}/replicasets | list or watch objects of kind ReplicaSet |
ReplicaSetAPI | PatchNamespacedReplicaSet | Patch /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | partially update the specified ReplicaSet |
ReplicaSetAPI | PatchNamespacedReplicaSetScale | Patch /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | partially update scale of the specified ReplicaSet |
ReplicaSetAPI | PatchNamespacedReplicaSetStatus | Patch /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | partially update status of the specified ReplicaSet |
ReplicaSetAPI | ReadNamespacedReplicaSet | Get /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | read the specified ReplicaSet |
ReplicaSetAPI | ReadNamespacedReplicaSetScale | Get /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | read scale of the specified ReplicaSet |
ReplicaSetAPI | ReadNamespacedReplicaSetStatus | Get /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | read status of the specified ReplicaSet |
ReplicaSetAPI | ReplaceNamespacedReplicaSet | Put /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | replace the specified ReplicaSet |
ReplicaSetAPI | ReplaceNamespacedReplicaSetScale | Put /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | replace scale of the specified ReplicaSet |
ReplicaSetAPI | ReplaceNamespacedReplicaSetStatus | Put /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | replace status of the specified ReplicaSet |
ResourceQuotaAPI | ListNamespacedResourceQuota | Get /api/v1/namespaces/{namespace}/resourcequotas | list or watch objects of kind ResourceQuota |
RouteAPI | CreateNamespacedRoute | Post /apis/route.openshift.io/v1/namespaces/{namespace}/routes | create a Route |
RouteAPI | DeleteNamespacedRoute | Delete /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | delete a Route |
RouteAPI | DeletecollectionNamespacedRoute | Delete /apis/route.openshift.io/v1/namespaces/{namespace}/routes | delete collection of Route |
RouteAPI | ListNamespacedRoute | Get /apis/route.openshift.io/v1/namespaces/{namespace}/routes | list or watch objects of kind Route |
RouteAPI | PatchNamespacedRoute | Patch /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | partially update the specified Route |
RouteAPI | PatchNamespacedRouteStatus | Patch /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | partially update status of the specified Route |
RouteAPI | ReadNamespacedRoute | Get /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | read the specified Route |
RouteAPI | ReadNamespacedRouteStatus | Get /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | read status of the specified Route |
RouteAPI | ReplaceNamespacedRoute | Put /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name} | replace the specified Route |
RouteAPI | ReplaceNamespacedRouteStatus | Put /apis/route.openshift.io/v1/namespaces/{namespace}/routes/{name}/status | replace status of the specified Route |
SecretAPI | CreateNamespacedSecret | Post /api/v1/namespaces/{namespace}/secrets | create a Secret |
SecretAPI | DeleteNamespacedSecret | Delete /api/v1/namespaces/{namespace}/secrets/{name} | delete a Secret |
SecretAPI | DeletecollectionNamespacedSecret | Delete /api/v1/namespaces/{namespace}/secrets | delete collection of Secret |
SecretAPI | ListNamespacedSecret | Get /api/v1/namespaces/{namespace}/secrets | list or watch objects of kind Secret |
SecretAPI | PatchNamespacedSecret | Patch /api/v1/namespaces/{namespace}/secrets/{name} | partially update the specified Secret |
SecretAPI | ReadNamespacedSecret | Get /api/v1/namespaces/{namespace}/secrets/{name} | read the specified Secret |
SecretAPI | ReplaceNamespacedSecret | Put /api/v1/namespaces/{namespace}/secrets/{name} | replace the specified Secret |
ServiceAPI | CreateNamespacedService | Post /api/v1/namespaces/{namespace}/services | create a Service |
ServiceAPI | DeleteNamespacedService | Delete /api/v1/namespaces/{namespace}/services/{name} | delete a Service |
ServiceAPI | ListNamespacedService | Get /api/v1/namespaces/{namespace}/services | list or watch objects of kind Service |
ServiceAPI | PatchNamespacedService | Patch /api/v1/namespaces/{namespace}/services/{name} | partially update the specified Service |
ServiceAPI | ReadNamespacedService | Get /api/v1/namespaces/{namespace}/services/{name} | read the specified Service |
ServiceAPI | ReplaceNamespacedService | Put /api/v1/namespaces/{namespace}/services/{name} | replace the specified Service |
StatefulSetAPI | CreateNamespacedStatefulSet | Post /apis/apps/v1/namespaces/{namespace}/statefulsets | create a StatefulSet |
StatefulSetAPI | DeleteNamespacedStatefulSet | Delete /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | delete a StatefulSet |
StatefulSetAPI | DeletecollectionNamespacedStatefulSet | Delete /apis/apps/v1/namespaces/{namespace}/statefulsets | delete collection of StatefulSet |
StatefulSetAPI | ListNamespacedStatefulSet | Get /apis/apps/v1/namespaces/{namespace}/statefulsets | list or watch objects of kind StatefulSet |
StatefulSetAPI | PatchNamespacedStatefulSet | Patch /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | partially update the specified StatefulSet |
StatefulSetAPI | PatchNamespacedStatefulSetScale | Patch /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | partially update scale of the specified StatefulSet |
StatefulSetAPI | PatchNamespacedStatefulSetStatus | Patch /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | partially update status of the specified StatefulSet |
StatefulSetAPI | ReadNamespacedStatefulSet | Get /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | read the specified StatefulSet |
StatefulSetAPI | ReadNamespacedStatefulSetScale | Get /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | read scale of the specified StatefulSet |
StatefulSetAPI | ReadNamespacedStatefulSetStatus | Get /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | read status of the specified StatefulSet |
StatefulSetAPI | ReplaceNamespacedStatefulSet | Put /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | replace the specified StatefulSet |
StatefulSetAPI | ReplaceNamespacedStatefulSetScale | Put /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | replace scale of the specified StatefulSet |
StatefulSetAPI | ReplaceNamespacedStatefulSetStatus | Put /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | replace status of the specified StatefulSet |
TemplateAPI | DeleteNamespacedTemplate | Delete /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | delete a Template |
TemplateAPI | ListNamespacedTemplate | Get /apis/template.openshift.io/v1/namespaces/{namespace}/templates | list or watch objects of kind Template |
TemplateAPI | ListTemplateForAllNamespaces | Get /apis/template.openshift.io/v1/templates | list or watch objects of kind Template |
TemplateAPI | PatchNamespacedTemplate | Patch /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | partially update the specified Template |
TemplateAPI | ReadNamespacedTemplate | Get /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | read the specified Template |
TemplateAPI | ReplaceNamespacedTemplate | Put /apis/template.openshift.io/v1/namespaces/{namespace}/templates/{name} | replace the specified Template |
TemplateInstanceAPI | CreateNamespacedTemplateInstance | Post /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | create a TemplateInstance |
TemplateInstanceAPI | DeleteNamespacedTemplateInstance | Delete /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | delete a TemplateInstance |
TemplateInstanceAPI | DeletecollectionNamespacedTemplateInstance | Delete /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | delete collection of TemplateInstance |
TemplateInstanceAPI | ListNamespacedTemplateInstance | Get /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances | list or watch objects of kind TemplateInstance |
TemplateInstanceAPI | ListTemplateInstanceForAllNamespaces | Get /apis/template.openshift.io/v1/templateinstances | list or watch objects of kind TemplateInstance |
TemplateInstanceAPI | PatchNamespacedTemplateInstance | Patch /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | partially update the specified TemplateInstance |
TemplateInstanceAPI | ReadNamespacedTemplateInstance | Get /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | read the specified TemplateInstance |
TemplateInstanceAPI | ReadNamespacedTemplateInstanceStatus | Get /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name}/status | read status of the specified TemplateInstance |
TemplateInstanceAPI | ReplaceNamespacedTemplateInstance | Put /apis/template.openshift.io/v1/namespaces/{namespace}/templateinstances/{name} | replace the specified TemplateInstance |
- RuntimeRawExtension
- V1APIResource
- V1APIResourceList
- V1AWSElasticBlockStoreVolumeSource
- V1Affinity
- V1AllowedFlexVolume
- V1AttachedVolume
- V1AzureDiskVolumeSource
- V1AzureFilePersistentVolumeSource
- V1AzureFileVolumeSource
- V1BinaryBuildSource
- V1Binding
- V1BitbucketWebHookCause
- V1BrokerTemplateInstance
- V1BrokerTemplateInstanceList
- V1BrokerTemplateInstanceSpec
- V1Build
- V1BuildConfig
- V1BuildConfigList
- V1BuildConfigSpec
- V1BuildConfigStatus
- V1BuildList
- V1BuildLog
- V1BuildOutput
- V1BuildPostCommitSpec
- V1BuildRequest
- V1BuildSource
- V1BuildSpec
- V1BuildStatus
- V1BuildStatusOutput
- V1BuildStatusOutputTo
- V1BuildStrategy
- V1BuildTriggerCause
- V1BuildTriggerPolicy
- V1CSIPersistentVolumeSource
- V1Capabilities
- V1CephFSPersistentVolumeSource
- V1CephFSVolumeSource
- V1CinderPersistentVolumeSource
- V1CinderVolumeSource
- V1ClientIPConfig
- V1ComponentCondition
- V1ComponentStatus
- V1ComponentStatusList
- V1ConfigMap
- V1ConfigMapBuildSource
- V1ConfigMapEnvSource
- V1ConfigMapKeySelector
- V1ConfigMapList
- V1ConfigMapNodeConfigSource
- V1ConfigMapProjection
- V1ConfigMapVolumeSource
- V1Container
- V1ContainerImage
- V1ContainerPort
- V1ContainerState
- V1ContainerStateRunning
- V1ContainerStateTerminated
- V1ContainerStateWaiting
- V1ContainerStatus
- V1ControllerRevision
- V1ControllerRevisionList
- V1CrossVersionObjectReference
- V1CustomBuildStrategy
- V1CustomDeploymentStrategyParams
- V1DaemonEndpoint
- V1DaemonSet
- V1DaemonSetCondition
- V1DaemonSetList
- V1DaemonSetSpec
- V1DaemonSetStatus
- V1DaemonSetUpdateStrategy
- V1DeleteOptions
- V1Deployment
- V1DeploymentCause
- V1DeploymentCauseImageTrigger
- V1DeploymentCondition
- V1DeploymentConfig
- V1DeploymentConfigList
- V1DeploymentConfigRollback
- V1DeploymentConfigRollbackSpec
- V1DeploymentConfigSpec
- V1DeploymentConfigStatus
- V1DeploymentDetails
- V1DeploymentList
- V1DeploymentLog
- V1DeploymentRequest
- V1DeploymentSpec
- V1DeploymentStatus
- V1DeploymentStrategy
- V1DeploymentTriggerImageChangeParams
- V1DeploymentTriggerPolicy
- V1DockerBuildStrategy
- V1DockerStrategyOptions
- V1DownwardAPIProjection
- V1DownwardAPIVolumeFile
- V1DownwardAPIVolumeSource
- V1EmptyDirVolumeSource
- V1EndpointAddress
- V1EndpointPort
- V1EndpointSubset
- V1Endpoints
- V1EndpointsList
- V1EnvFromSource
- V1EnvVar
- V1EnvVarSource
- V1Event
- V1EventList
- V1EventSeries
- V1EventSource
- V1ExecAction
- V1ExecNewPodHook
- V1FCVolumeSource
- V1FSGroupStrategyOptions
- V1FlexPersistentVolumeSource
- V1FlexVolumeSource
- V1FlockerVolumeSource
- V1GCEPersistentDiskVolumeSource
- V1GenericWebHookCause
- V1GitBuildSource
- V1GitHubWebHookCause
- V1GitLabWebHookCause
- V1GitRepoVolumeSource
- V1GitSourceRevision
- V1GlusterfsVolumeSource
- V1HTTPGetAction
- V1HTTPHeader
- V1Handler
- V1HorizontalPodAutoscaler
- V1HorizontalPodAutoscalerList
- V1HorizontalPodAutoscalerSpec
- V1HorizontalPodAutoscalerStatus
- V1HostAlias
- V1HostPathVolumeSource
- V1IDRange
- V1ISCSIPersistentVolumeSource
- V1ISCSIVolumeSource
- V1Image
- V1ImageChangeCause
- V1ImageChangeTrigger
- V1ImageImportSpec
- V1ImageImportStatus
- V1ImageLabel
- V1ImageLayer
- V1ImageList
- V1ImageLookupPolicy
- V1ImageSignature
- V1ImageSource
- V1ImageSourcePath
- V1ImageStream
- V1ImageStreamImage
- V1ImageStreamImport
- V1ImageStreamImportSpec
- V1ImageStreamImportStatus
- V1ImageStreamLayers
- V1ImageStreamList
- V1ImageStreamMapping
- V1ImageStreamSpec
- V1ImageStreamStatus
- V1ImageStreamTag
- V1ImageStreamTagList
- V1Initializer
- V1Initializers
- V1JenkinsPipelineBuildStrategy
- V1KeyToPath
- V1LabelSelector
- V1LabelSelectorRequirement
- V1Lifecycle
- V1LifecycleHook
- V1LimitRange
- V1LimitRangeItem
- V1LimitRangeList
- V1LimitRangeSpec
- V1ListMeta
- V1LoadBalancerIngress
- V1LoadBalancerStatus
- V1LocalObjectReference
- V1LocalVolumeSource
- V1NFSVolumeSource
- V1NamedTagEventList
- V1Namespace
- V1NamespaceList
- V1NamespaceSpec
- V1NamespaceStatus
- V1Node
- V1NodeAddress
- V1NodeAffinity
- V1NodeCondition
- V1NodeConfigSource
- V1NodeConfigStatus
- V1NodeDaemonEndpoints
- V1NodeList
- V1NodeSelector
- V1NodeSelectorRequirement
- V1NodeSelectorTerm
- V1NodeSpec
- V1NodeStatus
- V1NodeSystemInfo
- V1ObjectFieldSelector
- V1ObjectMeta
- V1ObjectReference
- V1OwnerReference
- V1Parameter
- V1PersistentVolume
- V1PersistentVolumeClaim
- V1PersistentVolumeClaimCondition
- V1PersistentVolumeClaimList
- V1PersistentVolumeClaimSpec
- V1PersistentVolumeClaimStatus
- V1PersistentVolumeClaimVolumeSource
- V1PersistentVolumeList
- V1PersistentVolumeSpec
- V1PersistentVolumeStatus
- V1PhotonPersistentDiskVolumeSource
- V1Pod
- V1PodAffinity
- V1PodAffinityTerm
- V1PodAntiAffinity
- V1PodCondition
- V1PodDNSConfig
- V1PodDNSConfigOption
- V1PodList
- V1PodReadinessGate
- V1PodSecurityContext
- V1PodSpec
- V1PodStatus
- V1PodTemplate
- V1PodTemplateList
- V1PodTemplateSpec
- V1PortworxVolumeSource
- V1Preconditions
- V1PreferredSchedulingTerm
- V1Probe
- V1ProjectedVolumeSource
- V1QuobyteVolumeSource
- V1RBDPersistentVolumeSource
- V1RBDVolumeSource
- V1RecreateDeploymentStrategyParams
- V1ReplicaSet
- V1ReplicaSetCondition
- V1ReplicaSetList
- V1ReplicaSetSpec
- V1ReplicaSetStatus
- V1ReplicationController
- V1ReplicationControllerCondition
- V1ReplicationControllerList
- V1ReplicationControllerSpec
- V1ReplicationControllerStatus
- V1RepositoryImportSpec
- V1RepositoryImportStatus
- V1ResourceFieldSelector
- V1ResourceQuota
- V1ResourceQuotaList
- V1ResourceQuotaSpec
- V1ResourceQuotaStatus
- V1ResourceRequirements
- V1RollingDeploymentStrategyParams
- V1RollingUpdateDaemonSet
- V1RollingUpdateDeployment
- V1RollingUpdateStatefulSetStrategy
- V1Route
- V1RouteIngress
- V1RouteIngressCondition
- V1RouteList
- V1RoutePort
- V1RouteSpec
- V1RouteStatus
- V1RouteTargetReference
- V1RunAsUserStrategyOptions
- V1SELinuxContextStrategyOptions
- V1SELinuxOptions
- V1Scale
- V1ScaleIOPersistentVolumeSource
- V1ScaleIOVolumeSource
- V1ScaleSpec
- V1ScaleStatus
- V1ScopeSelector
- V1ScopedResourceSelectorRequirement
- V1Secret
- V1SecretBuildSource
- V1SecretEnvSource
- V1SecretKeySelector
- V1SecretList
- V1SecretLocalReference
- V1SecretProjection
- V1SecretReference
- V1SecretSpec
- V1SecretVolumeSource
- V1SecurityContext
- V1SecurityContextConstraints
- V1SecurityContextConstraintsList
- V1Service
- V1ServiceAccount
- V1ServiceAccountList
- V1ServiceAccountTokenProjection
- V1ServiceList
- V1ServicePort
- V1ServiceSpec
- V1ServiceStatus
- V1SessionAffinityConfig
- V1SignatureCondition
- V1SignatureIssuer
- V1SignatureSubject
- V1SourceBuildStrategy
- V1SourceControlUser
- V1SourceRevision
- V1SourceStrategyOptions
- V1StageInfo
- V1StatefulSet
- V1StatefulSetCondition
- V1StatefulSetList
- V1StatefulSetSpec
- V1StatefulSetStatus
- V1StatefulSetUpdateStrategy
- V1Status
- V1StatusCause
- V1StatusDetails
- V1StepInfo
- V1StorageOSPersistentVolumeSource
- V1StorageOSVolumeSource
- V1SupplementalGroupsStrategyOptions
- V1Sysctl
- V1TCPSocketAction
- V1TLSConfig
- V1TagEvent
- V1TagEventCondition
- V1TagImageHook
- V1TagImportPolicy
- V1TagReference
- V1TagReferencePolicy
- V1Taint
- V1Template
- V1TemplateInstance
- V1TemplateInstanceCondition
- V1TemplateInstanceList
- V1TemplateInstanceObject
- V1TemplateInstanceRequester
- V1TemplateInstanceSpec
- V1TemplateInstanceStatus
- V1TemplateList
- V1Toleration
- V1Volume
- V1VolumeDevice
- V1VolumeMount
- V1VolumeNodeAffinity
- V1VolumeProjection
- V1VsphereVirtualDiskVolumeSource
- V1WebHookTrigger
- V1WeightedPodAffinityTerm
- V1beta1Eviction
- V1beta1Scale
- V1beta1ScaleSpec
- V1beta1ScaleStatus
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Note, each API key must be added to a map of map[string]APIKey
where the key is: Authorization and passed in as the auth context for each request.
Example
auth := context.WithValue(
context.Background(),
sw.ContextAPIKeys,
map[string]sw.APIKey{
"Authorization": {Key: "API_KEY_STRING"},
},
)
r, err := client.Service.Operation(auth, args)
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime