Automated openapi generation from release-1.30

Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
This commit is contained in:
Kubernetes Prow Robot
2024-05-18 13:20:54 +00:00
parent 7387c20126
commit c97b51f36a
285 changed files with 42411 additions and 434 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -11,6 +11,10 @@
#include "../model/v1_mutating_webhook_configuration.h"
#include "../model/v1_mutating_webhook_configuration_list.h"
#include "../model/v1_status.h"
#include "../model/v1_validating_admission_policy.h"
#include "../model/v1_validating_admission_policy_binding.h"
#include "../model/v1_validating_admission_policy_binding_list.h"
#include "../model/v1_validating_admission_policy_list.h"
#include "../model/v1_validating_webhook_configuration.h"
#include "../model/v1_validating_webhook_configuration_list.h"
@@ -21,6 +25,18 @@ v1_mutating_webhook_configuration_t*
AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ValidatingAdmissionPolicyBinding
//
v1_validating_admission_policy_binding_t*
AdmissionregistrationV1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ValidatingWebhookConfiguration
//
v1_validating_webhook_configuration_t*
@@ -33,6 +49,18 @@ v1_status_t*
AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ValidatingAdmissionPolicy
//
v1_status_t*
AdmissionregistrationV1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ValidatingAdmissionPolicyBinding
//
v1_status_t*
AdmissionregistrationV1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ValidatingWebhookConfiguration
//
v1_status_t*
@@ -45,6 +73,18 @@ v1_status_t*
AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ValidatingAdmissionPolicy
//
v1_status_t*
AdmissionregistrationV1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ValidatingAdmissionPolicyBinding
//
v1_status_t*
AdmissionregistrationV1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ValidatingWebhookConfiguration
//
v1_status_t*
@@ -63,6 +103,18 @@ v1_mutating_webhook_configuration_list_t*
AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ValidatingAdmissionPolicy
//
v1_validating_admission_policy_list_t*
AdmissionregistrationV1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ValidatingAdmissionPolicyBinding
//
v1_validating_admission_policy_binding_list_t*
AdmissionregistrationV1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ValidatingWebhookConfiguration
//
v1_validating_webhook_configuration_list_t*
@@ -75,6 +127,24 @@ v1_mutating_webhook_configuration_t*
AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ValidatingAdmissionPolicyBinding
//
v1_validating_admission_policy_binding_t*
AdmissionregistrationV1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update status of the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ValidatingWebhookConfiguration
//
v1_validating_webhook_configuration_t*
@@ -87,6 +157,24 @@ v1_mutating_webhook_configuration_t*
AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty);
// read the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty);
// read the specified ValidatingAdmissionPolicyBinding
//
v1_validating_admission_policy_binding_t*
AdmissionregistrationV1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty);
// read status of the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty);
// read the specified ValidatingWebhookConfiguration
//
v1_validating_webhook_configuration_t*
@@ -99,6 +187,24 @@ v1_mutating_webhook_configuration_t*
AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ValidatingAdmissionPolicyBinding
//
v1_validating_admission_policy_binding_t*
AdmissionregistrationV1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace status of the specified ValidatingAdmissionPolicy
//
v1_validating_admission_policy_t*
AdmissionregistrationV1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ValidatingWebhookConfiguration
//
v1_validating_webhook_configuration_t*

File diff suppressed because it is too large Load Diff

View File

