ionoscloud

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 26 Imported by: 5

README

Go API client for ionoscloud

Managed Stackable Data Platform by IONOS Cloud provides a preconfigured Kubernetes cluster with pre-installed and managed Stackable operators. After the provision of these Stackable operators, the customer can interact with them directly and build his desired application on top of the Stackable platform.

The Managed Stackable Data Platform by IONOS Cloud can be configured through the IONOS Cloud API in addition or as an alternative to the Data Center Designer (DCD).

Getting Started

To get your DataPlatformCluster up and running, the following steps needs to be performed.

IONOS Cloud Account

The first step is the creation of a IONOS Cloud account if not already existing.

To register a new account, visit cloud.ionos.com.

Virtual Data Center (VDC)

The Managed Stackable Data Platform needs a virtual data center (VDC) hosting the cluster. This could either be a VDC that already exists, especially if you want to connect the managed data platform to other services already running within your VDC. Otherwise, if you want to place the Managed Stackable Data Platform in a new VDC or you have not yet created a VDC, you need to do so.

A new VDC can be created via the IONOS Cloud API, the IONOS Cloud CLI (ionosctl), or the DCD Web interface. For more information, see the official documentation.

Get a authentication token

To interact with this API a user specific authentication token is needed. This token can be generated using the IONOS Cloud CLI the following way:

ionosctl token generate

For more information, see.

Create a new DataPlatformCluster

Before using the Managed Stackable Data Platform, a new DataPlatformCluster must be created.

To create a cluster, use the Create DataPlatformCluster API endpoint.

The provisioning of the cluster might take some time. To check the current provisioning status, you can query the cluster by calling the Get Endpoint with the cluster ID that was presented to you in the response of the create cluster call.

Add a DataPlatformNodePool

To deploy and run a Stackable service, the cluster must have enough computational resources. The node pool that is provisioned along with the cluster is reserved for the Stackable operators. You may create further node pools with resources tailored to your use case.

To create a new node pool use the Create DataPlatformNodepool endpoint.

Receive Kubeconfig

Once the DataPlatformCluster is created, the kubeconfig can be accessed by the API. The kubeconfig allows the interaction with the provided cluster as with any regular Kubernetes cluster.

To protect the deployment of the Stackable distribution, the kubeconfig does not provide you with administration rights for the cluster. What that means is that your actions and deployments are limited to the default namespace.

If you still want to group your deployments, you have the option to create subnamespaces within the default namespace. This is made possible by the concept of hierarchical namespaces (HNS). You can find more details here.

The kubeconfig can be downloaded with the Get Kubeconfig endpoint using the cluster ID of the created DataPlatformCluster.

Create Stackable Services

You can leverage the kubeconfig.json file to access the Managed Stackable Data Platform cluster and manage the deployment of Stackable data apps.

With the Stackable operators, you can deploy the data apps you want in your Data Platform cluster.

Authorization

All endpoints are secured, so only an authenticated user can access them. As Authentication mechanism the default IONOS Cloud authentication mechanism is used. A detailed description can be found here.

Basic Auth

The basic auth scheme uses the IONOS Cloud user credentials in form of a Basic Authentication header accordingly to RFC 7617.

API Key as Bearer Token

The Bearer auth token used at the API Gateway is a user-related token created with the IONOS Cloud CLI (For details, see the documentation). For every request to be authenticated, the token is passed as Authorization Bearer header along with the request.

Permissions and Access Roles

Currently, an administrator can see and manipulate all resources in a contract. Furthermore, users with the group privilege Manage Dataplatform can access the API.

Components

The Managed Stackable Data Platform by IONOS Cloud consists of two components. The concept of a DataPlatformClusters and the backing DataPlatformNodePools the cluster is build on.

DataPlatformCluster

A DataPlatformCluster is the virtual instance of the customer services and operations running the managed services like Stackable operators. A DataPlatformCluster is a Kubernetes Cluster in the VDC of the customer. Therefore, it's possible to integrate the cluster with other resources as VLANs e.g. to shape the data center in the customer's need and integrate the cluster within the topology the customer wants to build.

In addition to the Kubernetes cluster, a small node pool is provided which is exclusively used to run the Stackable operators.

DataPlatformNodePool

A DataPlatformNodePool represents the physical machines a DataPlatformCluster is build on top. All nodes within a node pool are identical in setup. The nodes of a pool are provisioned into virtual data centers at a location of your choice and you can freely specify the properties of all the nodes at once before creation.

Nodes in node pools provisioned by the Managed Stackable Data Platform Cloud API are read-only in the customer's VDC and can only be modified or deleted via the API.

References

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.1.0
  • Package version: 1.0.3
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://www.ionos.com

Installation

Install the following dependencies:

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

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

import ionoscloud "github.com/ionos-cloud/sdk-go-dataplatform"

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

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

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/dataplatform

Class Method HTTP request Description
DataPlatformClusterApi ClustersDelete Delete /clusters/{clusterId} Delete a DataPlatformCluster
DataPlatformClusterApi ClustersFindById Get /clusters/{clusterId} Retrieve a DataPlatformCluster
DataPlatformClusterApi ClustersGet Get /clusters List the DataPlatformClusters
DataPlatformClusterApi ClustersKubeconfigFindByClusterId Get /clusters/{clusterId}/kubeconfig Read the Kubeconfig
DataPlatformClusterApi ClustersPatch Patch /clusters/{clusterId} Partially Modify a DataPlatformCluster
DataPlatformClusterApi ClustersPost Post /clusters Create a DataPlatformCluster
DataPlatformMetaDataApi VersionsGet Get /versions Managed Stackable Data Platform API Versions
DataPlatformNodePoolApi ClustersNodepoolsDelete Delete /clusters/{clusterId}/nodepools/{nodepoolId} Remove a DataPlatformNodePool from a DataPlatformCluster
DataPlatformNodePoolApi ClustersNodepoolsFindById Get /clusters/{clusterId}/nodepools/{nodepoolId} Retrieve a DataPlatformNodePool
DataPlatformNodePoolApi ClustersNodepoolsGet Get /clusters/{clusterId}/nodepools List the DataPlatformNodePools of a DataPlatformCluster
DataPlatformNodePoolApi ClustersNodepoolsPatch Patch /clusters/{clusterId}/nodepools/{nodepoolId} Partially Modify a DataPlatformNodePool
DataPlatformNodePoolApi ClustersNodepoolsPost Post /clusters/{clusterId}/nodepools Create a DataPlatformNodePool for a distinct DataPlatformCluster

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
basicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
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

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.0.3"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://api.ionos.com/dataplatform"
	DefaultIonosBasePath  = "/dataplatform"
)

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")
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

func CacheExpires

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

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

func IsNil added in v1.0.1

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

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

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil

func ToTimeSlice

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue

func ToValue[T any](ptr *T) T

ToValue - returns the value of the pointer passed in

func ToValueDefault

func ToValueDefault[T any](ptr *T) T

ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil

Types

type APIClient

type APIClient struct {
	DataPlatformClusterApi *DataPlatformClusterApiService

	DataPlatformMetaDataApi *DataPlatformMetaDataApiService

	DataPlatformNodePoolApi *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - Managed Stackable Data Platform API API v1.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"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,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.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type ApiClustersDeleteRequest added in v1.0.1

type ApiClustersDeleteRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersDeleteRequest) Execute added in v1.0.1

type ApiClustersFindByIdRequest added in v1.0.1

type ApiClustersFindByIdRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersFindByIdRequest) Execute added in v1.0.1

type ApiClustersGetRequest added in v1.0.1

type ApiClustersGetRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersGetRequest) Execute added in v1.0.1

func (ApiClustersGetRequest) Name added in v1.0.1

type ApiClustersKubeconfigFindByClusterIdRequest added in v1.0.1

type ApiClustersKubeconfigFindByClusterIdRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersKubeconfigFindByClusterIdRequest) Execute added in v1.0.1

func (r ApiClustersKubeconfigFindByClusterIdRequest) Execute() (map[string]interface{}, *APIResponse, error)

type ApiClustersNodepoolsDeleteRequest added in v1.0.1

type ApiClustersNodepoolsDeleteRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsDeleteRequest) Execute added in v1.0.1

type ApiClustersNodepoolsFindByIdRequest added in v1.0.1

type ApiClustersNodepoolsFindByIdRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsFindByIdRequest) Execute added in v1.0.1

type ApiClustersNodepoolsGetRequest added in v1.0.1

type ApiClustersNodepoolsGetRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsGetRequest) Execute added in v1.0.1

type ApiClustersNodepoolsPatchRequest added in v1.0.1

type ApiClustersNodepoolsPatchRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsPatchRequest) Execute added in v1.0.1

func (ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest added in v1.0.1

func (r ApiClustersNodepoolsPatchRequest) PatchNodePoolRequest(patchNodePoolRequest PatchNodePoolRequest) ApiClustersNodepoolsPatchRequest

type ApiClustersNodepoolsPostRequest added in v1.0.1

type ApiClustersNodepoolsPostRequest struct {
	ApiService *DataPlatformNodePoolApiService
	// contains filtered or unexported fields
}

func (ApiClustersNodepoolsPostRequest) CreateNodePoolRequest added in v1.0.1

func (r ApiClustersNodepoolsPostRequest) CreateNodePoolRequest(createNodePoolRequest CreateNodePoolRequest) ApiClustersNodepoolsPostRequest

func (ApiClustersNodepoolsPostRequest) Execute added in v1.0.1

type ApiClustersPatchRequest added in v1.0.1

type ApiClustersPatchRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersPatchRequest) Execute added in v1.0.1

func (ApiClustersPatchRequest) PatchClusterRequest added in v1.0.1

func (r ApiClustersPatchRequest) PatchClusterRequest(patchClusterRequest PatchClusterRequest) ApiClustersPatchRequest

type ApiClustersPostRequest added in v1.0.1

type ApiClustersPostRequest struct {
	ApiService *DataPlatformClusterApiService
	// contains filtered or unexported fields
}

func (ApiClustersPostRequest) CreateClusterRequest added in v1.0.1

func (r ApiClustersPostRequest) CreateClusterRequest(createClusterRequest CreateClusterRequest) ApiClustersPostRequest

func (ApiClustersPostRequest) Execute added in v1.0.1

type ApiVersionsGetRequest

type ApiVersionsGetRequest struct {
	ApiService *DataPlatformMetaDataApiService
	// contains filtered or unexported fields
}

func (ApiVersionsGetRequest) Execute

type AvailabilityZone

type AvailabilityZone string

AvailabilityZone The availability zone of the virtual data center region where the node pool resources should be provisioned.

const (
	AVAILABILITYZONE_AUTO   AvailabilityZone = "AUTO"
	AVAILABILITYZONE_ZONE_1 AvailabilityZone = "ZONE_1"
	AVAILABILITYZONE_ZONE_2 AvailabilityZone = "ZONE_2"
)

List of AvailabilityZone

func (AvailabilityZone) Ptr

Ptr returns reference to AvailabilityZone value

func (*AvailabilityZone) UnmarshalJSON

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

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 Cluster

type Cluster struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId      *string            `json:"datacenterId,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// A list of LANs you want this node pool to be part of.
	Lans *[]Lan `json:"lans,omitempty"`
}

Cluster A DataPlatformCluster.

func NewCluster

func NewCluster() *Cluster

NewCluster instantiates a new Cluster 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 NewClusterWithDefaults

func NewClusterWithDefaults() *Cluster

NewClusterWithDefaults instantiates a new Cluster 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 (*Cluster) GetDataPlatformVersion

func (o *Cluster) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetDataPlatformVersionOk

func (o *Cluster) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion 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 (*Cluster) GetDatacenterId

func (o *Cluster) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetDatacenterIdOk

func (o *Cluster) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId 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 (*Cluster) GetLans added in v1.0.3

func (o *Cluster) GetLans() *[]Lan

GetLans returns the Lans field value If the value is explicit nil, the zero value for []Lan will be returned

func (*Cluster) GetLansOk added in v1.0.3

func (o *Cluster) GetLansOk() (*[]Lan, bool)

GetLansOk returns a tuple with the Lans 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 (*Cluster) GetMaintenanceWindow

func (o *Cluster) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*Cluster) GetMaintenanceWindowOk

func (o *Cluster) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*Cluster) GetName

func (o *Cluster) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Cluster) GetNameOk

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

GetNameOk returns a tuple with the Name 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 (*Cluster) HasDataPlatformVersion

func (o *Cluster) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*Cluster) HasDatacenterId

func (o *Cluster) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*Cluster) HasLans added in v1.0.3

func (o *Cluster) HasLans() bool

HasLans returns a boolean if a field has been set.

func (*Cluster) HasMaintenanceWindow

func (o *Cluster) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*Cluster) HasName

func (o *Cluster) HasName() bool

HasName returns a boolean if a field has been set.

func (Cluster) MarshalJSON

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

func (*Cluster) SetDataPlatformVersion

func (o *Cluster) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*Cluster) SetDatacenterId

func (o *Cluster) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*Cluster) SetLans added in v1.0.3

func (o *Cluster) SetLans(v []Lan)

SetLans sets field value

func (*Cluster) SetMaintenanceWindow

func (o *Cluster) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*Cluster) SetName

func (o *Cluster) SetName(v string)

SetName sets field value

type ClusterListResponseData

type ClusterListResponseData struct {
	// The ID of a list of resources.
	Id    *string                `json:"id,omitempty"`
	Type  *string                `json:"type,omitempty"`
	Href  *string                `json:"href,omitempty"`
	Items *[]ClusterResponseData `json:"items"`
}

ClusterListResponseData Data of a cluster list.

func NewClusterListResponseData

func NewClusterListResponseData(items []ClusterResponseData) *ClusterListResponseData

NewClusterListResponseData instantiates a new ClusterListResponseData 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 NewClusterListResponseDataWithDefaults

func NewClusterListResponseDataWithDefaults() *ClusterListResponseData

NewClusterListResponseDataWithDefaults instantiates a new ClusterListResponseData 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 (*ClusterListResponseData) GetHref

func (o *ClusterListResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetHrefOk

func (o *ClusterListResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href 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 (*ClusterListResponseData) GetId

func (o *ClusterListResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetIdOk

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

GetIdOk returns a tuple with the Id 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 (*ClusterListResponseData) GetItems

GetItems returns the Items field value If the value is explicit nil, the zero value for []ClusterResponseData will be returned

func (*ClusterListResponseData) GetItemsOk

func (o *ClusterListResponseData) GetItemsOk() (*[]ClusterResponseData, bool)

GetItemsOk returns a tuple with the Items 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 (*ClusterListResponseData) GetType

func (o *ClusterListResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterListResponseData) GetTypeOk

func (o *ClusterListResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type 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 (*ClusterListResponseData) HasHref

func (o *ClusterListResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterListResponseData) HasId

func (o *ClusterListResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterListResponseData) HasItems

func (o *ClusterListResponseData) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*ClusterListResponseData) HasType

func (o *ClusterListResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterListResponseData) MarshalJSON

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

func (*ClusterListResponseData) SetHref

func (o *ClusterListResponseData) SetHref(v string)

SetHref sets field value

func (*ClusterListResponseData) SetId

func (o *ClusterListResponseData) SetId(v string)

SetId sets field value

func (*ClusterListResponseData) SetItems

SetItems sets field value

func (*ClusterListResponseData) SetType

func (o *ClusterListResponseData) SetType(v string)

SetType sets field value

type ClusterResponseData

type ClusterResponseData struct {
	// The unique ID of the resource. Must conform to the UUID format.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type,omitempty"`
	// URL to the object representation (absolute path).
	Href       *string   `json:"href,omitempty"`
	Metadata   *Metadata `json:"metadata"`
	Properties *Cluster  `json:"properties"`
}

ClusterResponseData Data of a cluster.

func NewClusterResponseData

func NewClusterResponseData(id string, metadata Metadata, properties Cluster) *ClusterResponseData

NewClusterResponseData instantiates a new ClusterResponseData 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 NewClusterResponseDataWithDefaults

func NewClusterResponseDataWithDefaults() *ClusterResponseData

NewClusterResponseDataWithDefaults instantiates a new ClusterResponseData 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 (*ClusterResponseData) GetHref

func (o *ClusterResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetHrefOk

func (o *ClusterResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href 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 (*ClusterResponseData) GetId

func (o *ClusterResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetIdOk

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

GetIdOk returns a tuple with the Id 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 (*ClusterResponseData) GetMetadata

func (o *ClusterResponseData) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*ClusterResponseData) GetMetadataOk

func (o *ClusterResponseData) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata 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 (*ClusterResponseData) GetProperties

func (o *ClusterResponseData) GetProperties() *Cluster

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Cluster will be returned

func (*ClusterResponseData) GetPropertiesOk

func (o *ClusterResponseData) GetPropertiesOk() (*Cluster, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*ClusterResponseData) GetType

func (o *ClusterResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*ClusterResponseData) GetTypeOk

func (o *ClusterResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type 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 (*ClusterResponseData) HasHref

func (o *ClusterResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ClusterResponseData) HasId

func (o *ClusterResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*ClusterResponseData) HasMetadata

func (o *ClusterResponseData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*ClusterResponseData) HasProperties

func (o *ClusterResponseData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*ClusterResponseData) HasType

func (o *ClusterResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (ClusterResponseData) MarshalJSON

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

func (*ClusterResponseData) SetHref

func (o *ClusterResponseData) SetHref(v string)

SetHref sets field value

func (*ClusterResponseData) SetId

func (o *ClusterResponseData) SetId(v string)

SetId sets field value

func (*ClusterResponseData) SetMetadata

func (o *ClusterResponseData) SetMetadata(v Metadata)

SetMetadata sets field value

func (*ClusterResponseData) SetProperties

func (o *ClusterResponseData) SetProperties(v Cluster)

SetProperties sets field value

func (*ClusterResponseData) SetType

func (o *ClusterResponseData) SetType(v string)

SetType sets field value

type Configuration

type Configuration struct {
	Host               string            `json:"host,omitempty"`
	Scheme             string            `json:"scheme,omitempty"`
	DefaultHeader      map[string]string `json:"defaultHeader,omitempty"`
	DefaultQueryParams url.Values        `json:"defaultQueryParams,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
	LogLevel           LogLevel
	Logger             Logger
	Username           string        `json:"username,omitempty"`
	Password           string        `json:"password,omitempty"`
	Token              string        `json:"token,omitempty"`
	MaxRetries         int           `json:"maxRetries,omitempty"`
	WaitTime           time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime        time.Duration `json:"maxWaitTime,omitempty"`
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration(username, password, token, hostUrl string) *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

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) AddDefaultQueryParam

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

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 CreateClusterProperties

type CreateClusterProperties struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	Name *string `json:"name"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId      *string            `json:"datacenterId"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// A list of LANs you want this node pool to be part of.
	Lans *[]Lan `json:"lans,omitempty"`
}

CreateClusterProperties struct for CreateClusterProperties

func NewCreateClusterProperties

func NewCreateClusterProperties(name string, datacenterId string) *CreateClusterProperties

NewCreateClusterProperties instantiates a new CreateClusterProperties 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 NewCreateClusterPropertiesWithDefaults

func NewCreateClusterPropertiesWithDefaults() *CreateClusterProperties

NewCreateClusterPropertiesWithDefaults instantiates a new CreateClusterProperties 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 (*CreateClusterProperties) GetDataPlatformVersion

func (o *CreateClusterProperties) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetDataPlatformVersionOk

func (o *CreateClusterProperties) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion 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 (*CreateClusterProperties) GetDatacenterId

func (o *CreateClusterProperties) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetDatacenterIdOk

func (o *CreateClusterProperties) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId 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 (*CreateClusterProperties) GetLans added in v1.0.3

func (o *CreateClusterProperties) GetLans() *[]Lan

GetLans returns the Lans field value If the value is explicit nil, the zero value for []Lan will be returned

func (*CreateClusterProperties) GetLansOk added in v1.0.3

func (o *CreateClusterProperties) GetLansOk() (*[]Lan, bool)

GetLansOk returns a tuple with the Lans 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 (*CreateClusterProperties) GetMaintenanceWindow

func (o *CreateClusterProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*CreateClusterProperties) GetMaintenanceWindowOk

func (o *CreateClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*CreateClusterProperties) GetName

func (o *CreateClusterProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*CreateClusterProperties) GetNameOk

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

GetNameOk returns a tuple with the Name 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 (*CreateClusterProperties) HasDataPlatformVersion

func (o *CreateClusterProperties) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*CreateClusterProperties) HasDatacenterId

func (o *CreateClusterProperties) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*CreateClusterProperties) HasLans added in v1.0.3

func (o *CreateClusterProperties) HasLans() bool

HasLans returns a boolean if a field has been set.

func (*CreateClusterProperties) HasMaintenanceWindow

func (o *CreateClusterProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateClusterProperties) HasName

func (o *CreateClusterProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateClusterProperties) MarshalJSON

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

func (*CreateClusterProperties) SetDataPlatformVersion

func (o *CreateClusterProperties) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*CreateClusterProperties) SetDatacenterId

func (o *CreateClusterProperties) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*CreateClusterProperties) SetLans added in v1.0.3

func (o *CreateClusterProperties) SetLans(v []Lan)

SetLans sets field value

func (*CreateClusterProperties) SetMaintenanceWindow

func (o *CreateClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*CreateClusterProperties) SetName

func (o *CreateClusterProperties) SetName(v string)

SetName sets field value

type CreateClusterRequest

type CreateClusterRequest struct {
	Properties *CreateClusterProperties `json:"properties"`
}

CreateClusterRequest Data to create a new DataPlatformCluster.

func NewCreateClusterRequest

func NewCreateClusterRequest(properties CreateClusterProperties) *CreateClusterRequest

NewCreateClusterRequest instantiates a new CreateClusterRequest 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 NewCreateClusterRequestWithDefaults

func NewCreateClusterRequestWithDefaults() *CreateClusterRequest

NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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 (*CreateClusterRequest) GetProperties

func (o *CreateClusterRequest) GetProperties() *CreateClusterProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateClusterProperties will be returned

func (*CreateClusterRequest) GetPropertiesOk

func (o *CreateClusterRequest) GetPropertiesOk() (*CreateClusterProperties, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*CreateClusterRequest) HasProperties

func (o *CreateClusterRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateClusterRequest) MarshalJSON

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

func (*CreateClusterRequest) SetProperties

func (o *CreateClusterRequest) SetProperties(v CreateClusterProperties)

SetProperties sets field value

type CreateNodePoolProperties

type CreateNodePoolProperties struct {
	// The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	Name *string `json:"name"`
	// The number of nodes that make up the node pool.
	NodeCount *int32 `json:"nodeCount"`
	// A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource.
	CpuFamily *string `json:"cpuFamily,omitempty"`
	// The number of CPU cores per node.
	CoresCount *int32 `json:"coresCount,omitempty"`
	// The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB.
	RamSize          *int32            `json:"ramSize,omitempty"`
	AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"`
	StorageType      *StorageType      `json:"storageType,omitempty"`
	// The size of the volume in GB. The size must be greater than 10 GB.
	StorageSize       *int32             `json:"storageSize,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

CreateNodePoolProperties struct for CreateNodePoolProperties

func NewCreateNodePoolProperties

func NewCreateNodePoolProperties(name string, nodeCount int32) *CreateNodePoolProperties

NewCreateNodePoolProperties instantiates a new CreateNodePoolProperties 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 NewCreateNodePoolPropertiesWithDefaults

func NewCreateNodePoolPropertiesWithDefaults() *CreateNodePoolProperties

NewCreateNodePoolPropertiesWithDefaults instantiates a new CreateNodePoolProperties 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 (*CreateNodePoolProperties) GetAnnotations

func (o *CreateNodePoolProperties) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*CreateNodePoolProperties) GetAnnotationsOk

func (o *CreateNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations 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 (*CreateNodePoolProperties) GetAvailabilityZone

func (o *CreateNodePoolProperties) GetAvailabilityZone() *AvailabilityZone

GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned

func (*CreateNodePoolProperties) GetAvailabilityZoneOk

func (o *CreateNodePoolProperties) GetAvailabilityZoneOk() (*AvailabilityZone, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone 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 (*CreateNodePoolProperties) GetCoresCount

func (o *CreateNodePoolProperties) GetCoresCount() *int32

GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetCoresCountOk

func (o *CreateNodePoolProperties) GetCoresCountOk() (*int32, bool)

GetCoresCountOk returns a tuple with the CoresCount 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 (*CreateNodePoolProperties) GetCpuFamily

func (o *CreateNodePoolProperties) GetCpuFamily() *string

GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned

func (*CreateNodePoolProperties) GetCpuFamilyOk

func (o *CreateNodePoolProperties) GetCpuFamilyOk() (*string, bool)

GetCpuFamilyOk returns a tuple with the CpuFamily 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 (*CreateNodePoolProperties) GetLabels

func (o *CreateNodePoolProperties) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*CreateNodePoolProperties) GetLabelsOk

func (o *CreateNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels 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 (*CreateNodePoolProperties) GetMaintenanceWindow

func (o *CreateNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*CreateNodePoolProperties) GetMaintenanceWindowOk

func (o *CreateNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*CreateNodePoolProperties) GetName

func (o *CreateNodePoolProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*CreateNodePoolProperties) GetNameOk

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

GetNameOk returns a tuple with the Name 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 (*CreateNodePoolProperties) GetNodeCount

func (o *CreateNodePoolProperties) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetNodeCountOk

func (o *CreateNodePoolProperties) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount 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 (*CreateNodePoolProperties) GetRamSize

func (o *CreateNodePoolProperties) GetRamSize() *int32

GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetRamSizeOk

func (o *CreateNodePoolProperties) GetRamSizeOk() (*int32, bool)

GetRamSizeOk returns a tuple with the RamSize 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 (*CreateNodePoolProperties) GetStorageSize

func (o *CreateNodePoolProperties) GetStorageSize() *int32

GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*CreateNodePoolProperties) GetStorageSizeOk

func (o *CreateNodePoolProperties) GetStorageSizeOk() (*int32, bool)

GetStorageSizeOk returns a tuple with the StorageSize 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 (*CreateNodePoolProperties) GetStorageType

func (o *CreateNodePoolProperties) GetStorageType() *StorageType

GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned

func (*CreateNodePoolProperties) GetStorageTypeOk

func (o *CreateNodePoolProperties) GetStorageTypeOk() (*StorageType, bool)

GetStorageTypeOk returns a tuple with the StorageType 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 (*CreateNodePoolProperties) HasAnnotations

func (o *CreateNodePoolProperties) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasAvailabilityZone

func (o *CreateNodePoolProperties) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasCoresCount

func (o *CreateNodePoolProperties) HasCoresCount() bool

HasCoresCount returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasCpuFamily

func (o *CreateNodePoolProperties) HasCpuFamily() bool

HasCpuFamily returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasLabels

func (o *CreateNodePoolProperties) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasMaintenanceWindow

func (o *CreateNodePoolProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasName

func (o *CreateNodePoolProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasNodeCount

func (o *CreateNodePoolProperties) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasRamSize

func (o *CreateNodePoolProperties) HasRamSize() bool

HasRamSize returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasStorageSize

func (o *CreateNodePoolProperties) HasStorageSize() bool

HasStorageSize returns a boolean if a field has been set.

func (*CreateNodePoolProperties) HasStorageType

func (o *CreateNodePoolProperties) HasStorageType() bool

HasStorageType returns a boolean if a field has been set.

func (CreateNodePoolProperties) MarshalJSON

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

func (*CreateNodePoolProperties) SetAnnotations

func (o *CreateNodePoolProperties) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*CreateNodePoolProperties) SetAvailabilityZone

func (o *CreateNodePoolProperties) SetAvailabilityZone(v AvailabilityZone)

SetAvailabilityZone sets field value

func (*CreateNodePoolProperties) SetCoresCount

func (o *CreateNodePoolProperties) SetCoresCount(v int32)

SetCoresCount sets field value

func (*CreateNodePoolProperties) SetCpuFamily

func (o *CreateNodePoolProperties) SetCpuFamily(v string)

SetCpuFamily sets field value

func (*CreateNodePoolProperties) SetLabels

func (o *CreateNodePoolProperties) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*CreateNodePoolProperties) SetMaintenanceWindow

func (o *CreateNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*CreateNodePoolProperties) SetName

func (o *CreateNodePoolProperties) SetName(v string)

SetName sets field value

func (*CreateNodePoolProperties) SetNodeCount

func (o *CreateNodePoolProperties) SetNodeCount(v int32)

SetNodeCount sets field value

func (*CreateNodePoolProperties) SetRamSize

func (o *CreateNodePoolProperties) SetRamSize(v int32)

SetRamSize sets field value

func (*CreateNodePoolProperties) SetStorageSize

func (o *CreateNodePoolProperties) SetStorageSize(v int32)

SetStorageSize sets field value

func (*CreateNodePoolProperties) SetStorageType

func (o *CreateNodePoolProperties) SetStorageType(v StorageType)

SetStorageType sets field value

type CreateNodePoolRequest

type CreateNodePoolRequest struct {
	Properties *CreateNodePoolProperties `json:"properties"`
}

CreateNodePoolRequest Data to create a new node pool for a DataPlatformNodePool.

func NewCreateNodePoolRequest

func NewCreateNodePoolRequest(properties CreateNodePoolProperties) *CreateNodePoolRequest

NewCreateNodePoolRequest instantiates a new CreateNodePoolRequest 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 NewCreateNodePoolRequestWithDefaults

func NewCreateNodePoolRequestWithDefaults() *CreateNodePoolRequest

NewCreateNodePoolRequestWithDefaults instantiates a new CreateNodePoolRequest 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 (*CreateNodePoolRequest) GetProperties

func (o *CreateNodePoolRequest) GetProperties() *CreateNodePoolProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for CreateNodePoolProperties will be returned

func (*CreateNodePoolRequest) GetPropertiesOk

func (o *CreateNodePoolRequest) GetPropertiesOk() (*CreateNodePoolProperties, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*CreateNodePoolRequest) HasProperties

func (o *CreateNodePoolRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (CreateNodePoolRequest) MarshalJSON

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

func (*CreateNodePoolRequest) SetProperties

func (o *CreateNodePoolRequest) SetProperties(v CreateNodePoolProperties)

SetProperties sets field value

type DataPlatformClusterApiService

type DataPlatformClusterApiService service

DataPlatformClusterApiService DataPlatformClusterApi service

func (*DataPlatformClusterApiService) ClustersDelete added in v1.0.1

  • ClustersDelete Delete a DataPlatformCluster
  • Deletes the specified DataPlatformCluster by its distinct cluster ID.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersDeleteRequest

func (*DataPlatformClusterApiService) ClustersDeleteExecute added in v1.0.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersFindById added in v1.0.1

  • ClustersFindById Retrieve a DataPlatformCluster
  • Retrieve the specified DataPlatformCluster by its distinct ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersFindByIdRequest

func (*DataPlatformClusterApiService) ClustersFindByIdExecute added in v1.0.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersGet added in v1.0.1

  • ClustersGet List the DataPlatformClusters
  • List all available DataPlatformClusters that can be accessed by the user.

The user might filter the request for the name of the DataPlatformCluster. If no cluster is available matching the request, the list will be empty.

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

func (*DataPlatformClusterApiService) ClustersGetExecute added in v1.0.1

* Execute executes the request * @return ClusterListResponseData

func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId added in v1.0.1

func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterId(ctx _context.Context, clusterId string) ApiClustersKubeconfigFindByClusterIdRequest
  • ClustersKubeconfigFindByClusterId Read the Kubeconfig
  • Retrieves the Kubernetes configuration file (*kubeconfig*)

for the specified DataPlatformCluster by its cluster ID.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersKubeconfigFindByClusterIdRequest

func (*DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute added in v1.0.1

func (a *DataPlatformClusterApiService) ClustersKubeconfigFindByClusterIdExecute(r ApiClustersKubeconfigFindByClusterIdRequest) (map[string]interface{}, *APIResponse, error)

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

func (*DataPlatformClusterApiService) ClustersPatch added in v1.0.1

  • ClustersPatch Partially Modify a DataPlatformCluster
  • Modifies the specified DataPlatformCluster by its distinct cluster ID.

The fields in the request body are applied to the cluster. Note that the application to the cluster itself is performed asynchronously. You can check the sync state by querying the cluster with the GET method.

The ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersPatchRequest

func (*DataPlatformClusterApiService) ClustersPatchExecute added in v1.0.1

* Execute executes the request * @return ClusterResponseData

func (*DataPlatformClusterApiService) ClustersPost added in v1.0.1

  • ClustersPost Create a DataPlatformCluster
  • Creates a new DataPlatformCluster.

The cluster will be provisioned in the data center matching the provided `DatacenterId`. Therefore the data center must be created upfront and must be editable by the user issuing the request.

To create a new virtual data center (VDC), [see](https://api.ionos.com/docs/cloud/v6/#tag/Data-centers/operation/datacentersPost).

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

func (*DataPlatformClusterApiService) ClustersPostExecute added in v1.0.1

* Execute executes the request * @return ClusterResponseData

type DataPlatformMetaDataApiService

type DataPlatformMetaDataApiService service

DataPlatformMetaDataApiService DataPlatformMetaDataApi service

func (*DataPlatformMetaDataApiService) VersionsGet

* VersionsGet Managed Stackable Data Platform API Versions * Retrieves all available versions of the Managed Stackable Data Platform. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiVersionsGetRequest

func (*DataPlatformMetaDataApiService) VersionsGetExecute

* Execute executes the request * @return VersionsGet200Response

type DataPlatformNodePoolApiService

type DataPlatformNodePoolApiService service

DataPlatformNodePoolApiService DataPlatformNodePoolApi service

func (*DataPlatformNodePoolApiService) ClustersNodepoolsDelete added in v1.0.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsDelete(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsDeleteRequest
  • ClustersNodepoolsDelete Remove a DataPlatformNodePool from a DataPlatformCluster
  • Removes the specified node pool from the specified DataPlatformCluster and deletes the node pool afterwards.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsDeleteRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsDeleteExecute added in v1.0.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindById added in v1.0.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsFindById(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsFindByIdRequest
  • ClustersNodepoolsFindById Retrieve a DataPlatformNodePool
  • Retrieve a node pool belonging to a Kubernetes cluster running Stackable by using its ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsFindByIdRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsFindByIdExecute added in v1.0.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsGet added in v1.0.1

  • ClustersNodepoolsGet List the DataPlatformNodePools of a DataPlatformCluster
  • List all node pools assigned to the specified DataPlatformCluster by its ID.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersNodepoolsGetRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsGetExecute added in v1.0.1

* Execute executes the request * @return NodePoolListResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatch added in v1.0.1

func (a *DataPlatformNodePoolApiService) ClustersNodepoolsPatch(ctx _context.Context, clusterId string, nodepoolId string) ApiClustersNodepoolsPatchRequest
  • ClustersNodepoolsPatch Partially Modify a DataPlatformNodePool
  • Modifies the specified node pool of a DataPlatformCluster.

Update selected attributes of a node pool belonging to a Kubernetes cluster running Stackable.

The fields in the request body are applied to the cluster. Note that the application to the node pool itself is performed asynchronously. You can check the sync state by querying the node pool with the GET method.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

The node pool ID can be found in the response when a node pool is created or when you GET a list of all node pools assigned to a specific DataPlatformCluster.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @param nodepoolId The unique ID of the node pool. Must conform to the UUID format.
  • @return ApiClustersNodepoolsPatchRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPatchExecute added in v1.0.1

* Execute executes the request * @return NodePoolResponseData

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPost added in v1.0.1

  • ClustersNodepoolsPost Create a DataPlatformNodePool for a distinct DataPlatformCluster
  • Creates a new node pool and assigns the node pool resources exclusively to the defined managed cluster.

The cluster ID can be found in the response when a cluster is created or when you GET a list of all DataPlatformClusters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The unique ID of the cluster. Must conform to the UUID format.
  • @return ApiClustersNodepoolsPostRequest

func (*DataPlatformNodePoolApiService) ClustersNodepoolsPostExecute added in v1.0.1

* Execute executes the request * @return NodePoolResponseData

type ErrorMessage

type ErrorMessage struct {
	// Internal error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessage struct for ErrorMessage

func NewErrorMessage

func NewErrorMessage() *ErrorMessage

NewErrorMessage instantiates a new ErrorMessage 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 NewErrorMessageWithDefaults

func NewErrorMessageWithDefaults() *ErrorMessage

NewErrorMessageWithDefaults instantiates a new ErrorMessage 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 (*ErrorMessage) GetErrorCode

func (o *ErrorMessage) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetErrorCodeOk

func (o *ErrorMessage) GetErrorCodeOk() (*string, bool)

GetErrorCodeOk returns a tuple with the ErrorCode 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 (*ErrorMessage) GetMessage

func (o *ErrorMessage) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessage) GetMessageOk

func (o *ErrorMessage) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message 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 (*ErrorMessage) HasErrorCode

func (o *ErrorMessage) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessage) HasMessage

func (o *ErrorMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessage) MarshalJSON

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

func (*ErrorMessage) SetErrorCode

func (o *ErrorMessage) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessage) SetMessage

func (o *ErrorMessage) SetMessage(v string)

SetMessage sets field value

type ErrorResponse

type ErrorResponse struct {
	// HTTP status code of the operation as specified by [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-6).
	HttpStatus *int32          `json:"httpStatus,omitempty"`
	Messages   *[]ErrorMessage `json:"messages,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetHttpStatus

func (o *ErrorResponse) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*ErrorResponse) GetHttpStatusOk

func (o *ErrorResponse) GetHttpStatusOk() (*int32, bool)

GetHttpStatusOk returns a tuple with the HttpStatus 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 (*ErrorResponse) GetMessages

func (o *ErrorResponse) GetMessages() *[]ErrorMessage

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessage will be returned

func (*ErrorResponse) GetMessagesOk

func (o *ErrorResponse) GetMessagesOk() (*[]ErrorMessage, bool)

GetMessagesOk returns a tuple with the Messages 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 (*ErrorResponse) HasHttpStatus

func (o *ErrorResponse) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*ErrorResponse) HasMessages

func (o *ErrorResponse) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetHttpStatus

func (o *ErrorResponse) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*ErrorResponse) SetMessages

func (o *ErrorResponse) SetMessages(v []ErrorMessage)

SetMessages sets field value

type GenericOpenAPIError

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

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

func NewGenericOpenAPIError

func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError

NewGenericOpenAPIError - constructor for GenericOpenAPIError

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

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error

type Lan added in v1.0.3

type Lan struct {
	// The LAN ID of an existing LAN at the related data center.
	LanId *string `json:"lanId"`
	// Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is `true`.
	Dhcp *bool `json:"dhcp,omitempty"`
	// An array of additional LANs attached to worker nodes.
	Routes *[]Route `json:"routes,omitempty"`
}

Lan Local area network.

func NewLan added in v1.0.3

func NewLan(lanId string) *Lan

NewLan instantiates a new Lan 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 NewLanWithDefaults added in v1.0.3

func NewLanWithDefaults() *Lan

NewLanWithDefaults instantiates a new Lan 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 (*Lan) GetDhcp added in v1.0.3

func (o *Lan) GetDhcp() *bool

GetDhcp returns the Dhcp field value If the value is explicit nil, the zero value for bool will be returned

func (*Lan) GetDhcpOk added in v1.0.3

func (o *Lan) GetDhcpOk() (*bool, bool)

GetDhcpOk returns a tuple with the Dhcp 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 (*Lan) GetLanId added in v1.0.3

func (o *Lan) GetLanId() *string

GetLanId returns the LanId field value If the value is explicit nil, the zero value for string will be returned

func (*Lan) GetLanIdOk added in v1.0.3

func (o *Lan) GetLanIdOk() (*string, bool)

GetLanIdOk returns a tuple with the LanId 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 (*Lan) GetRoutes added in v1.0.3

func (o *Lan) GetRoutes() *[]Route

GetRoutes returns the Routes field value If the value is explicit nil, the zero value for []Route will be returned

func (*Lan) GetRoutesOk added in v1.0.3

func (o *Lan) GetRoutesOk() (*[]Route, bool)

GetRoutesOk returns a tuple with the Routes 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 (*Lan) HasDhcp added in v1.0.3

func (o *Lan) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

func (*Lan) HasLanId added in v1.0.3

func (o *Lan) HasLanId() bool

HasLanId returns a boolean if a field has been set.

func (*Lan) HasRoutes added in v1.0.3

func (o *Lan) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (Lan) MarshalJSON added in v1.0.3

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

func (*Lan) SetDhcp added in v1.0.3

func (o *Lan) SetDhcp(v bool)

SetDhcp sets field value

func (*Lan) SetLanId added in v1.0.3

func (o *Lan) SetLanId(v string)

SetLanId sets field value

func (*Lan) SetRoutes added in v1.0.3

func (o *Lan) SetRoutes(v []Route)

SetRoutes sets field value

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type MaintenanceWindow

type MaintenanceWindow struct {
	// Time at which the maintenance should start. Must conform to the `HH:MM:SS` 24-hour format.
	Time         *string `json:"time"`
	DayOfTheWeek *string `json:"dayOfTheWeek"`
}

MaintenanceWindow Starting time of a weekly 4-hour-long window, during which maintenance might occur in the `HH:MM:SS` format.

func NewMaintenanceWindow

func NewMaintenanceWindow(time string, dayOfTheWeek string) *MaintenanceWindow

NewMaintenanceWindow instantiates a new MaintenanceWindow 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 NewMaintenanceWindowWithDefaults

func NewMaintenanceWindowWithDefaults() *MaintenanceWindow

NewMaintenanceWindowWithDefaults instantiates a new MaintenanceWindow 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 (*MaintenanceWindow) GetDayOfTheWeek

func (o *MaintenanceWindow) GetDayOfTheWeek() *string

GetDayOfTheWeek returns the DayOfTheWeek field value If the value is explicit nil, the zero value for string will be returned

func (*MaintenanceWindow) GetDayOfTheWeekOk

func (o *MaintenanceWindow) GetDayOfTheWeekOk() (*string, bool)

GetDayOfTheWeekOk returns a tuple with the DayOfTheWeek 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 (*MaintenanceWindow) GetTime

func (o *MaintenanceWindow) GetTime() *string

GetTime returns the Time field value If the value is explicit nil, the zero value for string will be returned

func (*MaintenanceWindow) GetTimeOk

func (o *MaintenanceWindow) GetTimeOk() (*string, bool)

GetTimeOk returns a tuple with the Time 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 (*MaintenanceWindow) HasDayOfTheWeek

func (o *MaintenanceWindow) HasDayOfTheWeek() bool

HasDayOfTheWeek returns a boolean if a field has been set.

func (*MaintenanceWindow) HasTime

func (o *MaintenanceWindow) HasTime() bool

HasTime returns a boolean if a field has been set.

func (MaintenanceWindow) MarshalJSON

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

func (*MaintenanceWindow) SetDayOfTheWeek

func (o *MaintenanceWindow) SetDayOfTheWeek(v string)

SetDayOfTheWeek sets field value

func (*MaintenanceWindow) SetTime

func (o *MaintenanceWindow) SetTime(v string)

SetTime sets field value

type Metadata

type Metadata struct {
	// The *entity tag* of the resource as defined in [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-etag).
	ETag *string `json:"ETag,omitempty"`
	// The time the resource was created, ISO 8601 timestamp (UTC).
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// The user that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// The ID of the user that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The creators' contract number.
	CreatedInContractNumber *string `json:"createdInContractNumber,omitempty"`
	// The last time the resource was modified, ISO 8601 timestamp (UTC).
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// The user that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// The ID of the user that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// The version of the data platform.
	CurrentDataPlatformVersion *string `json:"currentDataPlatformVersion,omitempty"`
	// The current data platform revision of a resource. This internal revision is used to roll out non-breaking internal changes. This attribute is read-only.
	CurrentDataPlatformRevision *int64 `json:"currentDataPlatformRevision,omitempty"`
	// List of available upgrades for this cluster.
	AvailableUpgradeVersions *[]string `json:"availableUpgradeVersions,omitempty"`
	// State of the resource. Resource states: `AVAILABLE`: There are no pending modification requests for this item. `BUSY`: There is at least one modification request pending and all following requests will be queued. `DEPLOYING`: The resource is being created. `FAILED`: The creation of the resource failed. `UPDATING`: The resource is being updated. `FAILED_UPDATING`: An update to the resource was not successful. `DESTROYING`: The resource is being deleted. `FAILED_DESTROYING`: The deletion of the resource was not successful. `TERMINATED`: The resource has been deleted.
	State *string `json:"state,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetAvailableUpgradeVersions

func (o *Metadata) GetAvailableUpgradeVersions() *[]string

GetAvailableUpgradeVersions returns the AvailableUpgradeVersions field value If the value is explicit nil, the zero value for []string will be returned

func (*Metadata) GetAvailableUpgradeVersionsOk

func (o *Metadata) GetAvailableUpgradeVersionsOk() (*[]string, bool)

GetAvailableUpgradeVersionsOk returns a tuple with the AvailableUpgradeVersions 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 (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy 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 (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

GetCreatedByUserIdOk returns a tuple with the CreatedByUserId 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 (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() *time.Time

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

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

GetCreatedDateOk returns a tuple with the CreatedDate 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 (*Metadata) GetCreatedInContractNumber

func (o *Metadata) GetCreatedInContractNumber() *string

GetCreatedInContractNumber returns the CreatedInContractNumber field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedInContractNumberOk

func (o *Metadata) GetCreatedInContractNumberOk() (*string, bool)

GetCreatedInContractNumberOk returns a tuple with the CreatedInContractNumber 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 (*Metadata) GetCurrentDataPlatformRevision

func (o *Metadata) GetCurrentDataPlatformRevision() *int64

GetCurrentDataPlatformRevision returns the CurrentDataPlatformRevision field value If the value is explicit nil, the zero value for int64 will be returned

func (*Metadata) GetCurrentDataPlatformRevisionOk

func (o *Metadata) GetCurrentDataPlatformRevisionOk() (*int64, bool)

GetCurrentDataPlatformRevisionOk returns a tuple with the CurrentDataPlatformRevision 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 (*Metadata) GetCurrentDataPlatformVersion

func (o *Metadata) GetCurrentDataPlatformVersion() *string

GetCurrentDataPlatformVersion returns the CurrentDataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCurrentDataPlatformVersionOk

func (o *Metadata) GetCurrentDataPlatformVersionOk() (*string, bool)

GetCurrentDataPlatformVersionOk returns a tuple with the CurrentDataPlatformVersion 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 (*Metadata) GetETag

func (o *Metadata) GetETag() *string

GetETag returns the ETag field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetETagOk

func (o *Metadata) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag 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 (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy 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 (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

GetLastModifiedByUserIdOk returns a tuple with the LastModifiedByUserId 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 (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() *time.Time

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

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

GetLastModifiedDateOk returns a tuple with the LastModifiedDate 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 (*Metadata) GetState

func (o *Metadata) GetState() *string

GetState returns the State field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetStateOk

func (o *Metadata) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State 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 (*Metadata) HasAvailableUpgradeVersions

func (o *Metadata) HasAvailableUpgradeVersions() bool

HasAvailableUpgradeVersions returns a boolean if a field has been set.

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasCreatedInContractNumber

func (o *Metadata) HasCreatedInContractNumber() bool

HasCreatedInContractNumber returns a boolean if a field has been set.

func (*Metadata) HasCurrentDataPlatformRevision

func (o *Metadata) HasCurrentDataPlatformRevision() bool

HasCurrentDataPlatformRevision returns a boolean if a field has been set.

func (*Metadata) HasCurrentDataPlatformVersion

func (o *Metadata) HasCurrentDataPlatformVersion() bool

HasCurrentDataPlatformVersion returns a boolean if a field has been set.

func (*Metadata) HasETag

func (o *Metadata) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasState

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetAvailableUpgradeVersions

func (o *Metadata) SetAvailableUpgradeVersions(v []string)

SetAvailableUpgradeVersions sets field value

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetCreatedInContractNumber

func (o *Metadata) SetCreatedInContractNumber(v string)

SetCreatedInContractNumber sets field value

func (*Metadata) SetCurrentDataPlatformRevision

func (o *Metadata) SetCurrentDataPlatformRevision(v int64)

SetCurrentDataPlatformRevision sets field value

func (*Metadata) SetCurrentDataPlatformVersion

func (o *Metadata) SetCurrentDataPlatformVersion(v string)

SetCurrentDataPlatformVersion sets field value

func (*Metadata) SetETag

func (o *Metadata) SetETag(v string)

SetETag sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetState

func (o *Metadata) SetState(v string)

SetState sets field value

type NodePool

type NodePool struct {
	// The name of your node pool. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string `json:"dataPlatformVersion,omitempty"`
	// The UUID of the virtual data center (VDC) the cluster is provisioned.
	DatacenterId *string `json:"datacenterId,omitempty"`
	// The number of nodes that make up the node pool.
	NodeCount *int32 `json:"nodeCount,omitempty"`
	// A valid CPU family name or `AUTO` if the platform shall choose the best fitting option. Available CPU architectures can be retrieved from the data center resource.
	CpuFamily *string `json:"cpuFamily,omitempty"`
	// The number of CPU cores per node.
	CoresCount *int32 `json:"coresCount,omitempty"`
	// The RAM size for one node in MB. Must be set in multiples of 1024 MB, with a minimum size is of 2048 MB.
	RamSize          *int32            `json:"ramSize,omitempty"`
	AvailabilityZone *AvailabilityZone `json:"availabilityZone,omitempty"`
	StorageType      *StorageType      `json:"storageType,omitempty"`
	// The size of the volume in GB. The size must be greater than 10 GB.
	StorageSize       *int32             `json:"storageSize,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

NodePool A DataPlatformNodePool of a DataPlatformCluster.

func NewNodePool

func NewNodePool() *NodePool

NewNodePool instantiates a new NodePool 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 NewNodePoolWithDefaults

func NewNodePoolWithDefaults() *NodePool

NewNodePoolWithDefaults instantiates a new NodePool 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 (*NodePool) GetAnnotations

func (o *NodePool) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*NodePool) GetAnnotationsOk

func (o *NodePool) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations 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 (*NodePool) GetAvailabilityZone

func (o *NodePool) GetAvailabilityZone() *AvailabilityZone

GetAvailabilityZone returns the AvailabilityZone field value If the value is explicit nil, the zero value for AvailabilityZone will be returned

func (*NodePool) GetAvailabilityZoneOk

func (o *NodePool) GetAvailabilityZoneOk() (*AvailabilityZone, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone 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 (*NodePool) GetCoresCount

func (o *NodePool) GetCoresCount() *int32

GetCoresCount returns the CoresCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetCoresCountOk

func (o *NodePool) GetCoresCountOk() (*int32, bool)

GetCoresCountOk returns a tuple with the CoresCount 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 (*NodePool) GetCpuFamily

func (o *NodePool) GetCpuFamily() *string

GetCpuFamily returns the CpuFamily field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetCpuFamilyOk

func (o *NodePool) GetCpuFamilyOk() (*string, bool)

GetCpuFamilyOk returns a tuple with the CpuFamily 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 (*NodePool) GetDataPlatformVersion

func (o *NodePool) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetDataPlatformVersionOk

func (o *NodePool) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion 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 (*NodePool) GetDatacenterId

func (o *NodePool) GetDatacenterId() *string

GetDatacenterId returns the DatacenterId field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetDatacenterIdOk

func (o *NodePool) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId 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 (*NodePool) GetLabels

func (o *NodePool) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*NodePool) GetLabelsOk

func (o *NodePool) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels 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 (*NodePool) GetMaintenanceWindow

func (o *NodePool) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*NodePool) GetMaintenanceWindowOk

func (o *NodePool) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*NodePool) GetName

func (o *NodePool) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*NodePool) GetNameOk

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

GetNameOk returns a tuple with the Name 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 (*NodePool) GetNodeCount

func (o *NodePool) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetNodeCountOk

func (o *NodePool) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount 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 (*NodePool) GetRamSize

func (o *NodePool) GetRamSize() *int32

GetRamSize returns the RamSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetRamSizeOk

func (o *NodePool) GetRamSizeOk() (*int32, bool)

GetRamSizeOk returns a tuple with the RamSize 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 (*NodePool) GetStorageSize

func (o *NodePool) GetStorageSize() *int32

GetStorageSize returns the StorageSize field value If the value is explicit nil, the zero value for int32 will be returned

func (*NodePool) GetStorageSizeOk

func (o *NodePool) GetStorageSizeOk() (*int32, bool)

GetStorageSizeOk returns a tuple with the StorageSize 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 (*NodePool) GetStorageType

func (o *NodePool) GetStorageType() *StorageType

GetStorageType returns the StorageType field value If the value is explicit nil, the zero value for StorageType will be returned

func (*NodePool) GetStorageTypeOk

func (o *NodePool) GetStorageTypeOk() (*StorageType, bool)

GetStorageTypeOk returns a tuple with the StorageType 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 (*NodePool) HasAnnotations

func (o *NodePool) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*NodePool) HasAvailabilityZone

func (o *NodePool) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*NodePool) HasCoresCount

func (o *NodePool) HasCoresCount() bool

HasCoresCount returns a boolean if a field has been set.

func (*NodePool) HasCpuFamily

func (o *NodePool) HasCpuFamily() bool

HasCpuFamily returns a boolean if a field has been set.

func (*NodePool) HasDataPlatformVersion

func (o *NodePool) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*NodePool) HasDatacenterId

func (o *NodePool) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

func (*NodePool) HasLabels

func (o *NodePool) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NodePool) HasMaintenanceWindow

func (o *NodePool) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*NodePool) HasName

func (o *NodePool) HasName() bool

HasName returns a boolean if a field has been set.

func (*NodePool) HasNodeCount

func (o *NodePool) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (*NodePool) HasRamSize

func (o *NodePool) HasRamSize() bool

HasRamSize returns a boolean if a field has been set.

func (*NodePool) HasStorageSize

func (o *NodePool) HasStorageSize() bool

HasStorageSize returns a boolean if a field has been set.

func (*NodePool) HasStorageType

func (o *NodePool) HasStorageType() bool

HasStorageType returns a boolean if a field has been set.

func (NodePool) MarshalJSON

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

func (*NodePool) SetAnnotations

func (o *NodePool) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*NodePool) SetAvailabilityZone

func (o *NodePool) SetAvailabilityZone(v AvailabilityZone)

SetAvailabilityZone sets field value

func (*NodePool) SetCoresCount

func (o *NodePool) SetCoresCount(v int32)

SetCoresCount sets field value

func (*NodePool) SetCpuFamily

func (o *NodePool) SetCpuFamily(v string)

SetCpuFamily sets field value

func (*NodePool) SetDataPlatformVersion

func (o *NodePool) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*NodePool) SetDatacenterId

func (o *NodePool) SetDatacenterId(v string)

SetDatacenterId sets field value

func (*NodePool) SetLabels

func (o *NodePool) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*NodePool) SetMaintenanceWindow

func (o *NodePool) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*NodePool) SetName

func (o *NodePool) SetName(v string)

SetName sets field value

func (*NodePool) SetNodeCount

func (o *NodePool) SetNodeCount(v int32)

SetNodeCount sets field value

func (*NodePool) SetRamSize

func (o *NodePool) SetRamSize(v int32)

SetRamSize sets field value

func (*NodePool) SetStorageSize

func (o *NodePool) SetStorageSize(v int32)

SetStorageSize sets field value

func (*NodePool) SetStorageType

func (o *NodePool) SetStorageType(v StorageType)

SetStorageType sets field value

type NodePoolListResponseData

type NodePoolListResponseData struct {
	// The ID of a list of resources.
	Id    *string                 `json:"id,omitempty"`
	Type  *string                 `json:"type,omitempty"`
	Href  *string                 `json:"href,omitempty"`
	Items *[]NodePoolResponseData `json:"items"`
}

NodePoolListResponseData Data of a node pool list.

func NewNodePoolListResponseData

func NewNodePoolListResponseData(items []NodePoolResponseData) *NodePoolListResponseData

NewNodePoolListResponseData instantiates a new NodePoolListResponseData 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 NewNodePoolListResponseDataWithDefaults

func NewNodePoolListResponseDataWithDefaults() *NodePoolListResponseData

NewNodePoolListResponseDataWithDefaults instantiates a new NodePoolListResponseData 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 (*NodePoolListResponseData) GetHref

func (o *NodePoolListResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetHrefOk

func (o *NodePoolListResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href 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 (*NodePoolListResponseData) GetId

func (o *NodePoolListResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetIdOk

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

GetIdOk returns a tuple with the Id 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 (*NodePoolListResponseData) GetItems

GetItems returns the Items field value If the value is explicit nil, the zero value for []NodePoolResponseData will be returned

func (*NodePoolListResponseData) GetItemsOk

func (o *NodePoolListResponseData) GetItemsOk() (*[]NodePoolResponseData, bool)

GetItemsOk returns a tuple with the Items 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 (*NodePoolListResponseData) GetType

func (o *NodePoolListResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolListResponseData) GetTypeOk

func (o *NodePoolListResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type 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 (*NodePoolListResponseData) HasHref

func (o *NodePoolListResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasId

func (o *NodePoolListResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasItems

func (o *NodePoolListResponseData) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*NodePoolListResponseData) HasType

func (o *NodePoolListResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (NodePoolListResponseData) MarshalJSON

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

func (*NodePoolListResponseData) SetHref

func (o *NodePoolListResponseData) SetHref(v string)

SetHref sets field value

func (*NodePoolListResponseData) SetId

func (o *NodePoolListResponseData) SetId(v string)

SetId sets field value

func (*NodePoolListResponseData) SetItems

SetItems sets field value

func (*NodePoolListResponseData) SetType

func (o *NodePoolListResponseData) SetType(v string)

SetType sets field value

type NodePoolResponseData

type NodePoolResponseData struct {
	// The unique ID of the resource. Must conform to the UUID format.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type,omitempty"`
	// URL to the object representation (absolute path).
	Href       *string   `json:"href,omitempty"`
	Metadata   *Metadata `json:"metadata"`
	Properties *NodePool `json:"properties"`
}

NodePoolResponseData Data of a node pool.

func NewNodePoolResponseData

func NewNodePoolResponseData(id string, metadata Metadata, properties NodePool) *NodePoolResponseData

NewNodePoolResponseData instantiates a new NodePoolResponseData 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 NewNodePoolResponseDataWithDefaults

func NewNodePoolResponseDataWithDefaults() *NodePoolResponseData

NewNodePoolResponseDataWithDefaults instantiates a new NodePoolResponseData 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 (*NodePoolResponseData) GetHref

func (o *NodePoolResponseData) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetHrefOk

func (o *NodePoolResponseData) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href 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 (*NodePoolResponseData) GetId

func (o *NodePoolResponseData) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetIdOk

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

GetIdOk returns a tuple with the Id 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 (*NodePoolResponseData) GetMetadata

func (o *NodePoolResponseData) GetMetadata() *Metadata

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for Metadata will be returned

func (*NodePoolResponseData) GetMetadataOk

func (o *NodePoolResponseData) GetMetadataOk() (*Metadata, bool)

GetMetadataOk returns a tuple with the Metadata 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 (*NodePoolResponseData) GetProperties

func (o *NodePoolResponseData) GetProperties() *NodePool

GetProperties returns the Properties field value If the value is explicit nil, the zero value for NodePool will be returned

func (*NodePoolResponseData) GetPropertiesOk

func (o *NodePoolResponseData) GetPropertiesOk() (*NodePool, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*NodePoolResponseData) GetType

func (o *NodePoolResponseData) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*NodePoolResponseData) GetTypeOk

func (o *NodePoolResponseData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type 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 (*NodePoolResponseData) HasHref

func (o *NodePoolResponseData) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*NodePoolResponseData) HasId

func (o *NodePoolResponseData) HasId() bool

HasId returns a boolean if a field has been set.

func (*NodePoolResponseData) HasMetadata

func (o *NodePoolResponseData) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*NodePoolResponseData) HasProperties

func (o *NodePoolResponseData) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*NodePoolResponseData) HasType

func (o *NodePoolResponseData) HasType() bool

HasType returns a boolean if a field has been set.

func (NodePoolResponseData) MarshalJSON

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

func (*NodePoolResponseData) SetHref

func (o *NodePoolResponseData) SetHref(v string)

SetHref sets field value

func (*NodePoolResponseData) SetId

func (o *NodePoolResponseData) SetId(v string)

SetId sets field value

func (*NodePoolResponseData) SetMetadata

func (o *NodePoolResponseData) SetMetadata(v Metadata)

SetMetadata sets field value

func (*NodePoolResponseData) SetProperties

func (o *NodePoolResponseData) SetProperties(v NodePool)

SetProperties sets field value

func (*NodePoolResponseData) SetType

func (o *NodePoolResponseData) SetType(v string)

SetType sets field value

type NullableAvailabilityZone

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

func NewNullableAvailabilityZone

func NewNullableAvailabilityZone(val *AvailabilityZone) *NullableAvailabilityZone

func (NullableAvailabilityZone) Get

func (NullableAvailabilityZone) IsSet

func (v NullableAvailabilityZone) IsSet() bool

func (NullableAvailabilityZone) MarshalJSON

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

func (*NullableAvailabilityZone) Set

func (*NullableAvailabilityZone) UnmarshalJSON

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

func (*NullableAvailabilityZone) Unset

func (v *NullableAvailabilityZone) Unset()

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 NullableCluster

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

func NewNullableCluster

func NewNullableCluster(val *Cluster) *NullableCluster

func (NullableCluster) Get

func (v NullableCluster) Get() *Cluster

func (NullableCluster) IsSet

func (v NullableCluster) IsSet() bool

func (NullableCluster) MarshalJSON

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

func (*NullableCluster) Set

func (v *NullableCluster) Set(val *Cluster)

func (*NullableCluster) UnmarshalJSON

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

func (*NullableCluster) Unset

func (v *NullableCluster) Unset()

type NullableClusterListResponseData

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

func (NullableClusterListResponseData) Get

func (NullableClusterListResponseData) IsSet

func (NullableClusterListResponseData) MarshalJSON

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

func (*NullableClusterListResponseData) Set

func (*NullableClusterListResponseData) UnmarshalJSON

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

func (*NullableClusterListResponseData) Unset

type NullableClusterResponseData

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

func NewNullableClusterResponseData

func NewNullableClusterResponseData(val *ClusterResponseData) *NullableClusterResponseData

func (NullableClusterResponseData) Get

func (NullableClusterResponseData) IsSet

func (NullableClusterResponseData) MarshalJSON

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

func (*NullableClusterResponseData) Set

func (*NullableClusterResponseData) UnmarshalJSON

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

func (*NullableClusterResponseData) Unset

func (v *NullableClusterResponseData) Unset()

type NullableCreateClusterProperties

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

func (NullableCreateClusterProperties) Get

func (NullableCreateClusterProperties) IsSet

func (NullableCreateClusterProperties) MarshalJSON

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

func (*NullableCreateClusterProperties) Set

func (*NullableCreateClusterProperties) UnmarshalJSON

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

func (*NullableCreateClusterProperties) Unset

type NullableCreateClusterRequest

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

func NewNullableCreateClusterRequest

func NewNullableCreateClusterRequest(val *CreateClusterRequest) *NullableCreateClusterRequest

func (NullableCreateClusterRequest) Get

func (NullableCreateClusterRequest) IsSet

func (NullableCreateClusterRequest) MarshalJSON

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

func (*NullableCreateClusterRequest) Set

func (*NullableCreateClusterRequest) UnmarshalJSON

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

func (*NullableCreateClusterRequest) Unset

func (v *NullableCreateClusterRequest) Unset()

type NullableCreateNodePoolProperties

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

func (NullableCreateNodePoolProperties) Get

func (NullableCreateNodePoolProperties) IsSet

func (NullableCreateNodePoolProperties) MarshalJSON

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

func (*NullableCreateNodePoolProperties) Set

func (*NullableCreateNodePoolProperties) UnmarshalJSON

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

func (*NullableCreateNodePoolProperties) Unset

type NullableCreateNodePoolRequest

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

func (NullableCreateNodePoolRequest) Get

func (NullableCreateNodePoolRequest) IsSet

func (NullableCreateNodePoolRequest) MarshalJSON

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

func (*NullableCreateNodePoolRequest) Set

func (*NullableCreateNodePoolRequest) UnmarshalJSON

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

func (*NullableCreateNodePoolRequest) Unset

func (v *NullableCreateNodePoolRequest) Unset()

type NullableErrorMessage

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

func NewNullableErrorMessage

func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage

func (NullableErrorMessage) Get

func (NullableErrorMessage) IsSet

func (v NullableErrorMessage) IsSet() bool

func (NullableErrorMessage) MarshalJSON

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

func (*NullableErrorMessage) Set

func (v *NullableErrorMessage) Set(val *ErrorMessage)

func (*NullableErrorMessage) UnmarshalJSON

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

func (*NullableErrorMessage) Unset

func (v *NullableErrorMessage) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 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 NullableLan added in v1.0.3

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

func NewNullableLan added in v1.0.3

func NewNullableLan(val *Lan) *NullableLan

func (NullableLan) Get added in v1.0.3

func (v NullableLan) Get() *Lan

func (NullableLan) IsSet added in v1.0.3

func (v NullableLan) IsSet() bool

func (NullableLan) MarshalJSON added in v1.0.3

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

func (*NullableLan) Set added in v1.0.3

func (v *NullableLan) Set(val *Lan)

func (*NullableLan) UnmarshalJSON added in v1.0.3

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

func (*NullableLan) Unset added in v1.0.3

func (v *NullableLan) Unset()

type NullableMaintenanceWindow

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

func NewNullableMaintenanceWindow

func NewNullableMaintenanceWindow(val *MaintenanceWindow) *NullableMaintenanceWindow

func (NullableMaintenanceWindow) Get

func (NullableMaintenanceWindow) IsSet

func (v NullableMaintenanceWindow) IsSet() bool

func (NullableMaintenanceWindow) MarshalJSON

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

func (*NullableMaintenanceWindow) Set

func (*NullableMaintenanceWindow) UnmarshalJSON

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

func (*NullableMaintenanceWindow) Unset

func (v *NullableMaintenanceWindow) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableNodePool

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

func NewNullableNodePool

func NewNullableNodePool(val *NodePool) *NullableNodePool

func (NullableNodePool) Get

func (v NullableNodePool) Get() *NodePool

func (NullableNodePool) IsSet

func (v NullableNodePool) IsSet() bool

func (NullableNodePool) MarshalJSON

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

func (*NullableNodePool) Set

func (v *NullableNodePool) Set(val *NodePool)

func (*NullableNodePool) UnmarshalJSON

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

func (*NullableNodePool) Unset

func (v *NullableNodePool) Unset()

type NullableNodePoolListResponseData

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

func (NullableNodePoolListResponseData) Get

func (NullableNodePoolListResponseData) IsSet

func (NullableNodePoolListResponseData) MarshalJSON

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

func (*NullableNodePoolListResponseData) Set

func (*NullableNodePoolListResponseData) UnmarshalJSON

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

func (*NullableNodePoolListResponseData) Unset

type NullableNodePoolResponseData

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

func NewNullableNodePoolResponseData

func NewNullableNodePoolResponseData(val *NodePoolResponseData) *NullableNodePoolResponseData

func (NullableNodePoolResponseData) Get

func (NullableNodePoolResponseData) IsSet

func (NullableNodePoolResponseData) MarshalJSON

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

func (*NullableNodePoolResponseData) Set

func (*NullableNodePoolResponseData) UnmarshalJSON

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

func (*NullableNodePoolResponseData) Unset

func (v *NullableNodePoolResponseData) Unset()

type NullablePatchClusterProperties

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

func (NullablePatchClusterProperties) Get

func (NullablePatchClusterProperties) IsSet

func (NullablePatchClusterProperties) MarshalJSON

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

func (*NullablePatchClusterProperties) Set

func (*NullablePatchClusterProperties) UnmarshalJSON

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

func (*NullablePatchClusterProperties) Unset

func (v *NullablePatchClusterProperties) Unset()

type NullablePatchClusterRequest

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

func NewNullablePatchClusterRequest

func NewNullablePatchClusterRequest(val *PatchClusterRequest) *NullablePatchClusterRequest

func (NullablePatchClusterRequest) Get

func (NullablePatchClusterRequest) IsSet

func (NullablePatchClusterRequest) MarshalJSON

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

func (*NullablePatchClusterRequest) Set

func (*NullablePatchClusterRequest) UnmarshalJSON

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

func (*NullablePatchClusterRequest) Unset

func (v *NullablePatchClusterRequest) Unset()

type NullablePatchNodePoolProperties

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

func (NullablePatchNodePoolProperties) Get

func (NullablePatchNodePoolProperties) IsSet

func (NullablePatchNodePoolProperties) MarshalJSON

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

func (*NullablePatchNodePoolProperties) Set

func (*NullablePatchNodePoolProperties) UnmarshalJSON

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

func (*NullablePatchNodePoolProperties) Unset

type NullablePatchNodePoolRequest

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

func NewNullablePatchNodePoolRequest

func NewNullablePatchNodePoolRequest(val *PatchNodePoolRequest) *NullablePatchNodePoolRequest

func (NullablePatchNodePoolRequest) Get

func (NullablePatchNodePoolRequest) IsSet

func (NullablePatchNodePoolRequest) MarshalJSON

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

func (*NullablePatchNodePoolRequest) Set

func (*NullablePatchNodePoolRequest) UnmarshalJSON

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

func (*NullablePatchNodePoolRequest) Unset

func (v *NullablePatchNodePoolRequest) Unset()

type NullableRoute added in v1.0.3

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

func NewNullableRoute added in v1.0.3

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get added in v1.0.3

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet added in v1.0.3

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON added in v1.0.3

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

func (*NullableRoute) Set added in v1.0.3

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON added in v1.0.3

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

func (*NullableRoute) Unset added in v1.0.3

func (v *NullableRoute) Unset()

type NullableStorageType

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

func NewNullableStorageType

func NewNullableStorageType(val *StorageType) *NullableStorageType

func (NullableStorageType) Get

func (NullableStorageType) IsSet

func (v NullableStorageType) IsSet() bool

func (NullableStorageType) MarshalJSON

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

func (*NullableStorageType) Set

func (v *NullableStorageType) Set(val *StorageType)

func (*NullableStorageType) UnmarshalJSON

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

func (*NullableStorageType) Unset

func (v *NullableStorageType) 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 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 NullableVersionsGet200Response added in v1.0.2

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

func NewNullableVersionsGet200Response added in v1.0.2

func NewNullableVersionsGet200Response(val *VersionsGet200Response) *NullableVersionsGet200Response

func (NullableVersionsGet200Response) Get added in v1.0.2

func (NullableVersionsGet200Response) IsSet added in v1.0.2

func (NullableVersionsGet200Response) MarshalJSON added in v1.0.2

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

func (*NullableVersionsGet200Response) Set added in v1.0.2

func (*NullableVersionsGet200Response) UnmarshalJSON added in v1.0.2

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

func (*NullableVersionsGet200Response) Unset added in v1.0.2

func (v *NullableVersionsGet200Response) Unset()

type PatchClusterProperties

type PatchClusterProperties struct {
	// The name of your cluster. Must be 63 characters or less and must begin and end with an alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	Name *string `json:"name,omitempty"`
	// The version of the data platform.
	DataPlatformVersion *string            `json:"dataPlatformVersion,omitempty"`
	MaintenanceWindow   *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// A list of LANs you want this cluster to be part of.
	Lans *[]Lan `json:"lans,omitempty"`
}

PatchClusterProperties struct for PatchClusterProperties

func NewPatchClusterProperties

func NewPatchClusterProperties() *PatchClusterProperties

NewPatchClusterProperties instantiates a new PatchClusterProperties 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 NewPatchClusterPropertiesWithDefaults

func NewPatchClusterPropertiesWithDefaults() *PatchClusterProperties

NewPatchClusterPropertiesWithDefaults instantiates a new PatchClusterProperties 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 (*PatchClusterProperties) GetDataPlatformVersion

func (o *PatchClusterProperties) GetDataPlatformVersion() *string

GetDataPlatformVersion returns the DataPlatformVersion field value If the value is explicit nil, the zero value for string will be returned

func (*PatchClusterProperties) GetDataPlatformVersionOk

func (o *PatchClusterProperties) GetDataPlatformVersionOk() (*string, bool)

GetDataPlatformVersionOk returns a tuple with the DataPlatformVersion 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 (*PatchClusterProperties) GetLans added in v1.0.3

func (o *PatchClusterProperties) GetLans() *[]Lan

GetLans returns the Lans field value If the value is explicit nil, the zero value for []Lan will be returned

func (*PatchClusterProperties) GetLansOk added in v1.0.3

func (o *PatchClusterProperties) GetLansOk() (*[]Lan, bool)

GetLansOk returns a tuple with the Lans 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 (*PatchClusterProperties) GetMaintenanceWindow

func (o *PatchClusterProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*PatchClusterProperties) GetMaintenanceWindowOk

func (o *PatchClusterProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*PatchClusterProperties) GetName

func (o *PatchClusterProperties) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*PatchClusterProperties) GetNameOk

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

GetNameOk returns a tuple with the Name 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 (*PatchClusterProperties) HasDataPlatformVersion

func (o *PatchClusterProperties) HasDataPlatformVersion() bool

HasDataPlatformVersion returns a boolean if a field has been set.

func (*PatchClusterProperties) HasLans added in v1.0.3

func (o *PatchClusterProperties) HasLans() bool

HasLans returns a boolean if a field has been set.

func (*PatchClusterProperties) HasMaintenanceWindow

func (o *PatchClusterProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*PatchClusterProperties) HasName

func (o *PatchClusterProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (PatchClusterProperties) MarshalJSON

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

func (*PatchClusterProperties) SetDataPlatformVersion

func (o *PatchClusterProperties) SetDataPlatformVersion(v string)

SetDataPlatformVersion sets field value

func (*PatchClusterProperties) SetLans added in v1.0.3

func (o *PatchClusterProperties) SetLans(v []Lan)

SetLans sets field value

func (*PatchClusterProperties) SetMaintenanceWindow

func (o *PatchClusterProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*PatchClusterProperties) SetName

func (o *PatchClusterProperties) SetName(v string)

SetName sets field value

type PatchClusterRequest

type PatchClusterRequest struct {
	Properties *PatchClusterProperties `json:"properties"`
}

PatchClusterRequest Data to update selected properties of a DataPlatformCluster.

func NewPatchClusterRequest

func NewPatchClusterRequest(properties PatchClusterProperties) *PatchClusterRequest

NewPatchClusterRequest instantiates a new PatchClusterRequest 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 NewPatchClusterRequestWithDefaults

func NewPatchClusterRequestWithDefaults() *PatchClusterRequest

NewPatchClusterRequestWithDefaults instantiates a new PatchClusterRequest 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 (*PatchClusterRequest) GetProperties

func (o *PatchClusterRequest) GetProperties() *PatchClusterProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchClusterProperties will be returned

func (*PatchClusterRequest) GetPropertiesOk

func (o *PatchClusterRequest) GetPropertiesOk() (*PatchClusterProperties, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*PatchClusterRequest) HasProperties

func (o *PatchClusterRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PatchClusterRequest) MarshalJSON

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

func (*PatchClusterRequest) SetProperties

func (o *PatchClusterRequest) SetProperties(v PatchClusterProperties)

SetProperties sets field value

type PatchNodePoolProperties

type PatchNodePoolProperties struct {
	// The number of nodes that make up the node pool.
	NodeCount         *int32             `json:"nodeCount,omitempty"`
	MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"`
	// Key-value pairs attached to the node pool resource as [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
	Labels *map[string]interface{} `json:"labels,omitempty"`
	// Key-value pairs attached to node pool resource as [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).
	Annotations *map[string]interface{} `json:"annotations,omitempty"`
}

PatchNodePoolProperties struct for PatchNodePoolProperties

func NewPatchNodePoolProperties

func NewPatchNodePoolProperties() *PatchNodePoolProperties

NewPatchNodePoolProperties instantiates a new PatchNodePoolProperties 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 NewPatchNodePoolPropertiesWithDefaults

func NewPatchNodePoolPropertiesWithDefaults() *PatchNodePoolProperties

NewPatchNodePoolPropertiesWithDefaults instantiates a new PatchNodePoolProperties 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 (*PatchNodePoolProperties) GetAnnotations

func (o *PatchNodePoolProperties) GetAnnotations() *map[string]interface{}

GetAnnotations returns the Annotations field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*PatchNodePoolProperties) GetAnnotationsOk

func (o *PatchNodePoolProperties) GetAnnotationsOk() (*map[string]interface{}, bool)

GetAnnotationsOk returns a tuple with the Annotations 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 (*PatchNodePoolProperties) GetLabels

func (o *PatchNodePoolProperties) GetLabels() *map[string]interface{}

GetLabels returns the Labels field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*PatchNodePoolProperties) GetLabelsOk

func (o *PatchNodePoolProperties) GetLabelsOk() (*map[string]interface{}, bool)

GetLabelsOk returns a tuple with the Labels 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 (*PatchNodePoolProperties) GetMaintenanceWindow

func (o *PatchNodePoolProperties) GetMaintenanceWindow() *MaintenanceWindow

GetMaintenanceWindow returns the MaintenanceWindow field value If the value is explicit nil, the zero value for MaintenanceWindow will be returned

func (*PatchNodePoolProperties) GetMaintenanceWindowOk

func (o *PatchNodePoolProperties) GetMaintenanceWindowOk() (*MaintenanceWindow, bool)

GetMaintenanceWindowOk returns a tuple with the MaintenanceWindow 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 (*PatchNodePoolProperties) GetNodeCount

func (o *PatchNodePoolProperties) GetNodeCount() *int32

GetNodeCount returns the NodeCount field value If the value is explicit nil, the zero value for int32 will be returned

func (*PatchNodePoolProperties) GetNodeCountOk

func (o *PatchNodePoolProperties) GetNodeCountOk() (*int32, bool)

GetNodeCountOk returns a tuple with the NodeCount 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 (*PatchNodePoolProperties) HasAnnotations

func (o *PatchNodePoolProperties) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasLabels

func (o *PatchNodePoolProperties) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasMaintenanceWindow

func (o *PatchNodePoolProperties) HasMaintenanceWindow() bool

HasMaintenanceWindow returns a boolean if a field has been set.

func (*PatchNodePoolProperties) HasNodeCount

func (o *PatchNodePoolProperties) HasNodeCount() bool

HasNodeCount returns a boolean if a field has been set.

func (PatchNodePoolProperties) MarshalJSON

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

func (*PatchNodePoolProperties) SetAnnotations

func (o *PatchNodePoolProperties) SetAnnotations(v map[string]interface{})

SetAnnotations sets field value

func (*PatchNodePoolProperties) SetLabels

func (o *PatchNodePoolProperties) SetLabels(v map[string]interface{})

SetLabels sets field value

func (*PatchNodePoolProperties) SetMaintenanceWindow

func (o *PatchNodePoolProperties) SetMaintenanceWindow(v MaintenanceWindow)

SetMaintenanceWindow sets field value

func (*PatchNodePoolProperties) SetNodeCount

func (o *PatchNodePoolProperties) SetNodeCount(v int32)

SetNodeCount sets field value

type PatchNodePoolRequest

type PatchNodePoolRequest struct {
	Properties *PatchNodePoolProperties `json:"properties"`
}

PatchNodePoolRequest Data to update selected properties of a node pool for a DataPlatformNodePool.

func NewPatchNodePoolRequest

func NewPatchNodePoolRequest(properties PatchNodePoolProperties) *PatchNodePoolRequest

NewPatchNodePoolRequest instantiates a new PatchNodePoolRequest 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 NewPatchNodePoolRequestWithDefaults

func NewPatchNodePoolRequestWithDefaults() *PatchNodePoolRequest

NewPatchNodePoolRequestWithDefaults instantiates a new PatchNodePoolRequest 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 (*PatchNodePoolRequest) GetProperties

func (o *PatchNodePoolRequest) GetProperties() *PatchNodePoolProperties

GetProperties returns the Properties field value If the value is explicit nil, the zero value for PatchNodePoolProperties will be returned

func (*PatchNodePoolRequest) GetPropertiesOk

func (o *PatchNodePoolRequest) GetPropertiesOk() (*PatchNodePoolProperties, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*PatchNodePoolRequest) HasProperties

func (o *PatchNodePoolRequest) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PatchNodePoolRequest) MarshalJSON

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

func (*PatchNodePoolRequest) SetProperties

func (o *PatchNodePoolRequest) SetProperties(v PatchNodePoolProperties)

SetProperties sets field value

type Route added in v1.0.3

type Route struct {
	// IPv4 or IPv6 CIDR to be routed via the interface.
	Network *string `json:"network"`
	// IPv4 or IPv6 gateway IP for the route.
	Gateway *string `json:"gateway"`
}

Route A LAN route.

func NewRoute added in v1.0.3

func NewRoute(network string, gateway string) *Route

NewRoute instantiates a new Route 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 NewRouteWithDefaults added in v1.0.3

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route 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 (*Route) GetGateway added in v1.0.3

func (o *Route) GetGateway() *string

GetGateway returns the Gateway field value If the value is explicit nil, the zero value for string will be returned

func (*Route) GetGatewayOk added in v1.0.3

func (o *Route) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway 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 (*Route) GetNetwork added in v1.0.3

func (o *Route) GetNetwork() *string

GetNetwork returns the Network field value If the value is explicit nil, the zero value for string will be returned

func (*Route) GetNetworkOk added in v1.0.3

func (o *Route) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network 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 (*Route) HasGateway added in v1.0.3

func (o *Route) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*Route) HasNetwork added in v1.0.3

func (o *Route) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (Route) MarshalJSON added in v1.0.3

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

func (*Route) SetGateway added in v1.0.3

func (o *Route) SetGateway(v string)

SetGateway sets field value

func (*Route) SetNetwork added in v1.0.3

func (o *Route) SetNetwork(v string)

SetNetwork sets field value

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 StorageType

type StorageType string

StorageType The type of hardware for the volume.

const (
	STORAGETYPE_HDD StorageType = "HDD"
	STORAGETYPE_SSD StorageType = "SSD"
)

List of StorageType

func (StorageType) Ptr

func (v StorageType) Ptr() *StorageType

Ptr returns reference to StorageType value

func (*StorageType) UnmarshalJSON

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

type TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

type VersionsGet200Response added in v1.0.2

type VersionsGet200Response struct {
	// The ID of a list of resources.
	Id    *string   `json:"id,omitempty"`
	Type  *string   `json:"type,omitempty"`
	Href  *string   `json:"href,omitempty"`
	Items *[]string `json:"items"`
}

VersionsGet200Response struct for VersionsGet200Response

func NewVersionsGet200Response added in v1.0.2

func NewVersionsGet200Response(items []string) *VersionsGet200Response

NewVersionsGet200Response instantiates a new VersionsGet200Response 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 NewVersionsGet200ResponseWithDefaults added in v1.0.2

func NewVersionsGet200ResponseWithDefaults() *VersionsGet200Response

NewVersionsGet200ResponseWithDefaults instantiates a new VersionsGet200Response 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 (*VersionsGet200Response) GetHref added in v1.0.2

func (o *VersionsGet200Response) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*VersionsGet200Response) GetHrefOk added in v1.0.2

func (o *VersionsGet200Response) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href 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 (*VersionsGet200Response) GetId added in v1.0.2

func (o *VersionsGet200Response) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*VersionsGet200Response) GetIdOk added in v1.0.2

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

GetIdOk returns a tuple with the Id 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 (*VersionsGet200Response) GetItems added in v1.0.2

func (o *VersionsGet200Response) GetItems() *[]string

GetItems returns the Items field value If the value is explicit nil, the zero value for []string will be returned

func (*VersionsGet200Response) GetItemsOk added in v1.0.2

func (o *VersionsGet200Response) GetItemsOk() (*[]string, bool)

GetItemsOk returns a tuple with the Items 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 (*VersionsGet200Response) GetType added in v1.0.2

func (o *VersionsGet200Response) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*VersionsGet200Response) GetTypeOk added in v1.0.2

func (o *VersionsGet200Response) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type 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 (*VersionsGet200Response) HasHref added in v1.0.2

func (o *VersionsGet200Response) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VersionsGet200Response) HasId added in v1.0.2

func (o *VersionsGet200Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*VersionsGet200Response) HasItems added in v1.0.2

func (o *VersionsGet200Response) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*VersionsGet200Response) HasType added in v1.0.2

func (o *VersionsGet200Response) HasType() bool

HasType returns a boolean if a field has been set.

func (VersionsGet200Response) MarshalJSON added in v1.0.2

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

func (*VersionsGet200Response) SetHref added in v1.0.2

func (o *VersionsGet200Response) SetHref(v string)

SetHref sets field value

func (*VersionsGet200Response) SetId added in v1.0.2

func (o *VersionsGet200Response) SetId(v string)

SetId sets field value

func (*VersionsGet200Response) SetItems added in v1.0.2

func (o *VersionsGet200Response) SetItems(v []string)

SetItems sets field value

func (*VersionsGet200Response) SetType added in v1.0.2

func (o *VersionsGet200Response) SetType(v string)

SetType sets field value

Jump to

Keyboard shortcuts

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