bunnyshell.com/sdk@v0.16.0/README.md (about)

     1  # Go API client for sdk
     2  
     3  Interact with Bunnyshell Platform
     4  
     5  ## Overview
     6  This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
     7  
     8  - API version: 1.1.0
     9  - Package version: 0.1.0
    10  - Build package: org.openapitools.codegen.languages.GoClientCodegen
    11  For more information, please visit [https://www.bunnyshell.com/](https://www.bunnyshell.com/)
    12  
    13  ## Installation
    14  
    15  Install the following dependencies:
    16  
    17  ```shell
    18  go get github.com/stretchr/testify/assert
    19  go get golang.org/x/net/context
    20  ```
    21  
    22  Put the package under your project folder and add the following in import:
    23  
    24  ```golang
    25  import sdk "bunnyshell.com/sdk"
    26  ```
    27  
    28  To use a proxy, set the environment variable `HTTP_PROXY`:
    29  
    30  ```golang
    31  os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
    32  ```
    33  
    34  ## Configuration of Server URL
    35  
    36  Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification.
    37  
    38  ### Select Server Configuration
    39  
    40  For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.
    41  
    42  ```golang
    43  ctx := context.WithValue(context.Background(), sdk.ContextServerIndex, 1)
    44  ```
    45  
    46  ### Templated Server URL
    47  
    48  Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
    49  
    50  ```golang
    51  ctx := context.WithValue(context.Background(), sdk.ContextServerVariables, map[string]string{
    52  	"basePath": "v2",
    53  })
    54  ```
    55  
    56  Note, enum values are always validated and all unused variables are silently ignored.
    57  
    58  ### URLs Configuration per Operation
    59  
    60  Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
    61  An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
    62  Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
    63  
    64  ```golang
    65  ctx := context.WithValue(context.Background(), sdk.ContextOperationServerIndices, map[string]int{
    66  	"{classname}Service.{nickname}": 2,
    67  })
    68  ctx = context.WithValue(context.Background(), sdk.ContextOperationServerVariables, map[string]map[string]string{
    69  	"{classname}Service.{nickname}": {
    70  		"port": "8443",
    71  	},
    72  })
    73  ```
    74  
    75  ## Documentation for API Endpoints
    76  
    77  All URIs are relative to *https://api.environments.bunnyshell.com*
    78  
    79  Class | Method | HTTP request | Description
    80  ------------ | ------------- | ------------- | -------------
    81  *ComponentAPI* | [**ComponentList**](docs/ComponentAPI.md#componentlist) | **Get** /v1/components | List service components matching any selected filters
    82  *ComponentAPI* | [**ComponentRemoteDevConfig**](docs/ComponentAPI.md#componentremotedevconfig) | **Get** /v1/components/{id}/remotedev/config | Get remote dev config
    83  *ComponentAPI* | [**ComponentRemoteDevProfile**](docs/ComponentAPI.md#componentremotedevprofile) | **Post** /v1/components/{id}/remotedev/profile | Parse, validate and interpolate the provided remoteDevProfile
    84  *ComponentAPI* | [**ComponentResources**](docs/ComponentAPI.md#componentresources) | **Get** /v1/components/{id}/resources | Get kubernetes resources
    85  *ComponentAPI* | [**ComponentView**](docs/ComponentAPI.md#componentview) | **Get** /v1/components/{id} | View a specific service component
    86  *ComponentEndpointAPI* | [**ComponentEndpointList**](docs/ComponentEndpointAPI.md#componentendpointlist) | **Get** /v1/components/endpoint | List endpoints for service components matching any selected filters
    87  *ComponentEndpointAPI* | [**ComponentEndpointView**](docs/ComponentEndpointAPI.md#componentendpointview) | **Get** /v1/components/{id}/endpoint | View endpoints for a specific service component
    88  *ComponentGitAPI* | [**ComponentGitList**](docs/ComponentGitAPI.md#componentgitlist) | **Get** /v1/components/gitinfo | List git info for service components matching any selected filters
    89  *ComponentGitAPI* | [**ComponentGitView**](docs/ComponentGitAPI.md#componentgitview) | **Get** /v1/components/{id}/gitinfo | View git info for a specific service component
    90  *EnvironmentAPI* | [**EnvironmentClone**](docs/EnvironmentAPI.md#environmentclone) | **Post** /v1/environments/{id}/clone | Clone an environment.
    91  *EnvironmentAPI* | [**EnvironmentCreate**](docs/EnvironmentAPI.md#environmentcreate) | **Post** /v1/environments | Creates a new environment.
    92  *EnvironmentAPI* | [**EnvironmentDefinition**](docs/EnvironmentAPI.md#environmentdefinition) | **Get** /v1/environments/{id}/definition | View the bunnyshell manifest for the environment
    93  *EnvironmentAPI* | [**EnvironmentDelete**](docs/EnvironmentAPI.md#environmentdelete) | **Post** /v1/environments/{id}/delete | Delete a specific environment.
    94  *EnvironmentAPI* | [**EnvironmentDeploy**](docs/EnvironmentAPI.md#environmentdeploy) | **Post** /v1/environments/{id}/deploy | Deploy an environment.
    95  *EnvironmentAPI* | [**EnvironmentEditBuildSettings**](docs/EnvironmentAPI.md#environmenteditbuildsettings) | **Patch** /v1/environments/{id}/build-settings | Edit the build settings of an environment.
    96  *EnvironmentAPI* | [**EnvironmentEditComponents**](docs/EnvironmentAPI.md#environmenteditcomponents) | **Put** /v1/environments/{id}/components | Edit the components of an environment.
    97  *EnvironmentAPI* | [**EnvironmentEditConfiguration**](docs/EnvironmentAPI.md#environmenteditconfiguration) | **Put** /v1/environments/{id}/configuration | Edit an environment.
    98  *EnvironmentAPI* | [**EnvironmentEditSettings**](docs/EnvironmentAPI.md#environmenteditsettings) | **Put** /v1/environments/{id}/settings | Edit an environment.
    99  *EnvironmentAPI* | [**EnvironmentKubeConfig**](docs/EnvironmentAPI.md#environmentkubeconfig) | **Get** /v1/environments/{id}/kube-config | Download Kubernetes Config File
   100  *EnvironmentAPI* | [**EnvironmentList**](docs/EnvironmentAPI.md#environmentlist) | **Get** /v1/environments | List environments matching any selected filters.
   101  *EnvironmentAPI* | [**EnvironmentStart**](docs/EnvironmentAPI.md#environmentstart) | **Post** /v1/environments/{id}/start | Start an environment.
   102  *EnvironmentAPI* | [**EnvironmentStop**](docs/EnvironmentAPI.md#environmentstop) | **Post** /v1/environments/{id}/stop | Stop an environment.
   103  *EnvironmentAPI* | [**EnvironmentView**](docs/EnvironmentAPI.md#environmentview) | **Get** /v1/environments/{id} | View a specific environment.
   104  *EnvironmentVariableAPI* | [**EnvironmentVariableCreate**](docs/EnvironmentVariableAPI.md#environmentvariablecreate) | **Post** /v1/environment_variables | Create a specific environment variable.
   105  *EnvironmentVariableAPI* | [**EnvironmentVariableDelete**](docs/EnvironmentVariableAPI.md#environmentvariabledelete) | **Delete** /v1/environment_variables/{id} | Delete a specific environment variable.
   106  *EnvironmentVariableAPI* | [**EnvironmentVariableEdit**](docs/EnvironmentVariableAPI.md#environmentvariableedit) | **Patch** /v1/environment_variables/{id} | Edit a specific environment variable.
   107  *EnvironmentVariableAPI* | [**EnvironmentVariableList**](docs/EnvironmentVariableAPI.md#environmentvariablelist) | **Get** /v1/environment_variables | List environment variables matching any selected filters.
   108  *EnvironmentVariableAPI* | [**EnvironmentVariableView**](docs/EnvironmentVariableAPI.md#environmentvariableview) | **Get** /v1/environment_variables/{id} | View a specific environment variable.
   109  *EventAPI* | [**EventList**](docs/EventAPI.md#eventlist) | **Get** /v1/events | List events matching any selected filters.
   110  *EventAPI* | [**EventView**](docs/EventAPI.md#eventview) | **Get** /v1/events/{id} | View a specific event.
   111  *KubernetesIntegrationAPI* | [**KubernetesIntegrationList**](docs/KubernetesIntegrationAPI.md#kubernetesintegrationlist) | **Get** /v1/kubernetes_integrations | List Kubernetes integrations matching any selected filters.
   112  *KubernetesIntegrationAPI* | [**KubernetesIntegrationView**](docs/KubernetesIntegrationAPI.md#kubernetesintegrationview) | **Get** /v1/kubernetes_integrations/{id} | View a specific Kubernetes integration.
   113  *OrganizationAPI* | [**OrganizationList**](docs/OrganizationAPI.md#organizationlist) | **Get** /v1/organizations | List organization matching any selected filters.
   114  *OrganizationAPI* | [**OrganizationView**](docs/OrganizationAPI.md#organizationview) | **Get** /v1/organizations/{id} | View a specific organization.
   115  *PipelineAPI* | [**PipelineList**](docs/PipelineAPI.md#pipelinelist) | **Get** /v1/pipelines | List pipelines matching any selected filters.
   116  *PipelineAPI* | [**PipelineView**](docs/PipelineAPI.md#pipelineview) | **Get** /v1/pipelines/{id} | View a specific Pipeline.
   117  *ProjectAPI* | [**ProjectCreate**](docs/ProjectAPI.md#projectcreate) | **Post** /v1/projects | Creates new project.
   118  *ProjectAPI* | [**ProjectDelete**](docs/ProjectAPI.md#projectdelete) | **Delete** /v1/projects/{id} | Delete a specific project.
   119  *ProjectAPI* | [**ProjectEditBuildSettings**](docs/ProjectAPI.md#projecteditbuildsettings) | **Patch** /v1/projects/{id}/build-settings | Edit the build settings of a project.
   120  *ProjectAPI* | [**ProjectEditSettings**](docs/ProjectAPI.md#projecteditsettings) | **Patch** /v1/projects/{id}/settings | Edit a project.
   121  *ProjectAPI* | [**ProjectList**](docs/ProjectAPI.md#projectlist) | **Get** /v1/projects | List projects matching any selected filters.
   122  *ProjectAPI* | [**ProjectView**](docs/ProjectAPI.md#projectview) | **Get** /v1/projects/{id} | View a specific project.
   123  *ProjectVariableAPI* | [**ProjectVariableCreate**](docs/ProjectVariableAPI.md#projectvariablecreate) | **Post** /v1/project_variables | Create a specific project variable.
   124  *ProjectVariableAPI* | [**ProjectVariableDelete**](docs/ProjectVariableAPI.md#projectvariabledelete) | **Delete** /v1/project_variables/{id} | Delete a specific project variable.
   125  *ProjectVariableAPI* | [**ProjectVariableEdit**](docs/ProjectVariableAPI.md#projectvariableedit) | **Patch** /v1/project_variables/{id} | Edit a specific project variable.
   126  *ProjectVariableAPI* | [**ProjectVariableList**](docs/ProjectVariableAPI.md#projectvariablelist) | **Get** /v1/project_variables | List project variables matching any selected filters.
   127  *ProjectVariableAPI* | [**ProjectVariableView**](docs/ProjectVariableAPI.md#projectvariableview) | **Get** /v1/project_variables/{id} | View a specific project variable.
   128  *RegistryIntegrationAPI* | [**RegistryIntegrationList**](docs/RegistryIntegrationAPI.md#registryintegrationlist) | **Get** /v1/registry_integrations | List Registry integrations matching any selected filters.
   129  *RegistryIntegrationAPI* | [**RegistryIntegrationView**](docs/RegistryIntegrationAPI.md#registryintegrationview) | **Get** /v1/registry_integrations/{id} | View a specific Registry integration.
   130  *SecretAPI* | [**SecretDecrypt**](docs/SecretAPI.md#secretdecrypt) | **Post** /v1/secrets/decrypt | Decrypt a cipher text.
   131  *SecretAPI* | [**SecretEncrypt**](docs/SecretAPI.md#secretencrypt) | **Post** /v1/secrets/encrypt | Encrypt a plain text.
   132  *SecretAPI* | [**SecretTranscryptConfiguration**](docs/SecretAPI.md#secrettranscryptconfiguration) | **Post** /v1/secrets/transcrypt-configuration | Encrypt or decrypt secrets from an environment configuration.
   133  *ServiceComponentVariableAPI* | [**ServiceComponentVariableCreate**](docs/ServiceComponentVariableAPI.md#servicecomponentvariablecreate) | **Post** /v1/service_component_variables | Create a specific component variable.
   134  *ServiceComponentVariableAPI* | [**ServiceComponentVariableDelete**](docs/ServiceComponentVariableAPI.md#servicecomponentvariabledelete) | **Delete** /v1/service_component_variables/{id} | Delete a specific component variable.
   135  *ServiceComponentVariableAPI* | [**ServiceComponentVariableEdit**](docs/ServiceComponentVariableAPI.md#servicecomponentvariableedit) | **Patch** /v1/service_component_variables/{id} | Edit a specific component variable.
   136  *ServiceComponentVariableAPI* | [**ServiceComponentVariableList**](docs/ServiceComponentVariableAPI.md#servicecomponentvariablelist) | **Get** /v1/service_component_variables | List component variables matching any selected filters.
   137  *ServiceComponentVariableAPI* | [**ServiceComponentVariableView**](docs/ServiceComponentVariableAPI.md#servicecomponentvariableview) | **Get** /v1/service_component_variables/{id} | View a specific component variable.
   138  *TemplateAPI* | [**TemplateDefinition**](docs/TemplateAPI.md#templatedefinition) | **Get** /v1/templates/{id}/definition | View the environment definition.
   139  *TemplateAPI* | [**TemplateList**](docs/TemplateAPI.md#templatelist) | **Get** /v1/templates | List templates matching any selected filters.
   140  *TemplateAPI* | [**TemplateValidate**](docs/TemplateAPI.md#templatevalidate) | **Post** /v1/templates/validate | Validates a given template from an external source.
   141  *TemplateAPI* | [**TemplateView**](docs/TemplateAPI.md#templateview) | **Get** /v1/templates/{id} | View a specific template.
   142  *TemplatesRepositoryAPI* | [**TemplatesRepositoryList**](docs/TemplatesRepositoryAPI.md#templatesrepositorylist) | **Get** /v1/templates_repositories | List templates repositories matching any selected filters.
   143  *TemplatesRepositoryAPI* | [**TemplatesRepositoryView**](docs/TemplatesRepositoryAPI.md#templatesrepositoryview) | **Get** /v1/templates_repositories/{id} | View a specific templates repository.
   144  *WorkflowAPI* | [**WorkflowList**](docs/WorkflowAPI.md#workflowlist) | **Get** /v1/workflows | List workflows matching any selected filters.
   145  *WorkflowAPI* | [**WorkflowView**](docs/WorkflowAPI.md#workflowview) | **Get** /v1/workflows/{id} | View a specific Workflow.
   146  
   147  
   148  ## Documentation For Models
   149  
   150   - [BooleanTypeItem](docs/BooleanTypeItem.md)
   151   - [BooleanValueItem](docs/BooleanValueItem.md)
   152   - [BuildSettingsItem](docs/BuildSettingsItem.md)
   153   - [ClusterKubeConfigRead](docs/ClusterKubeConfigRead.md)
   154   - [ClusterWrapperKubeConfigRead](docs/ClusterWrapperKubeConfigRead.md)
   155   - [ComponentCollection](docs/ComponentCollection.md)
   156   - [ComponentConfigItem](docs/ComponentConfigItem.md)
   157   - [ComponentConfigItemConfig](docs/ComponentConfigItemConfig.md)
   158   - [ComponentEndpointCollection](docs/ComponentEndpointCollection.md)
   159   - [ComponentEndpointItem](docs/ComponentEndpointItem.md)
   160   - [ComponentGitCollection](docs/ComponentGitCollection.md)
   161   - [ComponentGitItem](docs/ComponentGitItem.md)
   162   - [ComponentItem](docs/ComponentItem.md)
   163   - [ComponentProfileItem](docs/ComponentProfileItem.md)
   164   - [ComponentResourceItem](docs/ComponentResourceItem.md)
   165   - [ContainerConfigItem](docs/ContainerConfigItem.md)
   166   - [ContainerConfigItemProfile](docs/ContainerConfigItemProfile.md)
   167   - [ContextKubeConfigRead](docs/ContextKubeConfigRead.md)
   168   - [ContextWrapperKubeConfigRead](docs/ContextWrapperKubeConfigRead.md)
   169   - [Edit](docs/Edit.md)
   170   - [EmbeddedComponentCollection](docs/EmbeddedComponentCollection.md)
   171   - [EmbeddedComponentEndpointCollection](docs/EmbeddedComponentEndpointCollection.md)
   172   - [EmbeddedComponentGitCollection](docs/EmbeddedComponentGitCollection.md)
   173   - [EmbeddedEnvironmentCollection](docs/EmbeddedEnvironmentCollection.md)
   174   - [EmbeddedEnvironmentVariableCollection](docs/EmbeddedEnvironmentVariableCollection.md)
   175   - [EmbeddedEventCollection](docs/EmbeddedEventCollection.md)
   176   - [EmbeddedKubernetesIntegrationCollection](docs/EmbeddedKubernetesIntegrationCollection.md)
   177   - [EmbeddedOrganizationCollection](docs/EmbeddedOrganizationCollection.md)
   178   - [EmbeddedPipelineCollection](docs/EmbeddedPipelineCollection.md)
   179   - [EmbeddedProjectCollection](docs/EmbeddedProjectCollection.md)
   180   - [EmbeddedProjectVariableCollection](docs/EmbeddedProjectVariableCollection.md)
   181   - [EmbeddedRegistryIntegrationCollection](docs/EmbeddedRegistryIntegrationCollection.md)
   182   - [EmbeddedServiceComponentVariableCollection](docs/EmbeddedServiceComponentVariableCollection.md)
   183   - [EmbeddedTemplateCollection](docs/EmbeddedTemplateCollection.md)
   184   - [EmbeddedTemplatesRepositoryCollection](docs/EmbeddedTemplatesRepositoryCollection.md)
   185   - [EmbeddedWorkflowCollection](docs/EmbeddedWorkflowCollection.md)
   186   - [EnumTypeItem](docs/EnumTypeItem.md)
   187   - [EnumTypeItemDefaultValue](docs/EnumTypeItemDefaultValue.md)
   188   - [EnumTypeItemValuesInner](docs/EnumTypeItemValuesInner.md)
   189   - [EnvironmentCloneAction](docs/EnvironmentCloneAction.md)
   190   - [EnvironmentCollection](docs/EnvironmentCollection.md)
   191   - [EnvironmentCreateAction](docs/EnvironmentCreateAction.md)
   192   - [EnvironmentCreateActionGenesis](docs/EnvironmentCreateActionGenesis.md)
   193   - [EnvironmentEditBuildSettingsAction](docs/EnvironmentEditBuildSettingsAction.md)
   194   - [EnvironmentEditComponentsAction](docs/EnvironmentEditComponentsAction.md)
   195   - [EnvironmentEditComponentsActionFilter](docs/EnvironmentEditComponentsActionFilter.md)
   196   - [EnvironmentEditConfiguration](docs/EnvironmentEditConfiguration.md)
   197   - [EnvironmentEditConfigurationConfiguration](docs/EnvironmentEditConfigurationConfiguration.md)
   198   - [EnvironmentEditSettings](docs/EnvironmentEditSettings.md)
   199   - [EnvironmentEditSettingsEdit](docs/EnvironmentEditSettingsEdit.md)
   200   - [EnvironmentItem](docs/EnvironmentItem.md)
   201   - [EnvironmentKubeConfigKubeConfigRead](docs/EnvironmentKubeConfigKubeConfigRead.md)
   202   - [EnvironmentPartialAction](docs/EnvironmentPartialAction.md)
   203   - [EnvironmentPartialDeployAction](docs/EnvironmentPartialDeployAction.md)
   204   - [EnvironmentPartialStartAction](docs/EnvironmentPartialStartAction.md)
   205   - [EnvironmentVariableCollection](docs/EnvironmentVariableCollection.md)
   206   - [EnvironmentVariableCreateAction](docs/EnvironmentVariableCreateAction.md)
   207   - [EnvironmentVariableEditAction](docs/EnvironmentVariableEditAction.md)
   208   - [EnvironmentVariableItem](docs/EnvironmentVariableItem.md)
   209   - [Ephemeral](docs/Ephemeral.md)
   210   - [EventCollection](docs/EventCollection.md)
   211   - [EventItem](docs/EventItem.md)
   212   - [ExtendedResourceConfigItem](docs/ExtendedResourceConfigItem.md)
   213   - [FilterGit](docs/FilterGit.md)
   214   - [FilterName](docs/FilterName.md)
   215   - [FloatTypeItem](docs/FloatTypeItem.md)
   216   - [FloatValueItem](docs/FloatValueItem.md)
   217   - [FromGit](docs/FromGit.md)
   218   - [FromGitSpec](docs/FromGitSpec.md)
   219   - [FromString](docs/FromString.md)
   220   - [FromTemplate](docs/FromTemplate.md)
   221   - [FromTemplateVariablesValue](docs/FromTemplateVariablesValue.md)
   222   - [GitInfo](docs/GitInfo.md)
   223   - [IntegerTypeItem](docs/IntegerTypeItem.md)
   224   - [IntegerValueItem](docs/IntegerValueItem.md)
   225   - [KubernetesIntegrationCollection](docs/KubernetesIntegrationCollection.md)
   226   - [KubernetesIntegrationItem](docs/KubernetesIntegrationItem.md)
   227   - [OrganizationCollection](docs/OrganizationCollection.md)
   228   - [OrganizationItem](docs/OrganizationItem.md)
   229   - [PaginatedComponentCollection](docs/PaginatedComponentCollection.md)
   230   - [PaginatedComponentEndpointCollection](docs/PaginatedComponentEndpointCollection.md)
   231   - [PaginatedComponentGitCollection](docs/PaginatedComponentGitCollection.md)
   232   - [PaginatedEnvironmentCollection](docs/PaginatedEnvironmentCollection.md)
   233   - [PaginatedEnvironmentVariableCollection](docs/PaginatedEnvironmentVariableCollection.md)
   234   - [PaginatedEventCollection](docs/PaginatedEventCollection.md)
   235   - [PaginatedKubernetesIntegrationCollection](docs/PaginatedKubernetesIntegrationCollection.md)
   236   - [PaginatedLink](docs/PaginatedLink.md)
   237   - [PaginatedLinks](docs/PaginatedLinks.md)
   238   - [PaginatedOrganizationCollection](docs/PaginatedOrganizationCollection.md)
   239   - [PaginatedPipelineCollection](docs/PaginatedPipelineCollection.md)
   240   - [PaginatedProjectCollection](docs/PaginatedProjectCollection.md)
   241   - [PaginatedProjectVariableCollection](docs/PaginatedProjectVariableCollection.md)
   242   - [PaginatedRegistryIntegrationCollection](docs/PaginatedRegistryIntegrationCollection.md)
   243   - [PaginatedServiceComponentVariableCollection](docs/PaginatedServiceComponentVariableCollection.md)
   244   - [PaginatedTemplateCollection](docs/PaginatedTemplateCollection.md)
   245   - [PaginatedTemplatesRepositoryCollection](docs/PaginatedTemplatesRepositoryCollection.md)
   246   - [PaginatedWorkflowCollection](docs/PaginatedWorkflowCollection.md)
   247   - [PipelineCollection](docs/PipelineCollection.md)
   248   - [PipelineItem](docs/PipelineItem.md)
   249   - [Primary](docs/Primary.md)
   250   - [ProblemGeneric](docs/ProblemGeneric.md)
   251   - [ProblemViolation](docs/ProblemViolation.md)
   252   - [ProfileItem](docs/ProfileItem.md)
   253   - [ProjectCollection](docs/ProjectCollection.md)
   254   - [ProjectCreateAction](docs/ProjectCreateAction.md)
   255   - [ProjectEditBuildSettingsAction](docs/ProjectEditBuildSettingsAction.md)
   256   - [ProjectEditSettingsAction](docs/ProjectEditSettingsAction.md)
   257   - [ProjectItem](docs/ProjectItem.md)
   258   - [ProjectVariableCollection](docs/ProjectVariableCollection.md)
   259   - [ProjectVariableCreateAction](docs/ProjectVariableCreateAction.md)
   260   - [ProjectVariableEditAction](docs/ProjectVariableEditAction.md)
   261   - [ProjectVariableItem](docs/ProjectVariableItem.md)
   262   - [RegistryIntegrationCollection](docs/RegistryIntegrationCollection.md)
   263   - [RegistryIntegrationItem](docs/RegistryIntegrationItem.md)
   264   - [ResourceListItem](docs/ResourceListItem.md)
   265   - [ResourceRequirementItem](docs/ResourceRequirementItem.md)
   266   - [SecretDecryptAction](docs/SecretDecryptAction.md)
   267   - [SecretDecryptedItem](docs/SecretDecryptedItem.md)
   268   - [SecretEncryptAction](docs/SecretEncryptAction.md)
   269   - [SecretEncryptedItem](docs/SecretEncryptedItem.md)
   270   - [SecretTranscryptConfigurationAction](docs/SecretTranscryptConfigurationAction.md)
   271   - [ServiceComponentVariableCollection](docs/ServiceComponentVariableCollection.md)
   272   - [ServiceComponentVariableCreateAction](docs/ServiceComponentVariableCreateAction.md)
   273   - [ServiceComponentVariableEditAction](docs/ServiceComponentVariableEditAction.md)
   274   - [ServiceComponentVariableItem](docs/ServiceComponentVariableItem.md)
   275   - [SimpleResourceConfigItem](docs/SimpleResourceConfigItem.md)
   276   - [StageItem](docs/StageItem.md)
   277   - [StringTypeItem](docs/StringTypeItem.md)
   278   - [StringValueItem](docs/StringValueItem.md)
   279   - [SyncPathItem](docs/SyncPathItem.md)
   280   - [TemplateCollection](docs/TemplateCollection.md)
   281   - [TemplateItem](docs/TemplateItem.md)
   282   - [TemplateItemVariablesSchemaInner](docs/TemplateItemVariablesSchemaInner.md)
   283   - [TemplateValidateAction](docs/TemplateValidateAction.md)
   284   - [TemplateValidateActionSource](docs/TemplateValidateActionSource.md)
   285   - [TemplatesRepositoryCollection](docs/TemplatesRepositoryCollection.md)
   286   - [TemplatesRepositoryItem](docs/TemplatesRepositoryItem.md)
   287   - [UserKubeConfigRead](docs/UserKubeConfigRead.md)
   288   - [UserWrapperKubeConfigRead](docs/UserWrapperKubeConfigRead.md)
   289   - [ValidateSourceGit](docs/ValidateSourceGit.md)
   290   - [ValidateSourceString](docs/ValidateSourceString.md)
   291   - [WorkflowCollection](docs/WorkflowCollection.md)
   292   - [WorkflowItem](docs/WorkflowItem.md)
   293  
   294  
   295  ## Documentation For Authorization
   296  
   297  
   298  Authentication schemes defined for the API:
   299  ### ApiKeyAuth
   300  
   301  - **Type**: API key
   302  - **API key parameter name**: X-Auth-Token
   303  - **Location**: HTTP header
   304  
   305  Note, each API key must be added to a map of `map[string]APIKey` where the key is: X-Auth-Token and passed in as the auth context for each request.
   306  
   307  Example
   308  
   309  ```golang
   310  auth := context.WithValue(
   311  		context.Background(),
   312  		sw.ContextAPIKeys,
   313  		map[string]sw.APIKey{
   314  			"X-Auth-Token": {Key: "API_KEY_STRING"},
   315  		},
   316  	)
   317  r, err := client.Service.Operation(auth, args)
   318  ```
   319  
   320  ### JWT
   321  
   322  - **Type**: API key
   323  - **API key parameter name**: Authorization
   324  - **Location**: HTTP header
   325  
   326  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.
   327  
   328  Example
   329  
   330  ```golang
   331  auth := context.WithValue(
   332  		context.Background(),
   333  		sw.ContextAPIKeys,
   334  		map[string]sw.APIKey{
   335  			"Authorization": {Key: "API_KEY_STRING"},
   336  		},
   337  	)
   338  r, err := client.Service.Operation(auth, args)
   339  ```
   340  
   341  
   342  ## Documentation for Utility Methods
   343  
   344  Due to the fact that model structure members are all pointers, this package contains
   345  a number of utility functions to easily obtain pointers to values of basic types.
   346  Each of these functions takes a value of the given basic type and returns a pointer to it:
   347  
   348  * `PtrBool`
   349  * `PtrInt`
   350  * `PtrInt32`
   351  * `PtrInt64`
   352  * `PtrFloat`
   353  * `PtrFloat32`
   354  * `PtrFloat64`
   355  * `PtrString`
   356  * `PtrTime`
   357  
   358  ## Author
   359  
   360  osi+support@bunnyshell.com
   361