@@ -13,10 +13,16 @@
#include "../model/v1alpha2_pod_scheduling_context_list.h"
#include "../model/v1alpha2_resource_claim.h"
#include "../model/v1alpha2_resource_claim_list.h"
#include "../model/v1alpha2_resource_claim_parameters.h"
#include "../model/v1alpha2_resource_claim_parameters_list.h"
#include "../model/v1alpha2_resource_claim_template.h"
#include "../model/v1alpha2_resource_claim_template_list.h"
#include "../model/v1alpha2_resource_class.h"
#include "../model/v1alpha2_resource_class_list.h"
#include "../model/v1alpha2_resource_class_parameters.h"
#include "../model/v1alpha2_resource_class_parameters_list.h"
#include "../model/v1alpha2_resource_slice.h"
#include "../model/v1alpha2_resource_slice_list.h"
// create a PodSchedulingContext
@@ -31,18 +37,36 @@ v1alpha2_resource_claim_t*
ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_t*
ResourceV1alpha2API_createNamespacedResourceClaimParameters(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_parameters_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ResourceClaimTemplate
//
v1alpha2_resource_claim_template_t*
ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create ResourceClassParameters
//
v1alpha2_resource_class_parameters_t*
ResourceV1alpha2API_createNamespacedResourceClassParameters(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_class_parameters_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ResourceClass
//
v1alpha2_resource_class_t*
ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// create a ResourceSlice
//
v1alpha2_resource_slice_t*
ResourceV1alpha2API_createResourceSlice(apiClient_t *apiClient, v1alpha2_resource_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// delete collection of PodSchedulingContext
//
v1_status_t*
@@ -55,18 +79,36 @@ v1_status_t*
ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ResourceClaimParameters
//
v1_status_t*
ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimParameters(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ResourceClaimTemplate
//
v1_status_t*
ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ResourceClassParameters
//
v1_status_t*
ResourceV1alpha2API_deleteCollectionNamespacedResourceClassParameters(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ResourceClass
//
v1_status_t*
ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete collection of ResourceSlice
//
v1_status_t*
ResourceV1alpha2API_deleteCollectionResourceSlice(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete a PodSchedulingContext
//
v1alpha2_pod_scheduling_context_t*
@@ -79,18 +121,36 @@ v1alpha2_resource_claim_t*
ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_t*
ResourceV1alpha2API_deleteNamespacedResourceClaimParameters(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ResourceClaimTemplate
//
v1alpha2_resource_claim_template_t*
ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete ResourceClassParameters
//
v1alpha2_resource_class_parameters_t*
ResourceV1alpha2API_deleteNamespacedResourceClassParameters(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ResourceClass
//
v1alpha2_resource_class_t*
ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// delete a ResourceSlice
//
v1alpha2_resource_slice_t*
ResourceV1alpha2API_deleteResourceSlice(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// get available resources
//
v1_api_resource_list_t*
@@ -109,12 +169,24 @@ v1alpha2_resource_claim_list_t*
ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_list_t*
ResourceV1alpha2API_listNamespacedResourceClaimParameters(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClaimTemplate
//
v1alpha2_resource_claim_template_list_t*
ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClassParameters
//
v1alpha2_resource_class_parameters_list_t*
ResourceV1alpha2API_listNamespacedResourceClassParameters(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind PodSchedulingContext
//
v1alpha2_pod_scheduling_context_list_t*
@@ -127,6 +199,12 @@ v1alpha2_resource_claim_list_t*
ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_list_t*
ResourceV1alpha2API_listResourceClaimParametersForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClaimTemplate
//
v1alpha2_resource_claim_template_list_t*
@@ -139,6 +217,18 @@ v1alpha2_resource_class_list_t*
ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceClassParameters
//
v1alpha2_resource_class_parameters_list_t*
ResourceV1alpha2API_listResourceClassParametersForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// list or watch objects of kind ResourceSlice
//
v1alpha2_resource_slice_list_t*
ResourceV1alpha2API_listResourceSlice(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// partially update the specified PodSchedulingContext
//
v1alpha2_pod_scheduling_context_t*
@@ -157,6 +247,12 @@ v1alpha2_resource_claim_t*
ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_t*
ResourceV1alpha2API_patchNamespacedResourceClaimParameters(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update status of the specified ResourceClaim
//
v1alpha2_resource_claim_t*
@@ -169,12 +265,24 @@ v1alpha2_resource_claim_template_t*
ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ResourceClassParameters
//
v1alpha2_resource_class_parameters_t*
ResourceV1alpha2API_patchNamespacedResourceClassParameters(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ResourceClass
//
v1alpha2_resource_class_t*
ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update the specified ResourceSlice
//
v1alpha2_resource_slice_t*
ResourceV1alpha2API_patchResourceSlice(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// read the specified PodSchedulingContext
//
v1alpha2_pod_scheduling_context_t*
@@ -193,6 +301,12 @@ v1alpha2_resource_claim_t*
ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty);
// read the specified ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_t*
ResourceV1alpha2API_readNamespacedResourceClaimParameters(apiClient_t *apiClient, char *name, char *_namespace, char *pretty);
// read status of the specified ResourceClaim
//
v1alpha2_resource_claim_t*
@@ -205,12 +319,24 @@ v1alpha2_resource_claim_template_t*
ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty);
// read the specified ResourceClassParameters
//
v1alpha2_resource_class_parameters_t*
ResourceV1alpha2API_readNamespacedResourceClassParameters(apiClient_t *apiClient, char *name, char *_namespace, char *pretty);
// read the specified ResourceClass
//
v1alpha2_resource_class_t*
ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char *name, char *pretty);
// read the specified ResourceSlice
//
v1alpha2_resource_slice_t*
ResourceV1alpha2API_readResourceSlice(apiClient_t *apiClient, char *name, char *pretty);
// replace the specified PodSchedulingContext
//
v1alpha2_pod_scheduling_context_t*
@@ -229,6 +355,12 @@ v1alpha2_resource_claim_t*
ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ResourceClaimParameters
//
v1alpha2_resource_claim_parameters_t*
ResourceV1alpha2API_replaceNamespacedResourceClaimParameters(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_parameters_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace status of the specified ResourceClaim
//
v1alpha2_resource_claim_t*
@@ -241,9 +373,21 @@ v1alpha2_resource_claim_template_t*
ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ResourceClassParameters
//
v1alpha2_resource_class_parameters_t*
ResourceV1alpha2API_replaceNamespacedResourceClassParameters(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_class_parameters_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ResourceClass
//
v1alpha2_resource_class_t*
ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char *name, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace the specified ResourceSlice
//
v1alpha2_resource_slice_t*
ResourceV1alpha2API_replaceResourceSlice(apiClient_t *apiClient, char *name, v1alpha2_resource_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);

View File

@@ -0,0 +1,81 @@
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "StoragemigrationAPI.h"
#define MAX_NUMBER_LENGTH 16
#define MAX_BUFFER_LENGTH 4096
#define intToStr(dst, src) \
do {\
char dst[256];\
snprintf(dst, 256, "%ld", (long int)(src));\
}while(0)
// get information of a group
//
v1_api_group_t*
StoragemigrationAPI_getAPIGroup(apiClient_t *apiClient)
{
list_t *localVarQueryParameters = NULL;
list_t *localVarHeaderParameters = NULL;
list_t *localVarFormParameters = NULL;
list_t *localVarHeaderType = list_createList();
list_t *localVarContentType = NULL;
char *localVarBodyParameters = NULL;
// create the path
long sizeOfPath = strlen("/apis/storagemigration.k8s.io/")+1;
char *localVarPath = malloc(sizeOfPath);
snprintf(localVarPath, sizeOfPath, "/apis/storagemigration.k8s.io/");
list_addElement(localVarHeaderType,"application/json"); //produces
list_addElement(localVarHeaderType,"application/yaml"); //produces
list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces
apiClient_invoke(apiClient,
localVarPath,
localVarQueryParameters,
localVarHeaderParameters,
localVarFormParameters,
localVarHeaderType,
localVarContentType,
localVarBodyParameters,
"GET");
// uncomment below to debug the error response
//if (apiClient->response_code == 200) {
// printf("%s\n","OK");
//}
// uncomment below to debug the error response
//if (apiClient->response_code == 401) {
// printf("%s\n","Unauthorized");
//}
//nonprimitive not container
cJSON *StoragemigrationAPIlocalVarJSON = cJSON_Parse(apiClient->dataReceived);
v1_api_group_t *elementToReturn = v1_api_group_parseFromJSON(StoragemigrationAPIlocalVarJSON);
cJSON_Delete(StoragemigrationAPIlocalVarJSON);
if(elementToReturn == NULL) {
// return 0;
}
//return type
if (apiClient->dataReceived) {
free(apiClient->dataReceived);
apiClient->dataReceived = NULL;
apiClient->dataReceivedLen = 0;
}
list_freeList(localVarHeaderType);
free(localVarPath);
return elementToReturn;
end:
free(localVarPath);
return NULL;
}

View File

@@ -0,0 +1,16 @@
#include <stdlib.h>
#include <stdio.h>
#include "../include/apiClient.h"
#include "../include/list.h"
#include "../external/cJSON.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "../model/v1_api_group.h"
// get information of a group
//
v1_api_group_t*
StoragemigrationAPI_getAPIGroup(apiClient_t *apiClient);

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,81 @@
#include <stdlib.h>
#include <stdio.h>
#include "../include/apiClient.h"
#include "../include/list.h"
#include "../external/cJSON.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "../model/object.h"
#include "../model/v1_api_resource_list.h"
#include "../model/v1_delete_options.h"
#include "../model/v1_status.h"
#include "../model/v1alpha1_storage_version_migration.h"
#include "../model/v1alpha1_storage_version_migration_list.h"
// create a StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_createStorageVersionMigration(apiClient_t *apiClient, v1alpha1_storage_version_migration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// delete collection of StorageVersionMigration
//
v1_status_t*
StoragemigrationV1alpha1API_deleteCollectionStorageVersionMigration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body);
// delete a StorageVersionMigration
//
v1_status_t*
StoragemigrationV1alpha1API_deleteStorageVersionMigration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body);
// get available resources
//
v1_api_resource_list_t*
StoragemigrationV1alpha1API_getAPIResources(apiClient_t *apiClient);
// list or watch objects of kind StorageVersionMigration
//
v1alpha1_storage_version_migration_list_t*
StoragemigrationV1alpha1API_listStorageVersionMigration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch);
// partially update the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_patchStorageVersionMigration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// partially update status of the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_patchStorageVersionMigrationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force);
// read the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_readStorageVersionMigration(apiClient_t *apiClient, char *name, char *pretty);
// read status of the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_readStorageVersionMigrationStatus(apiClient_t *apiClient, char *name, char *pretty);
// replace the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_replaceStorageVersionMigration(apiClient_t *apiClient, char *name, v1alpha1_storage_version_migration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);
// replace status of the specified StorageVersionMigration
//
v1alpha1_storage_version_migration_t*
StoragemigrationV1alpha1API_replaceStorageVersionMigrationStatus(apiClient_t *apiClient, char *name, v1alpha1_storage_version_migration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation);