Categorygithub.com/teamhava/hava-sdk-go
modulepackage
1.1.3
Repository: https://github.com/teamhava/hava-sdk-go.git
Documentation: pkg.go.dev

# README

Go API client for havaclient

Hava API

Overview

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: 1.1.3
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import havaclient "github.com/teamhava/hava-sdk-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), havaclient.ContextServerIndex, 1)

Templated Server URL

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(), havaclient.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

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(), havaclient.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), havaclient.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.hava.io

ClassMethodHTTP requestDescription
SourcesApiSourcesCreatePost /sourcesCreate a source
SourcesApiSourcesDestroyDelete /sources/{source_id}Delete a source and all associated resources and environments
SourcesApiSourcesIndexGet /sourcesList all sources
SourcesApiSourcesShowGet /sources/{source_id}Get a source
SourcesApiSourcesSyncPost /sources/{source_id}/syncImport the latest resources for this source
SourcesApiSourcesUpdatePut /sources/{source_id}Update a source

Documentation For Models

Documentation For Authorization

api_key

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

Author

[email protected]

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewApiTokensCreateRequest instantiates a new ApiTokensCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewApiTokensCreateRequestWithDefaults instantiates a new ApiTokensCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewApiTokensIndex200Response instantiates a new ApiTokensIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewApiTokensIndex200ResponseWithDefaults instantiates a new ApiTokensIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConfiguration returns a new Configuration object.
NewEnvironment instantiates a new Environment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentCurrentRevision instantiates a new EnvironmentCurrentRevision object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentCurrentRevisionWithDefaults instantiates a new EnvironmentCurrentRevision object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentFacet instantiates a new EnvironmentFacet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentFacetWithDefaults instantiates a new EnvironmentFacet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentLatestRevisions instantiates a new EnvironmentLatestRevisions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentLatestRevisionsWithDefaults instantiates a new EnvironmentLatestRevisions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentRevision instantiates a new EnvironmentRevision object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentRevisionsIndex200Response instantiates a new EnvironmentRevisionsIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentRevisionsIndex200ResponseWithDefaults instantiates a new EnvironmentRevisionsIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentRevisionWithDefaults instantiates a new EnvironmentRevision object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentsCreateRequest instantiates a new EnvironmentsCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentsCreateRequestWithDefaults instantiates a new EnvironmentsCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSearchResult instantiates a new EnvironmentSearchResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSearchResultWithDefaults instantiates a new EnvironmentSearchResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentShare instantiates a new EnvironmentShare object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSharesCreateRequest instantiates a new EnvironmentSharesCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSharesCreateRequestConfig instantiates a new EnvironmentSharesCreateRequestConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSharesCreateRequestConfigWithDefaults instantiates a new EnvironmentSharesCreateRequestConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSharesCreateRequestWithDefaults instantiates a new EnvironmentSharesCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSharesList200Response instantiates a new EnvironmentSharesList200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSharesList200ResponseWithDefaults instantiates a new EnvironmentSharesList200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSharesUpdateRequest instantiates a new EnvironmentSharesUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSharesUpdateRequestWithDefaults instantiates a new EnvironmentSharesUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentShareWithDefaults instantiates a new EnvironmentShare object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentsIndex200Response instantiates a new EnvironmentsIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentsIndex200ResponseWithDefaults instantiates a new EnvironmentsIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSummary instantiates a new EnvironmentSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSummarySourcesInner instantiates a new EnvironmentSummarySourcesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSummarySourcesInnerWithDefaults instantiates a new EnvironmentSummarySourcesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSummaryViewsInner instantiates a new EnvironmentSummaryViewsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentSummaryViewsInnerWithDefaults instantiates a new EnvironmentSummaryViewsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentSummaryWithDefaults instantiates a new EnvironmentSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentsUpdateRequest instantiates a new EnvironmentsUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEnvironmentsUpdateRequestWithDefaults instantiates a new EnvironmentsUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEnvironmentWithDefaults instantiates a new Environment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorInner instantiates a new ErrorInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorInnerWithDefaults instantiates a new ErrorInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewJobsShow200Response instantiates a new JobsShow200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewJobsShow200ResponseWithDefaults instantiates a new JobsShow200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProjectMembersInner instantiates a new ProjectMembersInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProjectMembersInnerWithDefaults instantiates a new ProjectMembersInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProjectsCreateRequest instantiates a new ProjectsCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProjectsCreateRequestWithDefaults instantiates a new ProjectsCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProjectsIndex200Response instantiates a new ProjectsIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProjectsIndex200ResponseWithDefaults instantiates a new ProjectsIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProjectsUpdateRequest instantiates a new ProjectsUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProjectsUpdateRequestWithDefaults instantiates a new ProjectsUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReport instantiates a new Report object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReportsIndex200Response instantiates a new ReportsIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReportsIndex200ResponseWithDefaults instantiates a new ReportsIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReportsReportIdExportPostRequest instantiates a new ReportsReportIdExportPostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReportsReportIdExportPostRequestWithDefaults instantiates a new ReportsReportIdExportPostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReportSummary instantiates a new ReportSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReportSummarySource instantiates a new ReportSummarySource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReportSummarySourceWithDefaults instantiates a new ReportSummarySource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReportSummaryWithDefaults instantiates a new ReportSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReportWithDefaults instantiates a new Report object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResource instantiates a new Resource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResourceConnectionsInner instantiates a new ResourceConnectionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResourceConnectionsInnerWithDefaults instantiates a new ResourceConnectionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResourceTagsInner instantiates a new ResourceTagsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResourceTagsInnerWithDefaults instantiates a new ResourceTagsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResourceWithDefaults instantiates a new Resource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSearchEnvironments202Response instantiates a new SearchEnvironments202Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSearchEnvironments202ResponseWithDefaults instantiates a new SearchEnvironments202Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSource instantiates a new Source object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesAWSCAR instantiates a new SourcesAWSCAR object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesAWSCARWithDefaults instantiates a new SourcesAWSCAR object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourcesAWSKey instantiates a new SourcesAWSKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesAWSKeyWithDefaults instantiates a new SourcesAWSKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourcesAzureCredentials instantiates a new SourcesAzureCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesAzureCredentialsWithDefaults instantiates a new SourcesAzureCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourcesGCPServiceAccountCredentials instantiates a new SourcesGCPServiceAccountCredentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesGCPServiceAccountCredentialsWithDefaults instantiates a new SourcesGCPServiceAccountCredentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourcesIndex200Response instantiates a new SourcesIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSourcesIndex200ResponseWithDefaults instantiates a new SourcesIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSourceWithDefaults instantiates a new Source object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTeam instantiates a new Team object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTeamMembersInner instantiates a new TeamMembersInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTeamMembersInnerWithDefaults instantiates a new TeamMembersInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTeamsCreateRequest instantiates a new TeamsCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTeamsCreateRequestWithDefaults instantiates a new TeamsCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTeamsIndex200Response instantiates a new TeamsIndex200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTeamsIndex200ResponseWithDefaults instantiates a new TeamsIndex200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTeamsUpdateRequest instantiates a new TeamsUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTeamsUpdateRequestWithDefaults instantiates a new TeamsUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTeamWithDefaults instantiates a new Team object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokenSummary instantiates a new TokenSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokenSummaryWithDefaults instantiates a new TokenSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewView instantiates a new View object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewViewResourcesInner instantiates a new ViewResourcesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewViewResourcesInnerWithDefaults instantiates a new ViewResourcesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewViewsExportRequest instantiates a new ViewsExportRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewViewsExportRequestWithDefaults instantiates a new ViewsExportRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewViewWithDefaults instantiates a new View object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.
SourcesAWSCARAsSourcesCreateRequest is a convenience function that returns SourcesAWSCAR wrapped in SourcesCreateRequest.
SourcesAWSCARAsSourcesUpdateRequest is a convenience function that returns SourcesAWSCAR wrapped in SourcesUpdateRequest.
SourcesAWSKeyAsSourcesCreateRequest is a convenience function that returns SourcesAWSKey wrapped in SourcesCreateRequest.
SourcesAWSKeyAsSourcesUpdateRequest is a convenience function that returns SourcesAWSKey wrapped in SourcesUpdateRequest.
SourcesAzureCredentialsAsSourcesCreateRequest is a convenience function that returns SourcesAzureCredentials wrapped in SourcesCreateRequest.
SourcesAzureCredentialsAsSourcesUpdateRequest is a convenience function that returns SourcesAzureCredentials wrapped in SourcesUpdateRequest.
SourcesGCPServiceAccountCredentialsAsSourcesCreateRequest is a convenience function that returns SourcesGCPServiceAccountCredentials wrapped in SourcesCreateRequest.
SourcesGCPServiceAccountCredentialsAsSourcesUpdateRequest is a convenience function that returns SourcesGCPServiceAccountCredentials wrapped in SourcesUpdateRequest.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

APIClient manages communication with the Hava API v1.1.3 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ApiTokensCreateRequest struct for ApiTokensCreateRequest.
ApiTokensIndex200Response struct for ApiTokensIndex200Response.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
Environment struct for Environment.
EnvironmentCurrentRevision Information about the current version of this environment.
EnvironmentFacet The facet contains the resources that are projected to the views.
EnvironmentLatestRevisions A list of the latest versions of this environment.
EnvironmentRevision struct for EnvironmentRevision.
EnvironmentRevisionsIndex200Response struct for EnvironmentRevisionsIndex200Response.
EnvironmentsCreateRequest struct for EnvironmentsCreateRequest.
EnvironmentSearchResult struct for EnvironmentSearchResult.
EnvironmentShare struct for EnvironmentShare.
EnvironmentSharesCreateRequest struct for EnvironmentSharesCreateRequest.
EnvironmentSharesCreateRequestConfig Configuration for the generated view.
EnvironmentSharesList200Response struct for EnvironmentSharesList200Response.
EnvironmentSharesUpdateRequest struct for EnvironmentSharesUpdateRequest.
EnvironmentsIndex200Response struct for EnvironmentsIndex200Response.
EnvironmentSummary struct for EnvironmentSummary.
EnvironmentSummarySourcesInner struct for EnvironmentSummarySourcesInner.
EnvironmentSummaryViewsInner struct for EnvironmentSummaryViewsInner.
EnvironmentsUpdateRequest struct for EnvironmentsUpdateRequest.
ErrorInner struct for ErrorInner.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
JobsShow200Response struct for JobsShow200Response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Project struct for Project.
ProjectMembersInner struct for ProjectMembersInner.
ProjectsCreateRequest struct for ProjectsCreateRequest.
ProjectsIndex200Response struct for ProjectsIndex200Response.
ProjectsUpdateRequest struct for ProjectsUpdateRequest.
Report struct for Report.
ReportsIndex200Response struct for ReportsIndex200Response.
ReportsReportIdExportPostRequest struct for ReportsReportIdExportPostRequest.
ReportSummary struct for ReportSummary.
ReportSummarySource struct for ReportSummarySource.
Resource struct for Resource.
ResourceConnectionsInner struct for ResourceConnectionsInner.
ResourceTagsInner struct for ResourceTagsInner.
SearchEnvironments202Response struct for SearchEnvironments202Response.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
Source struct for Source.
SourcesAWSCAR The parameters required to create an AWS Cross Account Role Source.
SourcesAWSKey The parameters required to create an AWS Key Source.
SourcesAzureCredentials The parameters required to create an Azure Credentials Source.
SourcesCreateRequest - struct for SourcesCreateRequest.
SourcesGCPServiceAccountCredentials The parameters required to create a GCP Service Account Credentials Source.
SourcesIndex200Response struct for SourcesIndex200Response.
SourcesUpdateRequest - struct for SourcesUpdateRequest.
Team struct for Team.
TeamMembersInner struct for TeamMembersInner.
TeamsCreateRequest struct for TeamsCreateRequest.
TeamsIndex200Response struct for TeamsIndex200Response.
TeamsUpdateRequest struct for TeamsUpdateRequest.
Token struct for Token.
TokenSummary struct for TokenSummary.
View struct for View.
ViewResourcesInner struct for ViewResourcesInner.
ViewsExportRequest struct for ViewsExportRequest.

# Type aliases

ServerConfigurations stores multiple ServerConfiguration items.
SourcesApiService SourcesApi service.