mzcloud

package module
v0.0.0-...-824ee6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for mzcloud

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 0.1.0
  • 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 sw "./mzcloud"

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

Documentation for API Endpoints

All URIs are relative to https://cloud.materialize.com

Class Method HTTP request Description
CloudProvidersApi CloudProvidersList Get /api/cloud-providers
DeploymentsApi DeploymentsCertsRetrieve Get /api/deployments/{id}/certs
DeploymentsApi DeploymentsChangesList Get /api/deployments/{id}/changes
DeploymentsApi DeploymentsCreate Post /api/deployments
DeploymentsApi DeploymentsDestroy Delete /api/deployments/{id}
DeploymentsApi DeploymentsIpRetrieve Get /api/deployments/{id}/ip
DeploymentsApi DeploymentsList Get /api/deployments
DeploymentsApi DeploymentsLogsRetrieve Get /api/deployments/{id}/logs
DeploymentsApi DeploymentsMetricsCpuRetrieve Get /api/deployments/{id}/metrics/cpu/{period}
DeploymentsApi DeploymentsMetricsMemoryRetrieve Get /api/deployments/{id}/metrics/memory/{period}
DeploymentsApi DeploymentsPartialUpdate Patch /api/deployments/{id}
DeploymentsApi DeploymentsRetrieve Get /api/deployments/{id}
DeploymentsApi DeploymentsSecretsCreate Post /api/deployments/{id}/secrets/{secret}
DeploymentsApi DeploymentsSecretsDestroy Delete /api/deployments/{id}/secrets/{secret}
DeploymentsApi DeploymentsSecretsList Get /api/deployments/{id}/secrets
DeploymentsApi DeploymentsTailscaleLogsRetrieve Get /api/deployments/{id}/tailscale_logs
HealthApi HealthRetrieve Get /api/health
MzVersionsApi MzVersionsLatestRetrieve Get /api/mz-versions/latest
MzVersionsApi MzVersionsList Get /api/mz-versions
OrganizationsApi OrganizationsRetrieve Get /api/organizations/{id}
RegionsApi RegionsList Get /api/regions/{providerName}
SchemaApi SchemaRetrieve Get /api/schema

Documentation For Models

Documentation For Authorization

tokenAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARERTOKENSTRING")
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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	CloudProvidersApi *CloudProvidersApiService

	DeploymentsApi *DeploymentsApiService

	HealthApi *HealthApiService

	MzVersionsApi *MzVersionsApiService

	OrganizationsApi *OrganizationsApiService

	RegionsApi *RegionsApiService

	SchemaApi *SchemaApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Materialize Cloud API v0.1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCloudProvidersListRequest

type ApiCloudProvidersListRequest struct {
	ApiService *CloudProvidersApiService
	// contains filtered or unexported fields
}

func (ApiCloudProvidersListRequest) Execute

type ApiDeploymentsCertsRetrieveRequest

type ApiDeploymentsCertsRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsCertsRetrieveRequest) Execute

type ApiDeploymentsChangesListRequest

type ApiDeploymentsChangesListRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsChangesListRequest) Execute

type ApiDeploymentsCreateRequest

type ApiDeploymentsCreateRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsCreateRequest) DeploymentRequest

func (r ApiDeploymentsCreateRequest) DeploymentRequest(deploymentRequest DeploymentRequest) ApiDeploymentsCreateRequest

func (ApiDeploymentsCreateRequest) Execute

type ApiDeploymentsDestroyRequest

type ApiDeploymentsDestroyRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsDestroyRequest) Execute

type ApiDeploymentsIpRetrieveRequest

type ApiDeploymentsIpRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsIpRetrieveRequest) Execute

type ApiDeploymentsListRequest

type ApiDeploymentsListRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsListRequest) Execute

type ApiDeploymentsLogsRetrieveRequest

type ApiDeploymentsLogsRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsLogsRetrieveRequest) Execute

func (ApiDeploymentsLogsRetrieveRequest) Previous

type ApiDeploymentsMetricsCpuRetrieveRequest

type ApiDeploymentsMetricsCpuRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsMetricsCpuRetrieveRequest) Execute

type ApiDeploymentsMetricsMemoryRetrieveRequest

type ApiDeploymentsMetricsMemoryRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsMetricsMemoryRetrieveRequest) Execute

type ApiDeploymentsPartialUpdateRequest

type ApiDeploymentsPartialUpdateRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsPartialUpdateRequest) Execute

func (ApiDeploymentsPartialUpdateRequest) PatchedDeploymentUpdateRequest

func (r ApiDeploymentsPartialUpdateRequest) PatchedDeploymentUpdateRequest(patchedDeploymentUpdateRequest PatchedDeploymentUpdateRequest) ApiDeploymentsPartialUpdateRequest

type ApiDeploymentsRetrieveRequest

type ApiDeploymentsRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsRetrieveRequest) Execute

type ApiDeploymentsSecretsCreateRequest

type ApiDeploymentsSecretsCreateRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsSecretsCreateRequest) Body

func (ApiDeploymentsSecretsCreateRequest) Execute

type ApiDeploymentsSecretsDestroyRequest

type ApiDeploymentsSecretsDestroyRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsSecretsDestroyRequest) Execute

type ApiDeploymentsSecretsListRequest

type ApiDeploymentsSecretsListRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsSecretsListRequest) Execute

type ApiDeploymentsTailscaleLogsRetrieveRequest

type ApiDeploymentsTailscaleLogsRetrieveRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (ApiDeploymentsTailscaleLogsRetrieveRequest) Execute

func (ApiDeploymentsTailscaleLogsRetrieveRequest) Previous

type ApiHealthRetrieveRequest

type ApiHealthRetrieveRequest struct {
	ApiService *HealthApiService
	// contains filtered or unexported fields
}

func (ApiHealthRetrieveRequest) Execute

type ApiMzVersionsLatestRetrieveRequest

type ApiMzVersionsLatestRetrieveRequest struct {
	ApiService *MzVersionsApiService
	// contains filtered or unexported fields
}

func (ApiMzVersionsLatestRetrieveRequest) Execute

func (ApiMzVersionsLatestRetrieveRequest) Track

type ApiMzVersionsListRequest

type ApiMzVersionsListRequest struct {
	ApiService *MzVersionsApiService
	// contains filtered or unexported fields
}

func (ApiMzVersionsListRequest) Execute

type ApiOrganizationsRetrieveRequest

type ApiOrganizationsRetrieveRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiOrganizationsRetrieveRequest) Execute

type ApiRegionsListRequest

type ApiRegionsListRequest struct {
	ApiService *RegionsApiService
	// contains filtered or unexported fields
}

func (ApiRegionsListRequest) Execute

type ApiSchemaRetrieveRequest

type ApiSchemaRetrieveRequest struct {
	ApiService *SchemaApiService
	// contains filtered or unexported fields
}

func (ApiSchemaRetrieveRequest) Execute

func (r ApiSchemaRetrieveRequest) Execute() (map[string]interface{}, *_nethttp.Response, error)

func (ApiSchemaRetrieveRequest) Format

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CloudProvidersApiService

type CloudProvidersApiService service

CloudProvidersApiService CloudProvidersApi service

func (*CloudProvidersApiService) CloudProvidersList

* CloudProvidersList Method for CloudProvidersList * List the cloud provider and regions * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiCloudProvidersListRequest

func (*CloudProvidersApiService) CloudProvidersListExecute

* Execute executes the request * @return []SupportedCloudRegion

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Deployment

type Deployment struct {
	Id                    string               `json:"id"`
	Organization          string               `json:"organization"`
	TlsAuthority          NullableString       `json:"tlsAuthority"`
	Name                  string               `json:"name"`
	Hostname              NullableString       `json:"hostname"`
	FlaggedForDeletion    bool                 `json:"flaggedForDeletion"`
	FlaggedForUpdate      bool                 `json:"flaggedForUpdate"`
	CatalogRestoreMode    bool                 `json:"catalogRestoreMode"`
	Size                  DeploymentSizeEnum   `json:"size"`
	StorageMb             int32                `json:"storageMb"`
	DisableUserIndexes    bool                 `json:"disableUserIndexes"`
	MaterializedExtraArgs []string             `json:"materializedExtraArgs"`
	ClusterId             NullableString       `json:"clusterId"`
	MzVersion             string               `json:"mzVersion"`
	ReleaseTrack          ReleaseTrackEnum     `json:"releaseTrack"`
	Status                string               `json:"status"`
	EnableTailscale       bool                 `json:"enableTailscale"`
	CloudProviderRegion   SupportedCloudRegion `json:"cloudProviderRegion"`
}

Deployment struct for Deployment

func NewDeployment

func NewDeployment(id string, organization string, tlsAuthority NullableString, name string, hostname NullableString, flaggedForDeletion bool, flaggedForUpdate bool, catalogRestoreMode bool, size DeploymentSizeEnum, storageMb int32, disableUserIndexes bool, materializedExtraArgs []string, clusterId NullableString, mzVersion string, releaseTrack ReleaseTrackEnum, status string, enableTailscale bool, cloudProviderRegion SupportedCloudRegion) *Deployment

NewDeployment instantiates a new Deployment 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

func NewDeploymentWithDefaults

func NewDeploymentWithDefaults() *Deployment

NewDeploymentWithDefaults instantiates a new Deployment 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

func (*Deployment) GetCatalogRestoreMode

func (o *Deployment) GetCatalogRestoreMode() bool

GetCatalogRestoreMode returns the CatalogRestoreMode field value

func (*Deployment) GetCatalogRestoreModeOk

func (o *Deployment) GetCatalogRestoreModeOk() (*bool, bool)

GetCatalogRestoreModeOk returns a tuple with the CatalogRestoreMode field value and a boolean to check if the value has been set.

func (*Deployment) GetCloudProviderRegion

func (o *Deployment) GetCloudProviderRegion() SupportedCloudRegion

GetCloudProviderRegion returns the CloudProviderRegion field value

func (*Deployment) GetCloudProviderRegionOk

func (o *Deployment) GetCloudProviderRegionOk() (*SupportedCloudRegion, bool)

GetCloudProviderRegionOk returns a tuple with the CloudProviderRegion field value and a boolean to check if the value has been set.

func (*Deployment) GetClusterId

func (o *Deployment) GetClusterId() string

GetClusterId returns the ClusterId field value If the value is explicit nil, the zero value for string will be returned

func (*Deployment) GetClusterIdOk

func (o *Deployment) GetClusterIdOk() (*string, bool)

GetClusterIdOk returns a tuple with the ClusterId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Deployment) GetDisableUserIndexes

func (o *Deployment) GetDisableUserIndexes() bool

GetDisableUserIndexes returns the DisableUserIndexes field value

func (*Deployment) GetDisableUserIndexesOk

func (o *Deployment) GetDisableUserIndexesOk() (*bool, bool)

GetDisableUserIndexesOk returns a tuple with the DisableUserIndexes field value and a boolean to check if the value has been set.

func (*Deployment) GetEnableTailscale

func (o *Deployment) GetEnableTailscale() bool

GetEnableTailscale returns the EnableTailscale field value

func (*Deployment) GetEnableTailscaleOk

func (o *Deployment) GetEnableTailscaleOk() (*bool, bool)

GetEnableTailscaleOk returns a tuple with the EnableTailscale field value and a boolean to check if the value has been set.

func (*Deployment) GetFlaggedForDeletion

func (o *Deployment) GetFlaggedForDeletion() bool

GetFlaggedForDeletion returns the FlaggedForDeletion field value

func (*Deployment) GetFlaggedForDeletionOk

func (o *Deployment) GetFlaggedForDeletionOk() (*bool, bool)

GetFlaggedForDeletionOk returns a tuple with the FlaggedForDeletion field value and a boolean to check if the value has been set.

func (*Deployment) GetFlaggedForUpdate

func (o *Deployment) GetFlaggedForUpdate() bool

GetFlaggedForUpdate returns the FlaggedForUpdate field value

func (*Deployment) GetFlaggedForUpdateOk

func (o *Deployment) GetFlaggedForUpdateOk() (*bool, bool)

GetFlaggedForUpdateOk returns a tuple with the FlaggedForUpdate field value and a boolean to check if the value has been set.

func (*Deployment) GetHostname

func (o *Deployment) GetHostname() string

GetHostname returns the Hostname field value If the value is explicit nil, the zero value for string will be returned

func (*Deployment) GetHostnameOk

func (o *Deployment) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Deployment) GetId

func (o *Deployment) GetId() string

GetId returns the Id field value

func (*Deployment) GetIdOk

func (o *Deployment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Deployment) GetMaterializedExtraArgs

func (o *Deployment) GetMaterializedExtraArgs() []string

GetMaterializedExtraArgs returns the MaterializedExtraArgs field value

func (*Deployment) GetMaterializedExtraArgsOk

func (o *Deployment) GetMaterializedExtraArgsOk() (*[]string, bool)

GetMaterializedExtraArgsOk returns a tuple with the MaterializedExtraArgs field value and a boolean to check if the value has been set.

func (*Deployment) GetMzVersion

func (o *Deployment) GetMzVersion() string

GetMzVersion returns the MzVersion field value

func (*Deployment) GetMzVersionOk

func (o *Deployment) GetMzVersionOk() (*string, bool)

GetMzVersionOk returns a tuple with the MzVersion field value and a boolean to check if the value has been set.

func (*Deployment) GetName

func (o *Deployment) GetName() string

GetName returns the Name field value

func (*Deployment) GetNameOk

func (o *Deployment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Deployment) GetOrganization

func (o *Deployment) GetOrganization() string

GetOrganization returns the Organization field value

func (*Deployment) GetOrganizationOk

func (o *Deployment) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value and a boolean to check if the value has been set.

func (*Deployment) GetReleaseTrack

func (o *Deployment) GetReleaseTrack() ReleaseTrackEnum

GetReleaseTrack returns the ReleaseTrack field value

func (*Deployment) GetReleaseTrackOk

func (o *Deployment) GetReleaseTrackOk() (*ReleaseTrackEnum, bool)

GetReleaseTrackOk returns a tuple with the ReleaseTrack field value and a boolean to check if the value has been set.

func (*Deployment) GetSize

func (o *Deployment) GetSize() DeploymentSizeEnum

GetSize returns the Size field value

func (*Deployment) GetSizeOk

func (o *Deployment) GetSizeOk() (*DeploymentSizeEnum, bool)

GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.

func (*Deployment) GetStatus

func (o *Deployment) GetStatus() string

GetStatus returns the Status field value

func (*Deployment) GetStatusOk

func (o *Deployment) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Deployment) GetStorageMb

func (o *Deployment) GetStorageMb() int32

GetStorageMb returns the StorageMb field value

func (*Deployment) GetStorageMbOk

func (o *Deployment) GetStorageMbOk() (*int32, bool)

GetStorageMbOk returns a tuple with the StorageMb field value and a boolean to check if the value has been set.

func (*Deployment) GetTlsAuthority

func (o *Deployment) GetTlsAuthority() string

GetTlsAuthority returns the TlsAuthority field value If the value is explicit nil, the zero value for string will be returned

func (*Deployment) GetTlsAuthorityOk

func (o *Deployment) GetTlsAuthorityOk() (*string, bool)

GetTlsAuthorityOk returns a tuple with the TlsAuthority field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (Deployment) MarshalJSON

func (o Deployment) MarshalJSON() ([]byte, error)

func (*Deployment) SetCatalogRestoreMode

func (o *Deployment) SetCatalogRestoreMode(v bool)

SetCatalogRestoreMode sets field value

func (*Deployment) SetCloudProviderRegion

func (o *Deployment) SetCloudProviderRegion(v SupportedCloudRegion)

SetCloudProviderRegion sets field value

func (*Deployment) SetClusterId

func (o *Deployment) SetClusterId(v string)

SetClusterId sets field value

func (*Deployment) SetDisableUserIndexes

func (o *Deployment) SetDisableUserIndexes(v bool)

SetDisableUserIndexes sets field value

func (*Deployment) SetEnableTailscale

func (o *Deployment) SetEnableTailscale(v bool)

SetEnableTailscale sets field value

func (*Deployment) SetFlaggedForDeletion

func (o *Deployment) SetFlaggedForDeletion(v bool)

SetFlaggedForDeletion sets field value

func (*Deployment) SetFlaggedForUpdate

func (o *Deployment) SetFlaggedForUpdate(v bool)

SetFlaggedForUpdate sets field value

func (*Deployment) SetHostname

func (o *Deployment) SetHostname(v string)

SetHostname sets field value

func (*Deployment) SetId

func (o *Deployment) SetId(v string)

SetId sets field value

func (*Deployment) SetMaterializedExtraArgs

func (o *Deployment) SetMaterializedExtraArgs(v []string)

SetMaterializedExtraArgs sets field value

func (*Deployment) SetMzVersion

func (o *Deployment) SetMzVersion(v string)

SetMzVersion sets field value

func (*Deployment) SetName

func (o *Deployment) SetName(v string)

SetName sets field value

func (*Deployment) SetOrganization

func (o *Deployment) SetOrganization(v string)

SetOrganization sets field value

func (*Deployment) SetReleaseTrack

func (o *Deployment) SetReleaseTrack(v ReleaseTrackEnum)

SetReleaseTrack sets field value

func (*Deployment) SetSize

func (o *Deployment) SetSize(v DeploymentSizeEnum)

SetSize sets field value

func (*Deployment) SetStatus

func (o *Deployment) SetStatus(v string)

SetStatus sets field value

func (*Deployment) SetStorageMb

func (o *Deployment) SetStorageMb(v int32)

SetStorageMb sets field value

func (*Deployment) SetTlsAuthority

func (o *Deployment) SetTlsAuthority(v string)

SetTlsAuthority sets field value

type DeploymentRequest

type DeploymentRequest struct {
	Name                  *string                     `json:"name,omitempty"`
	CatalogRestoreMode    *bool                       `json:"catalogRestoreMode,omitempty"`
	Size                  *DeploymentSizeEnum         `json:"size,omitempty"`
	StorageMb             *int32                      `json:"storageMb,omitempty"`
	DisableUserIndexes    *bool                       `json:"disableUserIndexes,omitempty"`
	MaterializedExtraArgs *[]string                   `json:"materializedExtraArgs,omitempty"`
	MzVersion             *string                     `json:"mzVersion,omitempty"`
	ReleaseTrack          *ReleaseTrackEnum           `json:"releaseTrack,omitempty"`
	EnableTailscale       *bool                       `json:"enableTailscale,omitempty"`
	TailscaleAuthKey      *string                     `json:"tailscaleAuthKey,omitempty"`
	CloudProviderRegion   SupportedCloudRegionRequest `json:"cloudProviderRegion"`
}

DeploymentRequest struct for DeploymentRequest

func NewDeploymentRequest

func NewDeploymentRequest(cloudProviderRegion SupportedCloudRegionRequest) *DeploymentRequest

NewDeploymentRequest instantiates a new DeploymentRequest 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

func NewDeploymentRequestWithDefaults

func NewDeploymentRequestWithDefaults() *DeploymentRequest

NewDeploymentRequestWithDefaults instantiates a new DeploymentRequest 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

func (*DeploymentRequest) GetCatalogRestoreMode

func (o *DeploymentRequest) GetCatalogRestoreMode() bool

GetCatalogRestoreMode returns the CatalogRestoreMode field value if set, zero value otherwise.

func (*DeploymentRequest) GetCatalogRestoreModeOk

func (o *DeploymentRequest) GetCatalogRestoreModeOk() (*bool, bool)

GetCatalogRestoreModeOk returns a tuple with the CatalogRestoreMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetCloudProviderRegion

func (o *DeploymentRequest) GetCloudProviderRegion() SupportedCloudRegionRequest

GetCloudProviderRegion returns the CloudProviderRegion field value

func (*DeploymentRequest) GetCloudProviderRegionOk

func (o *DeploymentRequest) GetCloudProviderRegionOk() (*SupportedCloudRegionRequest, bool)

GetCloudProviderRegionOk returns a tuple with the CloudProviderRegion field value and a boolean to check if the value has been set.

func (*DeploymentRequest) GetDisableUserIndexes

func (o *DeploymentRequest) GetDisableUserIndexes() bool

GetDisableUserIndexes returns the DisableUserIndexes field value if set, zero value otherwise.

func (*DeploymentRequest) GetDisableUserIndexesOk

func (o *DeploymentRequest) GetDisableUserIndexesOk() (*bool, bool)

GetDisableUserIndexesOk returns a tuple with the DisableUserIndexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetEnableTailscale

func (o *DeploymentRequest) GetEnableTailscale() bool

GetEnableTailscale returns the EnableTailscale field value if set, zero value otherwise.

func (*DeploymentRequest) GetEnableTailscaleOk

func (o *DeploymentRequest) GetEnableTailscaleOk() (*bool, bool)

GetEnableTailscaleOk returns a tuple with the EnableTailscale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetMaterializedExtraArgs

func (o *DeploymentRequest) GetMaterializedExtraArgs() []string

GetMaterializedExtraArgs returns the MaterializedExtraArgs field value if set, zero value otherwise.

func (*DeploymentRequest) GetMaterializedExtraArgsOk

func (o *DeploymentRequest) GetMaterializedExtraArgsOk() (*[]string, bool)

GetMaterializedExtraArgsOk returns a tuple with the MaterializedExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetMzVersion

func (o *DeploymentRequest) GetMzVersion() string

GetMzVersion returns the MzVersion field value if set, zero value otherwise.

func (*DeploymentRequest) GetMzVersionOk

func (o *DeploymentRequest) GetMzVersionOk() (*string, bool)

GetMzVersionOk returns a tuple with the MzVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetName

func (o *DeploymentRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentRequest) GetNameOk

func (o *DeploymentRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetReleaseTrack

func (o *DeploymentRequest) GetReleaseTrack() ReleaseTrackEnum

GetReleaseTrack returns the ReleaseTrack field value if set, zero value otherwise.

func (*DeploymentRequest) GetReleaseTrackOk

func (o *DeploymentRequest) GetReleaseTrackOk() (*ReleaseTrackEnum, bool)

GetReleaseTrackOk returns a tuple with the ReleaseTrack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetSize

GetSize returns the Size field value if set, zero value otherwise.

func (*DeploymentRequest) GetSizeOk

func (o *DeploymentRequest) GetSizeOk() (*DeploymentSizeEnum, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetStorageMb

func (o *DeploymentRequest) GetStorageMb() int32

GetStorageMb returns the StorageMb field value if set, zero value otherwise.

func (*DeploymentRequest) GetStorageMbOk

func (o *DeploymentRequest) GetStorageMbOk() (*int32, bool)

GetStorageMbOk returns a tuple with the StorageMb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) GetTailscaleAuthKey

func (o *DeploymentRequest) GetTailscaleAuthKey() string

GetTailscaleAuthKey returns the TailscaleAuthKey field value if set, zero value otherwise.

func (*DeploymentRequest) GetTailscaleAuthKeyOk

func (o *DeploymentRequest) GetTailscaleAuthKeyOk() (*string, bool)

GetTailscaleAuthKeyOk returns a tuple with the TailscaleAuthKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRequest) HasCatalogRestoreMode

func (o *DeploymentRequest) HasCatalogRestoreMode() bool

HasCatalogRestoreMode returns a boolean if a field has been set.

func (*DeploymentRequest) HasDisableUserIndexes

func (o *DeploymentRequest) HasDisableUserIndexes() bool

HasDisableUserIndexes returns a boolean if a field has been set.

func (*DeploymentRequest) HasEnableTailscale

func (o *DeploymentRequest) HasEnableTailscale() bool

HasEnableTailscale returns a boolean if a field has been set.

func (*DeploymentRequest) HasMaterializedExtraArgs

func (o *DeploymentRequest) HasMaterializedExtraArgs() bool

HasMaterializedExtraArgs returns a boolean if a field has been set.

func (*DeploymentRequest) HasMzVersion

func (o *DeploymentRequest) HasMzVersion() bool

HasMzVersion returns a boolean if a field has been set.

func (*DeploymentRequest) HasName

func (o *DeploymentRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentRequest) HasReleaseTrack

func (o *DeploymentRequest) HasReleaseTrack() bool

HasReleaseTrack returns a boolean if a field has been set.

func (*DeploymentRequest) HasSize

func (o *DeploymentRequest) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*DeploymentRequest) HasStorageMb

func (o *DeploymentRequest) HasStorageMb() bool

HasStorageMb returns a boolean if a field has been set.

func (*DeploymentRequest) HasTailscaleAuthKey

func (o *DeploymentRequest) HasTailscaleAuthKey() bool

HasTailscaleAuthKey returns a boolean if a field has been set.

func (DeploymentRequest) MarshalJSON

func (o DeploymentRequest) MarshalJSON() ([]byte, error)

func (*DeploymentRequest) SetCatalogRestoreMode

func (o *DeploymentRequest) SetCatalogRestoreMode(v bool)

SetCatalogRestoreMode gets a reference to the given bool and assigns it to the CatalogRestoreMode field.

func (*DeploymentRequest) SetCloudProviderRegion

func (o *DeploymentRequest) SetCloudProviderRegion(v SupportedCloudRegionRequest)

SetCloudProviderRegion sets field value

func (*DeploymentRequest) SetDisableUserIndexes

func (o *DeploymentRequest) SetDisableUserIndexes(v bool)

SetDisableUserIndexes gets a reference to the given bool and assigns it to the DisableUserIndexes field.

func (*DeploymentRequest) SetEnableTailscale

func (o *DeploymentRequest) SetEnableTailscale(v bool)

SetEnableTailscale gets a reference to the given bool and assigns it to the EnableTailscale field.

func (*DeploymentRequest) SetMaterializedExtraArgs

func (o *DeploymentRequest) SetMaterializedExtraArgs(v []string)

SetMaterializedExtraArgs gets a reference to the given []string and assigns it to the MaterializedExtraArgs field.

func (*DeploymentRequest) SetMzVersion

func (o *DeploymentRequest) SetMzVersion(v string)

SetMzVersion gets a reference to the given string and assigns it to the MzVersion field.

func (*DeploymentRequest) SetName

func (o *DeploymentRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentRequest) SetReleaseTrack

func (o *DeploymentRequest) SetReleaseTrack(v ReleaseTrackEnum)

SetReleaseTrack gets a reference to the given ReleaseTrackEnum and assigns it to the ReleaseTrack field.

func (*DeploymentRequest) SetSize

func (o *DeploymentRequest) SetSize(v DeploymentSizeEnum)

SetSize gets a reference to the given DeploymentSizeEnum and assigns it to the Size field.

func (*DeploymentRequest) SetStorageMb

func (o *DeploymentRequest) SetStorageMb(v int32)

SetStorageMb gets a reference to the given int32 and assigns it to the StorageMb field.

func (*DeploymentRequest) SetTailscaleAuthKey

func (o *DeploymentRequest) SetTailscaleAuthKey(v string)

SetTailscaleAuthKey gets a reference to the given string and assigns it to the TailscaleAuthKey field.

type DeploymentSizeEnum

type DeploymentSizeEnum string

DeploymentSizeEnum the model 'DeploymentSizeEnum'

const (
	XS DeploymentSizeEnum = "XS"
	S  DeploymentSizeEnum = "S"
	M  DeploymentSizeEnum = "M"
	L  DeploymentSizeEnum = "L"
	XL DeploymentSizeEnum = "XL"
)

List of DeploymentSizeEnum

func NewDeploymentSizeEnumFromValue

func NewDeploymentSizeEnumFromValue(v string) (*DeploymentSizeEnum, error)

NewDeploymentSizeEnumFromValue returns a pointer to a valid DeploymentSizeEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DeploymentSizeEnum) IsValid

func (v DeploymentSizeEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DeploymentSizeEnum) Ptr

Ptr returns reference to DeploymentSizeEnum value

func (*DeploymentSizeEnum) UnmarshalJSON

func (v *DeploymentSizeEnum) UnmarshalJSON(src []byte) error

type DeploymentsApiService

type DeploymentsApiService service

DeploymentsApiService DeploymentsApi service

func (*DeploymentsApiService) DeploymentsCertsRetrieve

  • DeploymentsCertsRetrieve Method for DeploymentsCertsRetrieve
  • Retrieve a TLS certificate bundle for a deployment.

The TLS certificate bundle is a ZIP file containing PEM and DER formatted keys that permit authenticating to the deployment as the `materialize` user.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @return ApiDeploymentsCertsRetrieveRequest

func (*DeploymentsApiService) DeploymentsCertsRetrieveExecute

func (a *DeploymentsApiService) DeploymentsCertsRetrieveExecute(r ApiDeploymentsCertsRetrieveRequest) (*os.File, *_nethttp.Response, error)

* Execute executes the request * @return *os.File

func (*DeploymentsApiService) DeploymentsChangesList

* DeploymentsChangesList Method for DeploymentsChangesList * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsChangesListRequest

func (*DeploymentsApiService) DeploymentsChangesListExecute

* Execute executes the request * @return []HistoricalDeploymentDelta

func (*DeploymentsApiService) DeploymentsCreate

* DeploymentsCreate Method for DeploymentsCreate * Create a new deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeploymentsCreateRequest

func (*DeploymentsApiService) DeploymentsCreateExecute

* Execute executes the request * @return Deployment

func (*DeploymentsApiService) DeploymentsDestroy

* DeploymentsDestroy Method for DeploymentsDestroy * Destroy a deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsDestroyRequest

func (*DeploymentsApiService) DeploymentsDestroyExecute

func (a *DeploymentsApiService) DeploymentsDestroyExecute(r ApiDeploymentsDestroyRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DeploymentsApiService) DeploymentsIpRetrieve

* DeploymentsIpRetrieve Method for DeploymentsIpRetrieve * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsIpRetrieveRequest

func (*DeploymentsApiService) DeploymentsIpRetrieveExecute

func (a *DeploymentsApiService) DeploymentsIpRetrieveExecute(r ApiDeploymentsIpRetrieveRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

func (*DeploymentsApiService) DeploymentsList

* DeploymentsList Method for DeploymentsList * List the available deployments. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiDeploymentsListRequest

func (*DeploymentsApiService) DeploymentsListExecute

* Execute executes the request * @return []Deployment

func (*DeploymentsApiService) DeploymentsLogsRetrieve

* DeploymentsLogsRetrieve Method for DeploymentsLogsRetrieve * Retrieve the logs for a deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsLogsRetrieveRequest

func (*DeploymentsApiService) DeploymentsLogsRetrieveExecute

func (a *DeploymentsApiService) DeploymentsLogsRetrieveExecute(r ApiDeploymentsLogsRetrieveRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

func (*DeploymentsApiService) DeploymentsMetricsCpuRetrieve

func (a *DeploymentsApiService) DeploymentsMetricsCpuRetrieve(ctx _context.Context, id string, period float32) ApiDeploymentsMetricsCpuRetrieveRequest

* DeploymentsMetricsCpuRetrieve Method for DeploymentsMetricsCpuRetrieve * Retrieve cpu line graph as a list of tuples (timestamps / utilization in %)) for a deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @param period * @return ApiDeploymentsMetricsCpuRetrieveRequest

func (*DeploymentsApiService) DeploymentsMetricsCpuRetrieveExecute

* Execute executes the request * @return PrometheusMetrics

func (*DeploymentsApiService) DeploymentsMetricsMemoryRetrieve

func (a *DeploymentsApiService) DeploymentsMetricsMemoryRetrieve(ctx _context.Context, id string, period float32) ApiDeploymentsMetricsMemoryRetrieveRequest

* DeploymentsMetricsMemoryRetrieve Method for DeploymentsMetricsMemoryRetrieve * Retrieve memory line graph data (as a list of tuples (timestamps / utilization in %)) for a deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @param period * @return ApiDeploymentsMetricsMemoryRetrieveRequest

func (*DeploymentsApiService) DeploymentsMetricsMemoryRetrieveExecute

* Execute executes the request * @return PrometheusMetrics

func (*DeploymentsApiService) DeploymentsPartialUpdate

* DeploymentsPartialUpdate Method for DeploymentsPartialUpdate * Partially update a deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsPartialUpdateRequest

func (*DeploymentsApiService) DeploymentsPartialUpdateExecute

* Execute executes the request * @return Deployment

func (*DeploymentsApiService) DeploymentsRetrieve

* DeploymentsRetrieve Method for DeploymentsRetrieve * Fetch details about a single deployment. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsRetrieveRequest

func (*DeploymentsApiService) DeploymentsRetrieveExecute

* Execute executes the request * @return Deployment

func (*DeploymentsApiService) DeploymentsSecretsCreate

func (a *DeploymentsApiService) DeploymentsSecretsCreate(ctx _context.Context, id string, secret string) ApiDeploymentsSecretsCreateRequest

* DeploymentsSecretsCreate Method for DeploymentsSecretsCreate * Insert/update a customer defined secret in the deployment * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @param secret * @return ApiDeploymentsSecretsCreateRequest

func (*DeploymentsApiService) DeploymentsSecretsCreateExecute

func (a *DeploymentsApiService) DeploymentsSecretsCreateExecute(r ApiDeploymentsSecretsCreateRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DeploymentsApiService) DeploymentsSecretsDestroy

func (a *DeploymentsApiService) DeploymentsSecretsDestroy(ctx _context.Context, id string, secret string) ApiDeploymentsSecretsDestroyRequest

* DeploymentsSecretsDestroy Method for DeploymentsSecretsDestroy * Delete a customer defined secret from the deployment * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @param secret * @return ApiDeploymentsSecretsDestroyRequest

func (*DeploymentsApiService) DeploymentsSecretsDestroyExecute

func (a *DeploymentsApiService) DeploymentsSecretsDestroyExecute(r ApiDeploymentsSecretsDestroyRequest) (*_nethttp.Response, error)

* Execute executes the request

func (*DeploymentsApiService) DeploymentsSecretsList

* DeploymentsSecretsList Method for DeploymentsSecretsList * List all customer defined secrets for the deployment * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsSecretsListRequest

func (*DeploymentsApiService) DeploymentsSecretsListExecute

func (a *DeploymentsApiService) DeploymentsSecretsListExecute(r ApiDeploymentsSecretsListRequest) ([]string, *_nethttp.Response, error)

* Execute executes the request * @return []string

func (*DeploymentsApiService) DeploymentsTailscaleLogsRetrieve

func (a *DeploymentsApiService) DeploymentsTailscaleLogsRetrieve(ctx _context.Context, id string) ApiDeploymentsTailscaleLogsRetrieveRequest

* DeploymentsTailscaleLogsRetrieve Method for DeploymentsTailscaleLogsRetrieve * Retrieve the logs for a Tailscale container. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id * @return ApiDeploymentsTailscaleLogsRetrieveRequest

func (*DeploymentsApiService) DeploymentsTailscaleLogsRetrieveExecute

func (a *DeploymentsApiService) DeploymentsTailscaleLogsRetrieveExecute(r ApiDeploymentsTailscaleLogsRetrieveRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HealthApiService

type HealthApiService service

HealthApiService HealthApi service

func (*HealthApiService) HealthRetrieve

  • HealthRetrieve Method for HealthRetrieve
  • Basic health check endpoint.

This endpoint always returns 200 OK. It is intended for use by load balancers and such that need a basic indication as to whether the server is live.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiHealthRetrieveRequest

func (*HealthApiService) HealthRetrieveExecute

func (a *HealthApiService) HealthRetrieveExecute(r ApiHealthRetrieveRequest) (*_nethttp.Response, error)

* Execute executes the request

type HistoricalDeploymentChange

type HistoricalDeploymentChange struct {
	Name                  *ModifiedString     `json:"name,omitempty"`
	Hostname              *ModifiedString     `json:"hostname,omitempty"`
	FlaggedForDeletion    *ModifiedBoolean    `json:"flaggedForDeletion,omitempty"`
	FlaggedForUpdate      *ModifiedBoolean    `json:"flaggedForUpdate,omitempty"`
	CatalogRestoreMode    *ModifiedBoolean    `json:"catalogRestoreMode,omitempty"`
	Size                  *ModifiedSize       `json:"size,omitempty"`
	DisableUserIndexes    *ModifiedBoolean    `json:"disableUserIndexes,omitempty"`
	MaterializedExtraArgs *ModifiedStringList `json:"materializedExtraArgs,omitempty"`
	ClusterId             *ModifiedString     `json:"clusterId,omitempty"`
	MzVersion             *ModifiedString     `json:"mzVersion,omitempty"`
	EnableTailscale       *ModifiedBoolean    `json:"enableTailscale,omitempty"`
}

HistoricalDeploymentChange struct for HistoricalDeploymentChange

func NewHistoricalDeploymentChange

func NewHistoricalDeploymentChange() *HistoricalDeploymentChange

NewHistoricalDeploymentChange instantiates a new HistoricalDeploymentChange 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

func NewHistoricalDeploymentChangeWithDefaults

func NewHistoricalDeploymentChangeWithDefaults() *HistoricalDeploymentChange

NewHistoricalDeploymentChangeWithDefaults instantiates a new HistoricalDeploymentChange 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

func (*HistoricalDeploymentChange) GetCatalogRestoreMode

func (o *HistoricalDeploymentChange) GetCatalogRestoreMode() ModifiedBoolean

GetCatalogRestoreMode returns the CatalogRestoreMode field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetCatalogRestoreModeOk

func (o *HistoricalDeploymentChange) GetCatalogRestoreModeOk() (*ModifiedBoolean, bool)

GetCatalogRestoreModeOk returns a tuple with the CatalogRestoreMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetClusterId

func (o *HistoricalDeploymentChange) GetClusterId() ModifiedString

GetClusterId returns the ClusterId field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetClusterIdOk

func (o *HistoricalDeploymentChange) GetClusterIdOk() (*ModifiedString, bool)

GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetDisableUserIndexes

func (o *HistoricalDeploymentChange) GetDisableUserIndexes() ModifiedBoolean

GetDisableUserIndexes returns the DisableUserIndexes field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetDisableUserIndexesOk

func (o *HistoricalDeploymentChange) GetDisableUserIndexesOk() (*ModifiedBoolean, bool)

GetDisableUserIndexesOk returns a tuple with the DisableUserIndexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetEnableTailscale

func (o *HistoricalDeploymentChange) GetEnableTailscale() ModifiedBoolean

GetEnableTailscale returns the EnableTailscale field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetEnableTailscaleOk

func (o *HistoricalDeploymentChange) GetEnableTailscaleOk() (*ModifiedBoolean, bool)

GetEnableTailscaleOk returns a tuple with the EnableTailscale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetFlaggedForDeletion

func (o *HistoricalDeploymentChange) GetFlaggedForDeletion() ModifiedBoolean

GetFlaggedForDeletion returns the FlaggedForDeletion field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetFlaggedForDeletionOk

func (o *HistoricalDeploymentChange) GetFlaggedForDeletionOk() (*ModifiedBoolean, bool)

GetFlaggedForDeletionOk returns a tuple with the FlaggedForDeletion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetFlaggedForUpdate

func (o *HistoricalDeploymentChange) GetFlaggedForUpdate() ModifiedBoolean

GetFlaggedForUpdate returns the FlaggedForUpdate field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetFlaggedForUpdateOk

func (o *HistoricalDeploymentChange) GetFlaggedForUpdateOk() (*ModifiedBoolean, bool)

GetFlaggedForUpdateOk returns a tuple with the FlaggedForUpdate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetHostname

func (o *HistoricalDeploymentChange) GetHostname() ModifiedString

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetHostnameOk

func (o *HistoricalDeploymentChange) GetHostnameOk() (*ModifiedString, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetMaterializedExtraArgs

func (o *HistoricalDeploymentChange) GetMaterializedExtraArgs() ModifiedStringList

GetMaterializedExtraArgs returns the MaterializedExtraArgs field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetMaterializedExtraArgsOk

func (o *HistoricalDeploymentChange) GetMaterializedExtraArgsOk() (*ModifiedStringList, bool)

GetMaterializedExtraArgsOk returns a tuple with the MaterializedExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetMzVersion

func (o *HistoricalDeploymentChange) GetMzVersion() ModifiedString

GetMzVersion returns the MzVersion field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetMzVersionOk

func (o *HistoricalDeploymentChange) GetMzVersionOk() (*ModifiedString, bool)

GetMzVersionOk returns a tuple with the MzVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetNameOk

func (o *HistoricalDeploymentChange) GetNameOk() (*ModifiedString, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) GetSize

GetSize returns the Size field value if set, zero value otherwise.

func (*HistoricalDeploymentChange) GetSizeOk

func (o *HistoricalDeploymentChange) GetSizeOk() (*ModifiedSize, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HistoricalDeploymentChange) HasCatalogRestoreMode

func (o *HistoricalDeploymentChange) HasCatalogRestoreMode() bool

HasCatalogRestoreMode returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasClusterId

func (o *HistoricalDeploymentChange) HasClusterId() bool

HasClusterId returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasDisableUserIndexes

func (o *HistoricalDeploymentChange) HasDisableUserIndexes() bool

HasDisableUserIndexes returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasEnableTailscale

func (o *HistoricalDeploymentChange) HasEnableTailscale() bool

HasEnableTailscale returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasFlaggedForDeletion

func (o *HistoricalDeploymentChange) HasFlaggedForDeletion() bool

HasFlaggedForDeletion returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasFlaggedForUpdate

func (o *HistoricalDeploymentChange) HasFlaggedForUpdate() bool

HasFlaggedForUpdate returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasHostname

func (o *HistoricalDeploymentChange) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasMaterializedExtraArgs

func (o *HistoricalDeploymentChange) HasMaterializedExtraArgs() bool

HasMaterializedExtraArgs returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasMzVersion

func (o *HistoricalDeploymentChange) HasMzVersion() bool

HasMzVersion returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasName

func (o *HistoricalDeploymentChange) HasName() bool

HasName returns a boolean if a field has been set.

func (*HistoricalDeploymentChange) HasSize

func (o *HistoricalDeploymentChange) HasSize() bool

HasSize returns a boolean if a field has been set.

func (HistoricalDeploymentChange) MarshalJSON

func (o HistoricalDeploymentChange) MarshalJSON() ([]byte, error)

func (*HistoricalDeploymentChange) SetCatalogRestoreMode

func (o *HistoricalDeploymentChange) SetCatalogRestoreMode(v ModifiedBoolean)

SetCatalogRestoreMode gets a reference to the given ModifiedBoolean and assigns it to the CatalogRestoreMode field.

func (*HistoricalDeploymentChange) SetClusterId

func (o *HistoricalDeploymentChange) SetClusterId(v ModifiedString)

SetClusterId gets a reference to the given ModifiedString and assigns it to the ClusterId field.

func (*HistoricalDeploymentChange) SetDisableUserIndexes

func (o *HistoricalDeploymentChange) SetDisableUserIndexes(v ModifiedBoolean)

SetDisableUserIndexes gets a reference to the given ModifiedBoolean and assigns it to the DisableUserIndexes field.

func (*HistoricalDeploymentChange) SetEnableTailscale

func (o *HistoricalDeploymentChange) SetEnableTailscale(v ModifiedBoolean)

SetEnableTailscale gets a reference to the given ModifiedBoolean and assigns it to the EnableTailscale field.

func (*HistoricalDeploymentChange) SetFlaggedForDeletion

func (o *HistoricalDeploymentChange) SetFlaggedForDeletion(v ModifiedBoolean)

SetFlaggedForDeletion gets a reference to the given ModifiedBoolean and assigns it to the FlaggedForDeletion field.

func (*HistoricalDeploymentChange) SetFlaggedForUpdate

func (o *HistoricalDeploymentChange) SetFlaggedForUpdate(v ModifiedBoolean)

SetFlaggedForUpdate gets a reference to the given ModifiedBoolean and assigns it to the FlaggedForUpdate field.

func (*HistoricalDeploymentChange) SetHostname

func (o *HistoricalDeploymentChange) SetHostname(v ModifiedString)

SetHostname gets a reference to the given ModifiedString and assigns it to the Hostname field.

func (*HistoricalDeploymentChange) SetMaterializedExtraArgs

func (o *HistoricalDeploymentChange) SetMaterializedExtraArgs(v ModifiedStringList)

SetMaterializedExtraArgs gets a reference to the given ModifiedStringList and assigns it to the MaterializedExtraArgs field.

func (*HistoricalDeploymentChange) SetMzVersion

func (o *HistoricalDeploymentChange) SetMzVersion(v ModifiedString)

SetMzVersion gets a reference to the given ModifiedString and assigns it to the MzVersion field.

func (*HistoricalDeploymentChange) SetName

SetName gets a reference to the given ModifiedString and assigns it to the Name field.

func (*HistoricalDeploymentChange) SetSize

SetSize gets a reference to the given ModifiedSize and assigns it to the Size field.

type HistoricalDeploymentDelta

type HistoricalDeploymentDelta struct {
	Changes  HistoricalDeploymentChange   `json:"changes"`
	Metadata HistoricalDeploymentMetadata `json:"metadata"`
}

HistoricalDeploymentDelta struct for HistoricalDeploymentDelta

func NewHistoricalDeploymentDelta

func NewHistoricalDeploymentDelta(changes HistoricalDeploymentChange, metadata HistoricalDeploymentMetadata) *HistoricalDeploymentDelta

NewHistoricalDeploymentDelta instantiates a new HistoricalDeploymentDelta 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

func NewHistoricalDeploymentDeltaWithDefaults

func NewHistoricalDeploymentDeltaWithDefaults() *HistoricalDeploymentDelta

NewHistoricalDeploymentDeltaWithDefaults instantiates a new HistoricalDeploymentDelta 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

func (*HistoricalDeploymentDelta) GetChanges

GetChanges returns the Changes field value

func (*HistoricalDeploymentDelta) GetChangesOk

GetChangesOk returns a tuple with the Changes field value and a boolean to check if the value has been set.

func (*HistoricalDeploymentDelta) GetMetadata

GetMetadata returns the Metadata field value

func (*HistoricalDeploymentDelta) GetMetadataOk

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set.

func (HistoricalDeploymentDelta) MarshalJSON

func (o HistoricalDeploymentDelta) MarshalJSON() ([]byte, error)

func (*HistoricalDeploymentDelta) SetChanges

SetChanges sets field value

func (*HistoricalDeploymentDelta) SetMetadata

SetMetadata sets field value

type HistoricalDeploymentMetadata

type HistoricalDeploymentMetadata struct {
	Date      time.Time     `json:"date"`
	User      string        `json:"user"`
	Operation OperationEnum `json:"operation"`
}

HistoricalDeploymentMetadata struct for HistoricalDeploymentMetadata

func NewHistoricalDeploymentMetadata

func NewHistoricalDeploymentMetadata(date time.Time, user string, operation OperationEnum) *HistoricalDeploymentMetadata

NewHistoricalDeploymentMetadata instantiates a new HistoricalDeploymentMetadata 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

func NewHistoricalDeploymentMetadataWithDefaults

func NewHistoricalDeploymentMetadataWithDefaults() *HistoricalDeploymentMetadata

NewHistoricalDeploymentMetadataWithDefaults instantiates a new HistoricalDeploymentMetadata 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

func (*HistoricalDeploymentMetadata) GetDate

func (o *HistoricalDeploymentMetadata) GetDate() time.Time

GetDate returns the Date field value

func (*HistoricalDeploymentMetadata) GetDateOk

func (o *HistoricalDeploymentMetadata) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.

func (*HistoricalDeploymentMetadata) GetOperation

func (o *HistoricalDeploymentMetadata) GetOperation() OperationEnum

GetOperation returns the Operation field value

func (*HistoricalDeploymentMetadata) GetOperationOk

func (o *HistoricalDeploymentMetadata) GetOperationOk() (*OperationEnum, bool)

GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.

func (*HistoricalDeploymentMetadata) GetUser

func (o *HistoricalDeploymentMetadata) GetUser() string

GetUser returns the User field value

func (*HistoricalDeploymentMetadata) GetUserOk

func (o *HistoricalDeploymentMetadata) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.

func (HistoricalDeploymentMetadata) MarshalJSON

func (o HistoricalDeploymentMetadata) MarshalJSON() ([]byte, error)

func (*HistoricalDeploymentMetadata) SetDate

func (o *HistoricalDeploymentMetadata) SetDate(v time.Time)

SetDate sets field value

func (*HistoricalDeploymentMetadata) SetOperation

func (o *HistoricalDeploymentMetadata) SetOperation(v OperationEnum)

SetOperation sets field value

func (*HistoricalDeploymentMetadata) SetUser

func (o *HistoricalDeploymentMetadata) SetUser(v string)

SetUser sets field value

type ModifiedBoolean

type ModifiedBoolean struct {
	Old NullableBool `json:"old"`
	New NullableBool `json:"new"`
}

ModifiedBoolean struct for ModifiedBoolean

func NewModifiedBoolean

func NewModifiedBoolean(old NullableBool, new NullableBool) *ModifiedBoolean

NewModifiedBoolean instantiates a new ModifiedBoolean 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

func NewModifiedBooleanWithDefaults

func NewModifiedBooleanWithDefaults() *ModifiedBoolean

NewModifiedBooleanWithDefaults instantiates a new ModifiedBoolean 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

func (*ModifiedBoolean) GetNew

func (o *ModifiedBoolean) GetNew() bool

GetNew returns the New field value If the value is explicit nil, the zero value for bool will be returned

func (*ModifiedBoolean) GetNewOk

func (o *ModifiedBoolean) GetNewOk() (*bool, bool)

GetNewOk returns a tuple with the New field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ModifiedBoolean) GetOld

func (o *ModifiedBoolean) GetOld() bool

GetOld returns the Old field value If the value is explicit nil, the zero value for bool will be returned

func (*ModifiedBoolean) GetOldOk

func (o *ModifiedBoolean) GetOldOk() (*bool, bool)

GetOldOk returns a tuple with the Old field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (ModifiedBoolean) MarshalJSON

func (o ModifiedBoolean) MarshalJSON() ([]byte, error)

func (*ModifiedBoolean) SetNew

func (o *ModifiedBoolean) SetNew(v bool)

SetNew sets field value

func (*ModifiedBoolean) SetOld

func (o *ModifiedBoolean) SetOld(v bool)

SetOld sets field value

type ModifiedSize

type ModifiedSize struct {
	Old DeploymentSizeEnum `json:"old"`
	New DeploymentSizeEnum `json:"new"`
}

ModifiedSize struct for ModifiedSize

func NewModifiedSize

func NewModifiedSize(old DeploymentSizeEnum, new DeploymentSizeEnum) *ModifiedSize

NewModifiedSize instantiates a new ModifiedSize 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

func NewModifiedSizeWithDefaults

func NewModifiedSizeWithDefaults() *ModifiedSize

NewModifiedSizeWithDefaults instantiates a new ModifiedSize 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

func (*ModifiedSize) GetNew

func (o *ModifiedSize) GetNew() DeploymentSizeEnum

GetNew returns the New field value

func (*ModifiedSize) GetNewOk

func (o *ModifiedSize) GetNewOk() (*DeploymentSizeEnum, bool)

GetNewOk returns a tuple with the New field value and a boolean to check if the value has been set.

func (*ModifiedSize) GetOld

func (o *ModifiedSize) GetOld() DeploymentSizeEnum

GetOld returns the Old field value

func (*ModifiedSize) GetOldOk

func (o *ModifiedSize) GetOldOk() (*DeploymentSizeEnum, bool)

GetOldOk returns a tuple with the Old field value and a boolean to check if the value has been set.

func (ModifiedSize) MarshalJSON

func (o ModifiedSize) MarshalJSON() ([]byte, error)

func (*ModifiedSize) SetNew

func (o *ModifiedSize) SetNew(v DeploymentSizeEnum)

SetNew sets field value

func (*ModifiedSize) SetOld

func (o *ModifiedSize) SetOld(v DeploymentSizeEnum)

SetOld sets field value

type ModifiedString

type ModifiedString struct {
	Old NullableString `json:"old"`
	New NullableString `json:"new"`
}

ModifiedString struct for ModifiedString

func NewModifiedString

func NewModifiedString(old NullableString, new NullableString) *ModifiedString

NewModifiedString instantiates a new ModifiedString 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

func NewModifiedStringWithDefaults

func NewModifiedStringWithDefaults() *ModifiedString

NewModifiedStringWithDefaults instantiates a new ModifiedString 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

func (*ModifiedString) GetNew

func (o *ModifiedString) GetNew() string

GetNew returns the New field value If the value is explicit nil, the zero value for string will be returned

func (*ModifiedString) GetNewOk

func (o *ModifiedString) GetNewOk() (*string, bool)

GetNewOk returns a tuple with the New field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ModifiedString) GetOld

func (o *ModifiedString) GetOld() string

GetOld returns the Old field value If the value is explicit nil, the zero value for string will be returned

func (*ModifiedString) GetOldOk

func (o *ModifiedString) GetOldOk() (*string, bool)

GetOldOk returns a tuple with the Old field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (ModifiedString) MarshalJSON

func (o ModifiedString) MarshalJSON() ([]byte, error)

func (*ModifiedString) SetNew

func (o *ModifiedString) SetNew(v string)

SetNew sets field value

func (*ModifiedString) SetOld

func (o *ModifiedString) SetOld(v string)

SetOld sets field value

type ModifiedStringList

type ModifiedStringList struct {
	Old []string `json:"old"`
	New []string `json:"new"`
}

ModifiedStringList struct for ModifiedStringList

func NewModifiedStringList

func NewModifiedStringList(old []string, new []string) *ModifiedStringList

NewModifiedStringList instantiates a new ModifiedStringList 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

func NewModifiedStringListWithDefaults

func NewModifiedStringListWithDefaults() *ModifiedStringList

NewModifiedStringListWithDefaults instantiates a new ModifiedStringList 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

func (*ModifiedStringList) GetNew

func (o *ModifiedStringList) GetNew() []string

GetNew returns the New field value

func (*ModifiedStringList) GetNewOk

func (o *ModifiedStringList) GetNewOk() (*[]string, bool)

GetNewOk returns a tuple with the New field value and a boolean to check if the value has been set.

func (*ModifiedStringList) GetOld

func (o *ModifiedStringList) GetOld() []string

GetOld returns the Old field value

func (*ModifiedStringList) GetOldOk

func (o *ModifiedStringList) GetOldOk() (*[]string, bool)

GetOldOk returns a tuple with the Old field value and a boolean to check if the value has been set.

func (ModifiedStringList) MarshalJSON

func (o ModifiedStringList) MarshalJSON() ([]byte, error)

func (*ModifiedStringList) SetNew

func (o *ModifiedStringList) SetNew(v []string)

SetNew sets field value

func (*ModifiedStringList) SetOld

func (o *ModifiedStringList) SetOld(v []string)

SetOld sets field value

type MzVersionsApiService

type MzVersionsApiService service

MzVersionsApiService MzVersionsApi service

func (*MzVersionsApiService) MzVersionsLatestRetrieve

* MzVersionsLatestRetrieve Method for MzVersionsLatestRetrieve * Returns the latest version of Materialize. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiMzVersionsLatestRetrieveRequest

func (*MzVersionsApiService) MzVersionsLatestRetrieveExecute

func (a *MzVersionsApiService) MzVersionsLatestRetrieveExecute(r ApiMzVersionsLatestRetrieveRequest) (string, *_nethttp.Response, error)

* Execute executes the request * @return string

func (*MzVersionsApiService) MzVersionsList

  • MzVersionsList Method for MzVersionsList
  • List the versions of Materialize known to Materialize Cloud.

Versions are listed in order from oldest to newest.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiMzVersionsListRequest

func (*MzVersionsApiService) MzVersionsListExecute

func (a *MzVersionsApiService) MzVersionsListExecute(r ApiMzVersionsListRequest) ([]string, *_nethttp.Response, error)

* Execute executes the request * @return []string

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableDeployment

type NullableDeployment struct {
	// contains filtered or unexported fields
}

func NewNullableDeployment

func NewNullableDeployment(val *Deployment) *NullableDeployment

func (NullableDeployment) Get

func (v NullableDeployment) Get() *Deployment

func (NullableDeployment) IsSet

func (v NullableDeployment) IsSet() bool

func (NullableDeployment) MarshalJSON

func (v NullableDeployment) MarshalJSON() ([]byte, error)

func (*NullableDeployment) Set

func (v *NullableDeployment) Set(val *Deployment)

func (*NullableDeployment) UnmarshalJSON

func (v *NullableDeployment) UnmarshalJSON(src []byte) error

func (*NullableDeployment) Unset

func (v *NullableDeployment) Unset()

type NullableDeploymentRequest

type NullableDeploymentRequest struct {
	// contains filtered or unexported fields
}

func NewNullableDeploymentRequest

func NewNullableDeploymentRequest(val *DeploymentRequest) *NullableDeploymentRequest

func (NullableDeploymentRequest) Get

func (NullableDeploymentRequest) IsSet

func (v NullableDeploymentRequest) IsSet() bool

func (NullableDeploymentRequest) MarshalJSON

func (v NullableDeploymentRequest) MarshalJSON() ([]byte, error)

func (*NullableDeploymentRequest) Set

func (*NullableDeploymentRequest) UnmarshalJSON

func (v *NullableDeploymentRequest) UnmarshalJSON(src []byte) error

func (*NullableDeploymentRequest) Unset

func (v *NullableDeploymentRequest) Unset()

type NullableDeploymentSizeEnum

type NullableDeploymentSizeEnum struct {
	// contains filtered or unexported fields
}

func NewNullableDeploymentSizeEnum

func NewNullableDeploymentSizeEnum(val *DeploymentSizeEnum) *NullableDeploymentSizeEnum

func (NullableDeploymentSizeEnum) Get

func (NullableDeploymentSizeEnum) IsSet

func (v NullableDeploymentSizeEnum) IsSet() bool

func (NullableDeploymentSizeEnum) MarshalJSON

func (v NullableDeploymentSizeEnum) MarshalJSON() ([]byte, error)

func (*NullableDeploymentSizeEnum) Set

func (*NullableDeploymentSizeEnum) UnmarshalJSON

func (v *NullableDeploymentSizeEnum) UnmarshalJSON(src []byte) error

func (*NullableDeploymentSizeEnum) Unset

func (v *NullableDeploymentSizeEnum) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHistoricalDeploymentChange

type NullableHistoricalDeploymentChange struct {
	// contains filtered or unexported fields
}

func (NullableHistoricalDeploymentChange) Get

func (NullableHistoricalDeploymentChange) IsSet

func (NullableHistoricalDeploymentChange) MarshalJSON

func (v NullableHistoricalDeploymentChange) MarshalJSON() ([]byte, error)

func (*NullableHistoricalDeploymentChange) Set

func (*NullableHistoricalDeploymentChange) UnmarshalJSON

func (v *NullableHistoricalDeploymentChange) UnmarshalJSON(src []byte) error

func (*NullableHistoricalDeploymentChange) Unset

type NullableHistoricalDeploymentDelta

type NullableHistoricalDeploymentDelta struct {
	// contains filtered or unexported fields
}

func (NullableHistoricalDeploymentDelta) Get

func (NullableHistoricalDeploymentDelta) IsSet

func (NullableHistoricalDeploymentDelta) MarshalJSON

func (v NullableHistoricalDeploymentDelta) MarshalJSON() ([]byte, error)

func (*NullableHistoricalDeploymentDelta) Set

func (*NullableHistoricalDeploymentDelta) UnmarshalJSON

func (v *NullableHistoricalDeploymentDelta) UnmarshalJSON(src []byte) error

func (*NullableHistoricalDeploymentDelta) Unset

type NullableHistoricalDeploymentMetadata

type NullableHistoricalDeploymentMetadata struct {
	// contains filtered or unexported fields
}

func (NullableHistoricalDeploymentMetadata) Get

func (NullableHistoricalDeploymentMetadata) IsSet

func (NullableHistoricalDeploymentMetadata) MarshalJSON

func (v NullableHistoricalDeploymentMetadata) MarshalJSON() ([]byte, error)

func (*NullableHistoricalDeploymentMetadata) Set

func (*NullableHistoricalDeploymentMetadata) UnmarshalJSON

func (v *NullableHistoricalDeploymentMetadata) UnmarshalJSON(src []byte) error

func (*NullableHistoricalDeploymentMetadata) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableModifiedBoolean

type NullableModifiedBoolean struct {
	// contains filtered or unexported fields
}

func NewNullableModifiedBoolean

func NewNullableModifiedBoolean(val *ModifiedBoolean) *NullableModifiedBoolean

func (NullableModifiedBoolean) Get

func (NullableModifiedBoolean) IsSet

func (v NullableModifiedBoolean) IsSet() bool

func (NullableModifiedBoolean) MarshalJSON

func (v NullableModifiedBoolean) MarshalJSON() ([]byte, error)

func (*NullableModifiedBoolean) Set

func (*NullableModifiedBoolean) UnmarshalJSON

func (v *NullableModifiedBoolean) UnmarshalJSON(src []byte) error

func (*NullableModifiedBoolean) Unset

func (v *NullableModifiedBoolean) Unset()

type NullableModifiedSize

type NullableModifiedSize struct {
	// contains filtered or unexported fields
}

func NewNullableModifiedSize

func NewNullableModifiedSize(val *ModifiedSize) *NullableModifiedSize

func (NullableModifiedSize) Get

func (NullableModifiedSize) IsSet

func (v NullableModifiedSize) IsSet() bool

func (NullableModifiedSize) MarshalJSON

func (v NullableModifiedSize) MarshalJSON() ([]byte, error)

func (*NullableModifiedSize) Set

func (v *NullableModifiedSize) Set(val *ModifiedSize)

func (*NullableModifiedSize) UnmarshalJSON

func (v *NullableModifiedSize) UnmarshalJSON(src []byte) error

func (*NullableModifiedSize) Unset

func (v *NullableModifiedSize) Unset()

type NullableModifiedString

type NullableModifiedString struct {
	// contains filtered or unexported fields
}

func NewNullableModifiedString

func NewNullableModifiedString(val *ModifiedString) *NullableModifiedString

func (NullableModifiedString) Get

func (NullableModifiedString) IsSet

func (v NullableModifiedString) IsSet() bool

func (NullableModifiedString) MarshalJSON

func (v NullableModifiedString) MarshalJSON() ([]byte, error)

func (*NullableModifiedString) Set

func (*NullableModifiedString) UnmarshalJSON

func (v *NullableModifiedString) UnmarshalJSON(src []byte) error

func (*NullableModifiedString) Unset

func (v *NullableModifiedString) Unset()

type NullableModifiedStringList

type NullableModifiedStringList struct {
	// contains filtered or unexported fields
}

func NewNullableModifiedStringList

func NewNullableModifiedStringList(val *ModifiedStringList) *NullableModifiedStringList

func (NullableModifiedStringList) Get

func (NullableModifiedStringList) IsSet

func (v NullableModifiedStringList) IsSet() bool

func (NullableModifiedStringList) MarshalJSON

func (v NullableModifiedStringList) MarshalJSON() ([]byte, error)

func (*NullableModifiedStringList) Set

func (*NullableModifiedStringList) UnmarshalJSON

func (v *NullableModifiedStringList) UnmarshalJSON(src []byte) error

func (*NullableModifiedStringList) Unset

func (v *NullableModifiedStringList) Unset()

type NullableOperationEnum

type NullableOperationEnum struct {
	// contains filtered or unexported fields
}

func NewNullableOperationEnum

func NewNullableOperationEnum(val *OperationEnum) *NullableOperationEnum

func (NullableOperationEnum) Get

func (NullableOperationEnum) IsSet

func (v NullableOperationEnum) IsSet() bool

func (NullableOperationEnum) MarshalJSON

func (v NullableOperationEnum) MarshalJSON() ([]byte, error)

func (*NullableOperationEnum) Set

func (v *NullableOperationEnum) Set(val *OperationEnum)

func (*NullableOperationEnum) UnmarshalJSON

func (v *NullableOperationEnum) UnmarshalJSON(src []byte) error

func (*NullableOperationEnum) Unset

func (v *NullableOperationEnum) Unset()

type NullableOrganization

type NullableOrganization struct {
	// contains filtered or unexported fields
}

func NewNullableOrganization

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get

func (NullableOrganization) IsSet

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON

func (v NullableOrganization) MarshalJSON() ([]byte, error)

func (*NullableOrganization) Set

func (v *NullableOrganization) Set(val *Organization)

func (*NullableOrganization) UnmarshalJSON

func (v *NullableOrganization) UnmarshalJSON(src []byte) error

func (*NullableOrganization) Unset

func (v *NullableOrganization) Unset()

type NullablePatchedDeploymentUpdateRequest

type NullablePatchedDeploymentUpdateRequest struct {
	// contains filtered or unexported fields
}

func (NullablePatchedDeploymentUpdateRequest) Get

func (NullablePatchedDeploymentUpdateRequest) IsSet

func (NullablePatchedDeploymentUpdateRequest) MarshalJSON

func (v NullablePatchedDeploymentUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullablePatchedDeploymentUpdateRequest) Set

func (*NullablePatchedDeploymentUpdateRequest) UnmarshalJSON

func (v *NullablePatchedDeploymentUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullablePatchedDeploymentUpdateRequest) Unset

type NullablePrometheusMetric

type NullablePrometheusMetric struct {
	// contains filtered or unexported fields
}

func NewNullablePrometheusMetric

func NewNullablePrometheusMetric(val *PrometheusMetric) *NullablePrometheusMetric

func (NullablePrometheusMetric) Get

func (NullablePrometheusMetric) IsSet

func (v NullablePrometheusMetric) IsSet() bool

func (NullablePrometheusMetric) MarshalJSON

func (v NullablePrometheusMetric) MarshalJSON() ([]byte, error)

func (*NullablePrometheusMetric) Set

func (*NullablePrometheusMetric) UnmarshalJSON

func (v *NullablePrometheusMetric) UnmarshalJSON(src []byte) error

func (*NullablePrometheusMetric) Unset

func (v *NullablePrometheusMetric) Unset()

type NullablePrometheusMetrics

type NullablePrometheusMetrics struct {
	// contains filtered or unexported fields
}

func NewNullablePrometheusMetrics

func NewNullablePrometheusMetrics(val *PrometheusMetrics) *NullablePrometheusMetrics

func (NullablePrometheusMetrics) Get

func (NullablePrometheusMetrics) IsSet

func (v NullablePrometheusMetrics) IsSet() bool

func (NullablePrometheusMetrics) MarshalJSON

func (v NullablePrometheusMetrics) MarshalJSON() ([]byte, error)

func (*NullablePrometheusMetrics) Set

func (*NullablePrometheusMetrics) UnmarshalJSON

func (v *NullablePrometheusMetrics) UnmarshalJSON(src []byte) error

func (*NullablePrometheusMetrics) Unset

func (v *NullablePrometheusMetrics) Unset()

type NullableProviderEnum

type NullableProviderEnum struct {
	// contains filtered or unexported fields
}

func NewNullableProviderEnum

func NewNullableProviderEnum(val *ProviderEnum) *NullableProviderEnum

func (NullableProviderEnum) Get

func (NullableProviderEnum) IsSet

func (v NullableProviderEnum) IsSet() bool

func (NullableProviderEnum) MarshalJSON

func (v NullableProviderEnum) MarshalJSON() ([]byte, error)

func (*NullableProviderEnum) Set

func (v *NullableProviderEnum) Set(val *ProviderEnum)

func (*NullableProviderEnum) UnmarshalJSON

func (v *NullableProviderEnum) UnmarshalJSON(src []byte) error

func (*NullableProviderEnum) Unset

func (v *NullableProviderEnum) Unset()

type NullableReleaseTrackEnum

type NullableReleaseTrackEnum struct {
	// contains filtered or unexported fields
}

func NewNullableReleaseTrackEnum

func NewNullableReleaseTrackEnum(val *ReleaseTrackEnum) *NullableReleaseTrackEnum

func (NullableReleaseTrackEnum) Get

func (NullableReleaseTrackEnum) IsSet

func (v NullableReleaseTrackEnum) IsSet() bool

func (NullableReleaseTrackEnum) MarshalJSON

func (v NullableReleaseTrackEnum) MarshalJSON() ([]byte, error)

func (*NullableReleaseTrackEnum) Set

func (*NullableReleaseTrackEnum) UnmarshalJSON

func (v *NullableReleaseTrackEnum) UnmarshalJSON(src []byte) error

func (*NullableReleaseTrackEnum) Unset

func (v *NullableReleaseTrackEnum) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableSupportedCloudRegion

type NullableSupportedCloudRegion struct {
	// contains filtered or unexported fields
}

func NewNullableSupportedCloudRegion

func NewNullableSupportedCloudRegion(val *SupportedCloudRegion) *NullableSupportedCloudRegion

func (NullableSupportedCloudRegion) Get

func (NullableSupportedCloudRegion) IsSet

func (NullableSupportedCloudRegion) MarshalJSON

func (v NullableSupportedCloudRegion) MarshalJSON() ([]byte, error)

func (*NullableSupportedCloudRegion) Set

func (*NullableSupportedCloudRegion) UnmarshalJSON

func (v *NullableSupportedCloudRegion) UnmarshalJSON(src []byte) error

func (*NullableSupportedCloudRegion) Unset

func (v *NullableSupportedCloudRegion) Unset()

type NullableSupportedCloudRegionRequest

type NullableSupportedCloudRegionRequest struct {
	// contains filtered or unexported fields
}

func (NullableSupportedCloudRegionRequest) Get

func (NullableSupportedCloudRegionRequest) IsSet

func (NullableSupportedCloudRegionRequest) MarshalJSON

func (v NullableSupportedCloudRegionRequest) MarshalJSON() ([]byte, error)

func (*NullableSupportedCloudRegionRequest) Set

func (*NullableSupportedCloudRegionRequest) UnmarshalJSON

func (v *NullableSupportedCloudRegionRequest) UnmarshalJSON(src []byte) error

func (*NullableSupportedCloudRegionRequest) Unset

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type OperationEnum

type OperationEnum string

OperationEnum the model 'OperationEnum'

const (
	CREATE OperationEnum = "CREATE"
	UPDATE OperationEnum = "UPDATE"
	DELETE OperationEnum = "DELETE"
)

List of OperationEnum

func NewOperationEnumFromValue

func NewOperationEnumFromValue(v string) (*OperationEnum, error)

NewOperationEnumFromValue returns a pointer to a valid OperationEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (OperationEnum) IsValid

func (v OperationEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (OperationEnum) Ptr

func (v OperationEnum) Ptr() *OperationEnum

Ptr returns reference to OperationEnum value

func (*OperationEnum) UnmarshalJSON

func (v *OperationEnum) UnmarshalJSON(src []byte) error

type Organization

type Organization struct {
	Id              string `json:"id"`
	DeploymentLimit int32  `json:"deploymentLimit"`
	// When this organization's trial period expires. If empty, the organization is on an enterprise plan.
	TrialExpiresAt NullableTime `json:"trialExpiresAt"`
}

Organization struct for Organization

func NewOrganization

func NewOrganization(id string, deploymentLimit int32, trialExpiresAt NullableTime) *Organization

NewOrganization instantiates a new Organization 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

func NewOrganizationWithDefaults

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization 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

func (*Organization) GetDeploymentLimit

func (o *Organization) GetDeploymentLimit() int32

GetDeploymentLimit returns the DeploymentLimit field value

func (*Organization) GetDeploymentLimitOk

func (o *Organization) GetDeploymentLimitOk() (*int32, bool)

GetDeploymentLimitOk returns a tuple with the DeploymentLimit field value and a boolean to check if the value has been set.

func (*Organization) GetId

func (o *Organization) GetId() string

GetId returns the Id field value

func (*Organization) GetIdOk

func (o *Organization) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Organization) GetTrialExpiresAt

func (o *Organization) GetTrialExpiresAt() time.Time

GetTrialExpiresAt returns the TrialExpiresAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Organization) GetTrialExpiresAtOk

func (o *Organization) GetTrialExpiresAtOk() (*time.Time, bool)

GetTrialExpiresAtOk returns a tuple with the TrialExpiresAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (Organization) MarshalJSON

func (o Organization) MarshalJSON() ([]byte, error)

func (*Organization) SetDeploymentLimit

func (o *Organization) SetDeploymentLimit(v int32)

SetDeploymentLimit sets field value

func (*Organization) SetId

func (o *Organization) SetId(v string)

SetId sets field value

func (*Organization) SetTrialExpiresAt

func (o *Organization) SetTrialExpiresAt(v time.Time)

SetTrialExpiresAt sets field value

type OrganizationsApiService

type OrganizationsApiService service

OrganizationsApiService OrganizationsApi service

func (*OrganizationsApiService) OrganizationsRetrieve

* OrganizationsRetrieve Method for OrganizationsRetrieve * Fetch details about a single organization. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id A UUID string identifying this organization. * @return ApiOrganizationsRetrieveRequest

func (*OrganizationsApiService) OrganizationsRetrieveExecute

* Execute executes the request * @return Organization

type PatchedDeploymentUpdateRequest

type PatchedDeploymentUpdateRequest struct {
	Name                  *string             `json:"name,omitempty"`
	CatalogRestoreMode    *bool               `json:"catalogRestoreMode,omitempty"`
	Size                  *DeploymentSizeEnum `json:"size,omitempty"`
	StorageMb             *int32              `json:"storageMb,omitempty"`
	DisableUserIndexes    *bool               `json:"disableUserIndexes,omitempty"`
	MaterializedExtraArgs *[]string           `json:"materializedExtraArgs,omitempty"`
	MzVersion             *string             `json:"mzVersion,omitempty"`
	ReleaseTrack          *ReleaseTrackEnum   `json:"releaseTrack,omitempty"`
	EnableTailscale       *bool               `json:"enableTailscale,omitempty"`
	TailscaleAuthKey      *string             `json:"tailscaleAuthKey,omitempty"`
}

PatchedDeploymentUpdateRequest struct for PatchedDeploymentUpdateRequest

func NewPatchedDeploymentUpdateRequest

func NewPatchedDeploymentUpdateRequest() *PatchedDeploymentUpdateRequest

NewPatchedDeploymentUpdateRequest instantiates a new PatchedDeploymentUpdateRequest 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

func NewPatchedDeploymentUpdateRequestWithDefaults

func NewPatchedDeploymentUpdateRequestWithDefaults() *PatchedDeploymentUpdateRequest

NewPatchedDeploymentUpdateRequestWithDefaults instantiates a new PatchedDeploymentUpdateRequest 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

func (*PatchedDeploymentUpdateRequest) GetCatalogRestoreMode

func (o *PatchedDeploymentUpdateRequest) GetCatalogRestoreMode() bool

GetCatalogRestoreMode returns the CatalogRestoreMode field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetCatalogRestoreModeOk

func (o *PatchedDeploymentUpdateRequest) GetCatalogRestoreModeOk() (*bool, bool)

GetCatalogRestoreModeOk returns a tuple with the CatalogRestoreMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetDisableUserIndexes

func (o *PatchedDeploymentUpdateRequest) GetDisableUserIndexes() bool

GetDisableUserIndexes returns the DisableUserIndexes field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetDisableUserIndexesOk

func (o *PatchedDeploymentUpdateRequest) GetDisableUserIndexesOk() (*bool, bool)

GetDisableUserIndexesOk returns a tuple with the DisableUserIndexes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetEnableTailscale

func (o *PatchedDeploymentUpdateRequest) GetEnableTailscale() bool

GetEnableTailscale returns the EnableTailscale field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetEnableTailscaleOk

func (o *PatchedDeploymentUpdateRequest) GetEnableTailscaleOk() (*bool, bool)

GetEnableTailscaleOk returns a tuple with the EnableTailscale field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetMaterializedExtraArgs

func (o *PatchedDeploymentUpdateRequest) GetMaterializedExtraArgs() []string

GetMaterializedExtraArgs returns the MaterializedExtraArgs field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetMaterializedExtraArgsOk

func (o *PatchedDeploymentUpdateRequest) GetMaterializedExtraArgsOk() (*[]string, bool)

GetMaterializedExtraArgsOk returns a tuple with the MaterializedExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetMzVersion

func (o *PatchedDeploymentUpdateRequest) GetMzVersion() string

GetMzVersion returns the MzVersion field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetMzVersionOk

func (o *PatchedDeploymentUpdateRequest) GetMzVersionOk() (*string, bool)

GetMzVersionOk returns a tuple with the MzVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetNameOk

func (o *PatchedDeploymentUpdateRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetReleaseTrack

func (o *PatchedDeploymentUpdateRequest) GetReleaseTrack() ReleaseTrackEnum

GetReleaseTrack returns the ReleaseTrack field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetReleaseTrackOk

func (o *PatchedDeploymentUpdateRequest) GetReleaseTrackOk() (*ReleaseTrackEnum, bool)

GetReleaseTrackOk returns a tuple with the ReleaseTrack field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetSize

GetSize returns the Size field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetSizeOk

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetStorageMb

func (o *PatchedDeploymentUpdateRequest) GetStorageMb() int32

GetStorageMb returns the StorageMb field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetStorageMbOk

func (o *PatchedDeploymentUpdateRequest) GetStorageMbOk() (*int32, bool)

GetStorageMbOk returns a tuple with the StorageMb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) GetTailscaleAuthKey

func (o *PatchedDeploymentUpdateRequest) GetTailscaleAuthKey() string

GetTailscaleAuthKey returns the TailscaleAuthKey field value if set, zero value otherwise.

func (*PatchedDeploymentUpdateRequest) GetTailscaleAuthKeyOk

func (o *PatchedDeploymentUpdateRequest) GetTailscaleAuthKeyOk() (*string, bool)

GetTailscaleAuthKeyOk returns a tuple with the TailscaleAuthKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeploymentUpdateRequest) HasCatalogRestoreMode

func (o *PatchedDeploymentUpdateRequest) HasCatalogRestoreMode() bool

HasCatalogRestoreMode returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasDisableUserIndexes

func (o *PatchedDeploymentUpdateRequest) HasDisableUserIndexes() bool

HasDisableUserIndexes returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasEnableTailscale

func (o *PatchedDeploymentUpdateRequest) HasEnableTailscale() bool

HasEnableTailscale returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasMaterializedExtraArgs

func (o *PatchedDeploymentUpdateRequest) HasMaterializedExtraArgs() bool

HasMaterializedExtraArgs returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasMzVersion

func (o *PatchedDeploymentUpdateRequest) HasMzVersion() bool

HasMzVersion returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasName

func (o *PatchedDeploymentUpdateRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasReleaseTrack

func (o *PatchedDeploymentUpdateRequest) HasReleaseTrack() bool

HasReleaseTrack returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasSize

func (o *PatchedDeploymentUpdateRequest) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasStorageMb

func (o *PatchedDeploymentUpdateRequest) HasStorageMb() bool

HasStorageMb returns a boolean if a field has been set.

func (*PatchedDeploymentUpdateRequest) HasTailscaleAuthKey

func (o *PatchedDeploymentUpdateRequest) HasTailscaleAuthKey() bool

HasTailscaleAuthKey returns a boolean if a field has been set.

func (PatchedDeploymentUpdateRequest) MarshalJSON

func (o PatchedDeploymentUpdateRequest) MarshalJSON() ([]byte, error)

func (*PatchedDeploymentUpdateRequest) SetCatalogRestoreMode

func (o *PatchedDeploymentUpdateRequest) SetCatalogRestoreMode(v bool)

SetCatalogRestoreMode gets a reference to the given bool and assigns it to the CatalogRestoreMode field.

func (*PatchedDeploymentUpdateRequest) SetDisableUserIndexes

func (o *PatchedDeploymentUpdateRequest) SetDisableUserIndexes(v bool)

SetDisableUserIndexes gets a reference to the given bool and assigns it to the DisableUserIndexes field.

func (*PatchedDeploymentUpdateRequest) SetEnableTailscale

func (o *PatchedDeploymentUpdateRequest) SetEnableTailscale(v bool)

SetEnableTailscale gets a reference to the given bool and assigns it to the EnableTailscale field.

func (*PatchedDeploymentUpdateRequest) SetMaterializedExtraArgs

func (o *PatchedDeploymentUpdateRequest) SetMaterializedExtraArgs(v []string)

SetMaterializedExtraArgs gets a reference to the given []string and assigns it to the MaterializedExtraArgs field.

func (*PatchedDeploymentUpdateRequest) SetMzVersion

func (o *PatchedDeploymentUpdateRequest) SetMzVersion(v string)

SetMzVersion gets a reference to the given string and assigns it to the MzVersion field.

func (*PatchedDeploymentUpdateRequest) SetName

func (o *PatchedDeploymentUpdateRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PatchedDeploymentUpdateRequest) SetReleaseTrack

func (o *PatchedDeploymentUpdateRequest) SetReleaseTrack(v ReleaseTrackEnum)

SetReleaseTrack gets a reference to the given ReleaseTrackEnum and assigns it to the ReleaseTrack field.

func (*PatchedDeploymentUpdateRequest) SetSize

SetSize gets a reference to the given DeploymentSizeEnum and assigns it to the Size field.

func (*PatchedDeploymentUpdateRequest) SetStorageMb

func (o *PatchedDeploymentUpdateRequest) SetStorageMb(v int32)

SetStorageMb gets a reference to the given int32 and assigns it to the StorageMb field.

func (*PatchedDeploymentUpdateRequest) SetTailscaleAuthKey

func (o *PatchedDeploymentUpdateRequest) SetTailscaleAuthKey(v string)

SetTailscaleAuthKey gets a reference to the given string and assigns it to the TailscaleAuthKey field.

type PrometheusMetric

type PrometheusMetric struct {
	Name   string     `json:"name"`
	Values [][]string `json:"values"`
}

PrometheusMetric struct for PrometheusMetric

func NewPrometheusMetric

func NewPrometheusMetric(name string, values [][]string) *PrometheusMetric

NewPrometheusMetric instantiates a new PrometheusMetric 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

func NewPrometheusMetricWithDefaults

func NewPrometheusMetricWithDefaults() *PrometheusMetric

NewPrometheusMetricWithDefaults instantiates a new PrometheusMetric 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

func (*PrometheusMetric) GetName

func (o *PrometheusMetric) GetName() string

GetName returns the Name field value

func (*PrometheusMetric) GetNameOk

func (o *PrometheusMetric) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PrometheusMetric) GetValues

func (o *PrometheusMetric) GetValues() [][]string

GetValues returns the Values field value

func (*PrometheusMetric) GetValuesOk

func (o *PrometheusMetric) GetValuesOk() (*[][]string, bool)

GetValuesOk returns a tuple with the Values field value and a boolean to check if the value has been set.

func (PrometheusMetric) MarshalJSON

func (o PrometheusMetric) MarshalJSON() ([]byte, error)

func (*PrometheusMetric) SetName

func (o *PrometheusMetric) SetName(v string)

SetName sets field value

func (*PrometheusMetric) SetValues

func (o *PrometheusMetric) SetValues(v [][]string)

SetValues sets field value

type PrometheusMetrics

type PrometheusMetrics struct {
	Metrics []PrometheusMetric `json:"metrics"`
}

PrometheusMetrics Serializer for the prometheus metrics.

func NewPrometheusMetrics

func NewPrometheusMetrics(metrics []PrometheusMetric) *PrometheusMetrics

NewPrometheusMetrics instantiates a new PrometheusMetrics 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

func NewPrometheusMetricsWithDefaults

func NewPrometheusMetricsWithDefaults() *PrometheusMetrics

NewPrometheusMetricsWithDefaults instantiates a new PrometheusMetrics 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

func (*PrometheusMetrics) GetMetrics

func (o *PrometheusMetrics) GetMetrics() []PrometheusMetric

GetMetrics returns the Metrics field value

func (*PrometheusMetrics) GetMetricsOk

func (o *PrometheusMetrics) GetMetricsOk() (*[]PrometheusMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.

func (PrometheusMetrics) MarshalJSON

func (o PrometheusMetrics) MarshalJSON() ([]byte, error)

func (*PrometheusMetrics) SetMetrics

func (o *PrometheusMetrics) SetMetrics(v []PrometheusMetric)

SetMetrics sets field value

type ProviderEnum

type ProviderEnum string

ProviderEnum the model 'ProviderEnum'

const (
	AWS   ProviderEnum = "AWS"
	LOCAL ProviderEnum = "local"
)

List of ProviderEnum

func NewProviderEnumFromValue

func NewProviderEnumFromValue(v string) (*ProviderEnum, error)

NewProviderEnumFromValue returns a pointer to a valid ProviderEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProviderEnum) IsValid

func (v ProviderEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProviderEnum) Ptr

func (v ProviderEnum) Ptr() *ProviderEnum

Ptr returns reference to ProviderEnum value

func (*ProviderEnum) UnmarshalJSON

func (v *ProviderEnum) UnmarshalJSON(src []byte) error

type RegionsApiService

type RegionsApiService service

RegionsApiService RegionsApi service

func (*RegionsApiService) RegionsList

func (a *RegionsApiService) RegionsList(ctx _context.Context, providerName string) ApiRegionsListRequest

* RegionsList Method for RegionsList * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param providerName * @return ApiRegionsListRequest

func (*RegionsApiService) RegionsListExecute

* Execute executes the request * @return []SupportedCloudRegion

type ReleaseTrackEnum

type ReleaseTrackEnum string

ReleaseTrackEnum the model 'ReleaseTrackEnum'

const (
	CANARY ReleaseTrackEnum = "canary"
	STABLE ReleaseTrackEnum = "stable"
)

List of ReleaseTrackEnum

func NewReleaseTrackEnumFromValue

func NewReleaseTrackEnumFromValue(v string) (*ReleaseTrackEnum, error)

NewReleaseTrackEnumFromValue returns a pointer to a valid ReleaseTrackEnum for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ReleaseTrackEnum) IsValid

func (v ReleaseTrackEnum) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ReleaseTrackEnum) Ptr

Ptr returns reference to ReleaseTrackEnum value

func (*ReleaseTrackEnum) UnmarshalJSON

func (v *ReleaseTrackEnum) UnmarshalJSON(src []byte) error

type SchemaApiService

type SchemaApiService service

SchemaApiService SchemaApi service

func (*SchemaApiService) SchemaRetrieve

  • SchemaRetrieve Method for SchemaRetrieve
  • OpenApi3 schema for this API. Format can be selected via content negotiation.

- YAML: application/vnd.oai.openapi - JSON: application/vnd.oai.openapi+json

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @return ApiSchemaRetrieveRequest

func (*SchemaApiService) SchemaRetrieveExecute

func (a *SchemaApiService) SchemaRetrieveExecute(r ApiSchemaRetrieveRequest) (map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return map[string]interface{}

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SupportedCloudRegion

type SupportedCloudRegion struct {
	Provider ProviderEnum `json:"provider"`
	Region   string       `json:"region"`
}

SupportedCloudRegion struct for SupportedCloudRegion

func NewSupportedCloudRegion

func NewSupportedCloudRegion(provider ProviderEnum, region string) *SupportedCloudRegion

NewSupportedCloudRegion instantiates a new SupportedCloudRegion 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

func NewSupportedCloudRegionWithDefaults

func NewSupportedCloudRegionWithDefaults() *SupportedCloudRegion

NewSupportedCloudRegionWithDefaults instantiates a new SupportedCloudRegion 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

func (*SupportedCloudRegion) GetProvider

func (o *SupportedCloudRegion) GetProvider() ProviderEnum

GetProvider returns the Provider field value

func (*SupportedCloudRegion) GetProviderOk

func (o *SupportedCloudRegion) GetProviderOk() (*ProviderEnum, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*SupportedCloudRegion) GetRegion

func (o *SupportedCloudRegion) GetRegion() string

GetRegion returns the Region field value

func (*SupportedCloudRegion) GetRegionOk

func (o *SupportedCloudRegion) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (SupportedCloudRegion) MarshalJSON

func (o SupportedCloudRegion) MarshalJSON() ([]byte, error)

func (*SupportedCloudRegion) SetProvider

func (o *SupportedCloudRegion) SetProvider(v ProviderEnum)

SetProvider sets field value

func (*SupportedCloudRegion) SetRegion

func (o *SupportedCloudRegion) SetRegion(v string)

SetRegion sets field value

type SupportedCloudRegionRequest

type SupportedCloudRegionRequest struct {
	Provider ProviderEnum `json:"provider"`
	Region   string       `json:"region"`
}

SupportedCloudRegionRequest struct for SupportedCloudRegionRequest

func NewSupportedCloudRegionRequest

func NewSupportedCloudRegionRequest(provider ProviderEnum, region string) *SupportedCloudRegionRequest

NewSupportedCloudRegionRequest instantiates a new SupportedCloudRegionRequest 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

func NewSupportedCloudRegionRequestWithDefaults

func NewSupportedCloudRegionRequestWithDefaults() *SupportedCloudRegionRequest

NewSupportedCloudRegionRequestWithDefaults instantiates a new SupportedCloudRegionRequest 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

func (*SupportedCloudRegionRequest) GetProvider

func (o *SupportedCloudRegionRequest) GetProvider() ProviderEnum

GetProvider returns the Provider field value

func (*SupportedCloudRegionRequest) GetProviderOk

func (o *SupportedCloudRegionRequest) GetProviderOk() (*ProviderEnum, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*SupportedCloudRegionRequest) GetRegion

func (o *SupportedCloudRegionRequest) GetRegion() string

GetRegion returns the Region field value

func (*SupportedCloudRegionRequest) GetRegionOk

func (o *SupportedCloudRegionRequest) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.

func (SupportedCloudRegionRequest) MarshalJSON

func (o SupportedCloudRegionRequest) MarshalJSON() ([]byte, error)

func (*SupportedCloudRegionRequest) SetProvider

func (o *SupportedCloudRegionRequest) SetProvider(v ProviderEnum)

SetProvider sets field value

func (*SupportedCloudRegionRequest) SetRegion

func (o *SupportedCloudRegionRequest) SetRegion(v string)

SetRegion sets field value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL