shared

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSLogSink

type AWSLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the AWS S3 log sink.
	SinkData SinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType SinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

AWSLogSink - Create a log sink using AWS S3

func (*AWSLogSink) GetDescription

func (o *AWSLogSink) GetDescription() *string

func (*AWSLogSink) GetForwardAccessLogs

func (o *AWSLogSink) GetForwardAccessLogs() *bool

func (*AWSLogSink) GetName

func (o *AWSLogSink) GetName() string

func (*AWSLogSink) GetProjects

func (o *AWSLogSink) GetProjects() []string

func (*AWSLogSink) GetRestricted

func (o *AWSLogSink) GetRestricted() *bool

func (*AWSLogSink) GetSinkData

func (o *AWSLogSink) GetSinkData() SinkData

func (*AWSLogSink) GetSinkType

func (o *AWSLogSink) GetSinkType() SinkType

func (*AWSLogSink) GetUseCustomLabels

func (o *AWSLogSink) GetUseCustomLabels() *bool

func (AWSLogSink) MarshalJSON

func (a AWSLogSink) MarshalJSON() ([]byte, error)

func (*AWSLogSink) UnmarshalJSON

func (a *AWSLogSink) UnmarshalJSON(data []byte) error

type AddRegistryType1

type AddRegistryType1 struct {
	// Description of the credentials.
	Description string `json:"description"`
	// Name of the credentials.
	Name string `json:"name"`
	// Password, Personal Access Token, or API key for the container registry.
	Password string `json:"password"`
	// The registry provider associated with this set of credentials.
	Provider Provider `json:"provider"`
	// Custom url for the container registry. Only usable (and required) when `provider` is `custom`.
	RegistryURL *string `json:"registryUrl,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *Restrictions `json:"restrictions,omitempty"`
	// Username for the container registry.
	Username string `json:"username"`
}

func (*AddRegistryType1) GetDescription

func (o *AddRegistryType1) GetDescription() string

func (*AddRegistryType1) GetName

func (o *AddRegistryType1) GetName() string

func (*AddRegistryType1) GetPassword

func (o *AddRegistryType1) GetPassword() string

func (*AddRegistryType1) GetProvider

func (o *AddRegistryType1) GetProvider() Provider

func (*AddRegistryType1) GetRegistryURL

func (o *AddRegistryType1) GetRegistryURL() *string

func (*AddRegistryType1) GetRestrictions

func (o *AddRegistryType1) GetRestrictions() *Restrictions

func (*AddRegistryType1) GetUsername

func (o *AddRegistryType1) GetUsername() string

type AddRegistryType2

type AddRegistryType2 struct {
	// Description of the credentials.
	Description string `json:"description"`
	// Contents of `keyfile.json`, used to authenticate with Google Container Registry.
	Keyfile Keyfile `json:"keyfile"`
	// Name of the credentials.
	Name string `json:"name"`
	// The registry provider associated with this set of credentials.
	Provider AddRegistryType2Provider `json:"provider"`
	// Custom url for the container registry. Only usable (and required) when `provider` is `custom`.
	RegistryURL *string `json:"registryUrl,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *AddRegistryType2Restrictions `json:"restrictions,omitempty"`
}

AddRegistryType2 - Authenticate with a `keyfile.json`. Used for authenticating with Google Container Registry.

func (*AddRegistryType2) GetDescription

func (o *AddRegistryType2) GetDescription() string

func (*AddRegistryType2) GetKeyfile

func (o *AddRegistryType2) GetKeyfile() Keyfile

func (*AddRegistryType2) GetName

func (o *AddRegistryType2) GetName() string

func (*AddRegistryType2) GetProvider

func (o *AddRegistryType2) GetProvider() AddRegistryType2Provider

func (*AddRegistryType2) GetRegistryURL

func (o *AddRegistryType2) GetRegistryURL() *string

func (*AddRegistryType2) GetRestrictions

func (o *AddRegistryType2) GetRestrictions() *AddRegistryType2Restrictions

type AddRegistryType2Provider

type AddRegistryType2Provider string

AddRegistryType2Provider - The registry provider associated with this set of credentials.

const (
	AddRegistryType2ProviderDockerhub AddRegistryType2Provider = "dockerhub"
	AddRegistryType2ProviderGcr       AddRegistryType2Provider = "gcr"
	AddRegistryType2ProviderGcrEu     AddRegistryType2Provider = "gcr-eu"
	AddRegistryType2ProviderGcrUs     AddRegistryType2Provider = "gcr-us"
	AddRegistryType2ProviderGitlab    AddRegistryType2Provider = "gitlab"
	AddRegistryType2ProviderGithub    AddRegistryType2Provider = "github"
	AddRegistryType2ProviderCustom    AddRegistryType2Provider = "custom"
)

func (AddRegistryType2Provider) ToPointer

func (*AddRegistryType2Provider) UnmarshalJSON

func (e *AddRegistryType2Provider) UnmarshalJSON(data []byte) error

type AddRegistryType2Restrictions

type AddRegistryType2Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted *bool `default:"false" json:"restricted"`
}

AddRegistryType2Restrictions - Data about whether the credentials are restricted to certain projects.

func (*AddRegistryType2Restrictions) GetProjects

func (o *AddRegistryType2Restrictions) GetProjects() []string

func (*AddRegistryType2Restrictions) GetRestricted

func (o *AddRegistryType2Restrictions) GetRestricted() *bool

func (AddRegistryType2Restrictions) MarshalJSON

func (a AddRegistryType2Restrictions) MarshalJSON() ([]byte, error)

func (*AddRegistryType2Restrictions) UnmarshalJSON

func (a *AddRegistryType2Restrictions) UnmarshalJSON(data []byte) error

type AddRegistryType3

type AddRegistryType3 struct {
	// The `auths` data extracted from your Docker config file.
	Auths Auths `json:"auths"`
	// Description of the credentials.
	Description string `json:"description"`
	// Name of the credentials.
	Name string `json:"name"`
	// The registry provider associated with this set of credentials.
	Provider AddRegistryType3Provider `json:"provider"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *AddRegistryType3Restrictions `json:"restrictions,omitempty"`
}

AddRegistryType3 - Validate with a docker config file.

func (*AddRegistryType3) GetAuths

func (o *AddRegistryType3) GetAuths() Auths

func (*AddRegistryType3) GetDescription

func (o *AddRegistryType3) GetDescription() string

func (*AddRegistryType3) GetName

func (o *AddRegistryType3) GetName() string

func (*AddRegistryType3) GetProvider

func (o *AddRegistryType3) GetProvider() AddRegistryType3Provider

func (*AddRegistryType3) GetRestrictions

func (o *AddRegistryType3) GetRestrictions() *AddRegistryType3Restrictions

type AddRegistryType3Provider

type AddRegistryType3Provider string

AddRegistryType3Provider - The registry provider associated with this set of credentials.

const (
	AddRegistryType3ProviderDockerhub AddRegistryType3Provider = "dockerhub"
	AddRegistryType3ProviderGcr       AddRegistryType3Provider = "gcr"
	AddRegistryType3ProviderGcrEu     AddRegistryType3Provider = "gcr-eu"
	AddRegistryType3ProviderGcrUs     AddRegistryType3Provider = "gcr-us"
	AddRegistryType3ProviderGitlab    AddRegistryType3Provider = "gitlab"
	AddRegistryType3ProviderGithub    AddRegistryType3Provider = "github"
	AddRegistryType3ProviderCustom    AddRegistryType3Provider = "custom"
)

func (AddRegistryType3Provider) ToPointer

func (*AddRegistryType3Provider) UnmarshalJSON

func (e *AddRegistryType3Provider) UnmarshalJSON(data []byte) error

type AddRegistryType3Restrictions

type AddRegistryType3Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted *bool `default:"false" json:"restricted"`
}

AddRegistryType3Restrictions - Data about whether the credentials are restricted to certain projects.

func (*AddRegistryType3Restrictions) GetProjects

func (o *AddRegistryType3Restrictions) GetProjects() []string

func (*AddRegistryType3Restrictions) GetRestricted

func (o *AddRegistryType3Restrictions) GetRestricted() *bool

func (AddRegistryType3Restrictions) MarshalJSON

func (a AddRegistryType3Restrictions) MarshalJSON() ([]byte, error)

func (*AddRegistryType3Restrictions) UnmarshalJSON

func (a *AddRegistryType3Restrictions) UnmarshalJSON(data []byte) error

type AddSubDomainRequest

type AddSubDomainRequest struct {
	// Optional CDN configuration. Currently only available for select users.
	Cdn *Cdn `json:"cdn,omitempty"`
	// A subdomain to be added.
	Subdomain string `json:"subdomain"`
}

func (*AddSubDomainRequest) GetCdn

func (o *AddSubDomainRequest) GetCdn() *Cdn

func (*AddSubDomainRequest) GetSubdomain

func (o *AddSubDomainRequest) GetSubdomain() string

type AddSubDomainResult

type AddSubDomainResult struct {
	// Result data.
	Data Data `json:"data"`
}

AddSubDomainResult - Response object.

func (*AddSubDomainResult) GetData

func (o *AddSubDomainResult) GetData() Data

type Addon

type Addon struct {
	// Duration addons have been running in this billing period, in seconds.
	Duration float32 `json:"duration"`
	// Details about the price for all addons in this project, broken down by resource type.
	Price *InvoiceDetailsResultSchemasPrice `json:"price,omitempty"`
}

func (*Addon) GetDuration

func (o *Addon) GetDuration() float32

func (*Addon) GetPrice

func (o *Addon) GetPrice() *InvoiceDetailsResultSchemasPrice

type AddonTypes

type AddonTypes struct {
	// A description of the addon.
	Description string `json:"description"`
	// Features supported by this addon type.
	Features *Features `json:"features,omitempty"`
	// A list of available major versions of the addon type.
	Major []string `json:"major"`
	// The name of the addon type.
	Name string `json:"name"`
	// Details about resource options for the addon type.
	Resources Resources `json:"resources"`
	// The identifier for the addon type.
	Type string `json:"type"`
	// A list of available versions of the addon type.
	Versions []string `json:"versions"`
}

func (*AddonTypes) GetDescription

func (o *AddonTypes) GetDescription() string

func (*AddonTypes) GetFeatures

func (o *AddonTypes) GetFeatures() *Features

func (*AddonTypes) GetMajor

func (o *AddonTypes) GetMajor() []string

func (*AddonTypes) GetName

func (o *AddonTypes) GetName() string

func (*AddonTypes) GetResources

func (o *AddonTypes) GetResources() Resources

func (*AddonTypes) GetType

func (o *AddonTypes) GetType() string

func (*AddonTypes) GetVersions

func (o *AddonTypes) GetVersions() []string

type AddonTypesResult

type AddonTypesResult struct {
	// Result data.
	Data AddonTypesResultData `json:"data"`
}

AddonTypesResult - Response object.

func (*AddonTypesResult) GetData

type AddonTypesResultData

type AddonTypesResultData struct {
	// A list of available addon types.
	AddonTypes []AddonTypes `json:"addonTypes"`
}

AddonTypesResultData - Result data.

func (*AddonTypesResultData) GetAddonTypes

func (o *AddonTypesResultData) GetAddonTypes() []AddonTypes

type AssignSubDomainRequest

type AssignSubDomainRequest struct {
	// The name of the port that will be assigned to the subdomain.
	PortName string `json:"portName"`
	// The ID of the project the service belongs to.
	ProjectID string `json:"projectId"`
	// The ID of the service to assign the subdomain to.
	ServiceID string `json:"serviceId"`
}

func (*AssignSubDomainRequest) GetPortName

func (o *AssignSubDomainRequest) GetPortName() string

func (*AssignSubDomainRequest) GetProjectID

func (o *AssignSubDomainRequest) GetProjectID() string

func (*AssignSubDomainRequest) GetServiceID

func (o *AssignSubDomainRequest) GetServiceID() string

type Auth

type Auth struct {
	// Access key id for the bucket.
	AccessKeyID string `json:"accessKeyId"`
	// Secret access key for the bucket.
	SecretAccessKey string `json:"secretAccessKey"`
}

Auth - Authentication object.

func (*Auth) GetAccessKeyID

func (o *Auth) GetAccessKeyID() string

func (*Auth) GetSecretAccessKey

func (o *Auth) GetSecretAccessKey() string

type AuthenticationStrategy

type AuthenticationStrategy string

AuthenticationStrategy - The authentication strategy.

const (
	AuthenticationStrategyPort AuthenticationStrategy = "port"
)

func (AuthenticationStrategy) ToPointer

func (*AuthenticationStrategy) UnmarshalJSON

func (e *AuthenticationStrategy) UnmarshalJSON(data []byte) error

type Auths

type Auths struct {
}

Auths - The `auths` data extracted from your Docker config file.

type Autoscaling

type Autoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

Autoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*Autoscaling) GetEnabled

func (o *Autoscaling) GetEnabled() *bool

func (*Autoscaling) GetMax

func (o *Autoscaling) GetMax() *int64

func (*Autoscaling) GetMin

func (o *Autoscaling) GetMin() *int64

func (Autoscaling) MarshalJSON

func (a Autoscaling) MarshalJSON() ([]byte, error)

func (*Autoscaling) UnmarshalJSON

func (a *Autoscaling) UnmarshalJSON(data []byte) error

type BranchesResult

type BranchesResult struct {
	// Result data.
	Data BranchesResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination Pagination `json:"pagination"`
}

BranchesResult - Response object.

func (*BranchesResult) GetData

func (o *BranchesResult) GetData() BranchesResultData

func (*BranchesResult) GetPagination

func (o *BranchesResult) GetPagination() Pagination

type BranchesResultData

type BranchesResultData struct {
	// The cursor returned from the previous page of results, used to request the next page.
	Cursor *string `json:"cursor,omitempty"`
	// The page number to access.
	Page *int64 `json:"page,omitempty"`
	// The number of results to display per request. Maximum of 100 results per page.
	PerPage *int64 `default:"50" json:"per_page"`
	// If provided, uses the given VCS link to access the repository's data.
	VcsLinkID *string `json:"vcs_link_id,omitempty"`
}

BranchesResultData - Result data.

func (*BranchesResultData) GetCursor

func (o *BranchesResultData) GetCursor() *string

func (*BranchesResultData) GetPage

func (o *BranchesResultData) GetPage() *int64

func (*BranchesResultData) GetPerPage

func (o *BranchesResultData) GetPerPage() *int64

func (*BranchesResultData) GetVcsLinkID

func (o *BranchesResultData) GetVcsLinkID() *string

func (BranchesResultData) MarshalJSON

func (b BranchesResultData) MarshalJSON() ([]byte, error)

func (*BranchesResultData) UnmarshalJSON

func (b *BranchesResultData) UnmarshalJSON(data []byte) error

type Builds

type Builds struct {
	// Cluster to use for scheduling builds
	ClusterID *string `json:"clusterId,omitempty"`
	Mode      *Mode   `json:"mode,omitempty"`
	// Plan to use for builds if they are run on the cluster
	Plan *string `json:"plan,omitempty"`
}

func (*Builds) GetClusterID

func (o *Builds) GetClusterID() *string

func (*Builds) GetMode

func (o *Builds) GetMode() *Mode

func (*Builds) GetPlan

func (o *Builds) GetPlan() *string

type CDNRequest

type CDNRequest struct {
	// Provider for which the CDN on the subdomain should be disabled.
	Provider string `json:"provider"`
}

func (*CDNRequest) GetProvider

func (o *CDNRequest) GetProvider() string

type Cdn

type Cdn struct {
	Cloudfront *Cloudfront `json:"cloudfront,omitempty"`
}

Cdn - Optional CDN configuration. Currently only available for select users.

func (*Cdn) GetCloudfront

func (o *Cdn) GetCloudfront() *Cloudfront

type CloudProvidersResult

type CloudProvidersResult struct {
	// Result data.
	Data CloudProvidersResultData `json:"data"`
}

CloudProvidersResult - Response object.

func (*CloudProvidersResult) GetData

type CloudProvidersResultData

type CloudProvidersResultData struct {
	// An array of supported cloud providers
	Providers []Providers `json:"providers"`
}

CloudProvidersResultData - Result data.

func (*CloudProvidersResultData) GetProviders

func (o *CloudProvidersResultData) GetProviders() []Providers

type Cloudfront

type Cloudfront struct {
	Enabled bool `json:"enabled"`
}

func (*Cloudfront) GetEnabled

func (o *Cloudfront) GetEnabled() bool

type ClusterDetailsResult

type ClusterDetailsResult struct {
	// Result data.
	Data ClusterDetailsResultData `json:"data"`
}

ClusterDetailsResult - Response object.

func (*ClusterDetailsResult) GetData

type ClusterDetailsResultAutoscaling

type ClusterDetailsResultAutoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

ClusterDetailsResultAutoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*ClusterDetailsResultAutoscaling) GetEnabled

func (o *ClusterDetailsResultAutoscaling) GetEnabled() *bool

func (*ClusterDetailsResultAutoscaling) GetMax

func (*ClusterDetailsResultAutoscaling) GetMin

func (ClusterDetailsResultAutoscaling) MarshalJSON

func (c ClusterDetailsResultAutoscaling) MarshalJSON() ([]byte, error)

func (*ClusterDetailsResultAutoscaling) UnmarshalJSON

func (c *ClusterDetailsResultAutoscaling) UnmarshalJSON(data []byte) error

type ClusterDetailsResultData

type ClusterDetailsResultData struct {
	// The time the cluster was created.
	CreatedAt time.Time `json:"createdAt"`
	// Indicates if provider resource deletion has been requested by the user.
	DeletionRequested bool `json:"deletionRequested"`
	// A short description of the cluster.
	Description *string `json:"description,omitempty"`
	// Identifier for the cluster.
	ID string `json:"id"`
	// ID of the provider integration used by this cluster.
	IntegrationID string `json:"integrationId"`
	// The name of the cluster.
	Name      string                        `json:"name"`
	NodePools ClusterDetailsResultNodePools `json:"nodePools"`
	// The cloud provider to which this cluster belongs to.
	Provider *string `json:"provider,omitempty"`
	Status   *Status `json:"status,omitempty"`
}

ClusterDetailsResultData - Result data.

func (*ClusterDetailsResultData) GetCreatedAt

func (o *ClusterDetailsResultData) GetCreatedAt() time.Time

func (*ClusterDetailsResultData) GetDeletionRequested

func (o *ClusterDetailsResultData) GetDeletionRequested() bool

func (*ClusterDetailsResultData) GetDescription

func (o *ClusterDetailsResultData) GetDescription() *string

func (*ClusterDetailsResultData) GetID

func (o *ClusterDetailsResultData) GetID() string

func (*ClusterDetailsResultData) GetIntegrationID

func (o *ClusterDetailsResultData) GetIntegrationID() string

func (*ClusterDetailsResultData) GetName

func (o *ClusterDetailsResultData) GetName() string

func (*ClusterDetailsResultData) GetNodePools

func (*ClusterDetailsResultData) GetProvider

func (o *ClusterDetailsResultData) GetProvider() *string

func (*ClusterDetailsResultData) GetStatus

func (o *ClusterDetailsResultData) GetStatus() *Status

func (ClusterDetailsResultData) MarshalJSON

func (c ClusterDetailsResultData) MarshalJSON() ([]byte, error)

func (*ClusterDetailsResultData) UnmarshalJSON

func (c *ClusterDetailsResultData) UnmarshalJSON(data []byte) error

type ClusterDetailsResultLabels

type ClusterDetailsResultLabels struct {
}

ClusterDetailsResultLabels - Set of label keys and values that can be used to determine scheduling via resource tags.

type ClusterDetailsResultNodePools

type ClusterDetailsResultNodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *ClusterDetailsResultAutoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools
	ID *string `json:"id,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *ClusterDetailsResultLabels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*ClusterDetailsResultNodePools) GetAutoscaling

func (*ClusterDetailsResultNodePools) GetAvailabilityZones

func (o *ClusterDetailsResultNodePools) GetAvailabilityZones() []string

func (*ClusterDetailsResultNodePools) GetDiskSize

func (o *ClusterDetailsResultNodePools) GetDiskSize() int64

func (*ClusterDetailsResultNodePools) GetDiskType

func (o *ClusterDetailsResultNodePools) GetDiskType() *string

func (*ClusterDetailsResultNodePools) GetID

func (*ClusterDetailsResultNodePools) GetLabels

func (*ClusterDetailsResultNodePools) GetNodeCount

func (o *ClusterDetailsResultNodePools) GetNodeCount() int64

func (*ClusterDetailsResultNodePools) GetNodeType

func (o *ClusterDetailsResultNodePools) GetNodeType() string

func (*ClusterDetailsResultNodePools) GetPreemptible

func (o *ClusterDetailsResultNodePools) GetPreemptible() *bool

func (*ClusterDetailsResultNodePools) GetSystemPool

func (o *ClusterDetailsResultNodePools) GetSystemPool() *bool

func (ClusterDetailsResultNodePools) MarshalJSON

func (c ClusterDetailsResultNodePools) MarshalJSON() ([]byte, error)

func (*ClusterDetailsResultNodePools) UnmarshalJSON

func (c *ClusterDetailsResultNodePools) UnmarshalJSON(data []byte) error

type Clusters

type Clusters struct {
	// The time the cluster was created.
	CreatedAt time.Time `json:"createdAt"`
	// Indicates if provider resource deletion has been requested by the user.
	DeletionRequested bool `json:"deletionRequested"`
	// A short description of the cluster.
	Description *string `json:"description,omitempty"`
	// Identifier for the cluster.
	ID string `json:"id"`
	// ID of the provider integration used by this cluster.
	IntegrationID string `json:"integrationId"`
	// The name of the cluster.
	Name      string                  `json:"name"`
	NodePools ClustersResultNodePools `json:"nodePools"`
	// The cloud provider to which this cluster belongs to.
	Provider *string               `json:"provider,omitempty"`
	Status   *ClustersResultStatus `json:"status,omitempty"`
}

Clusters - A cluster object.

func (*Clusters) GetCreatedAt

func (o *Clusters) GetCreatedAt() time.Time

func (*Clusters) GetDeletionRequested

func (o *Clusters) GetDeletionRequested() bool

func (*Clusters) GetDescription

func (o *Clusters) GetDescription() *string

func (*Clusters) GetID

func (o *Clusters) GetID() string

func (*Clusters) GetIntegrationID

func (o *Clusters) GetIntegrationID() string

func (*Clusters) GetName

func (o *Clusters) GetName() string

func (*Clusters) GetNodePools

func (o *Clusters) GetNodePools() ClustersResultNodePools

func (*Clusters) GetProvider

func (o *Clusters) GetProvider() *string

func (*Clusters) GetStatus

func (o *Clusters) GetStatus() *ClustersResultStatus

func (Clusters) MarshalJSON

func (c Clusters) MarshalJSON() ([]byte, error)

func (*Clusters) UnmarshalJSON

func (c *Clusters) UnmarshalJSON(data []byte) error

type ClustersResult

type ClustersResult struct {
	// Result data.
	Data ClustersResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination ClustersResultPagination `json:"pagination"`
}

ClustersResult - Response object.

func (*ClustersResult) GetData

func (o *ClustersResult) GetData() ClustersResultData

func (*ClustersResult) GetPagination

func (o *ClustersResult) GetPagination() ClustersResultPagination

type ClustersResultAutoscaling

type ClustersResultAutoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

ClustersResultAutoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*ClustersResultAutoscaling) GetEnabled

func (o *ClustersResultAutoscaling) GetEnabled() *bool

func (*ClustersResultAutoscaling) GetMax

func (o *ClustersResultAutoscaling) GetMax() *int64

func (*ClustersResultAutoscaling) GetMin

func (o *ClustersResultAutoscaling) GetMin() *int64

func (ClustersResultAutoscaling) MarshalJSON

func (c ClustersResultAutoscaling) MarshalJSON() ([]byte, error)

func (*ClustersResultAutoscaling) UnmarshalJSON

func (c *ClustersResultAutoscaling) UnmarshalJSON(data []byte) error

type ClustersResultData

type ClustersResultData struct {
	// An array of clusters.
	Clusters []Clusters `json:"clusters"`
}

ClustersResultData - Result data.

func (*ClustersResultData) GetClusters

func (o *ClustersResultData) GetClusters() []Clusters

type ClustersResultLabels

type ClustersResultLabels struct {
}

ClustersResultLabels - Set of label keys and values that can be used to determine scheduling via resource tags.

type ClustersResultNodePools

type ClustersResultNodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *ClustersResultAutoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools
	ID *string `json:"id,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *ClustersResultLabels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*ClustersResultNodePools) GetAutoscaling

func (*ClustersResultNodePools) GetAvailabilityZones

func (o *ClustersResultNodePools) GetAvailabilityZones() []string

func (*ClustersResultNodePools) GetDiskSize

func (o *ClustersResultNodePools) GetDiskSize() int64

func (*ClustersResultNodePools) GetDiskType

func (o *ClustersResultNodePools) GetDiskType() *string

func (*ClustersResultNodePools) GetID

func (o *ClustersResultNodePools) GetID() *string

func (*ClustersResultNodePools) GetLabels

func (*ClustersResultNodePools) GetNodeCount

func (o *ClustersResultNodePools) GetNodeCount() int64

func (*ClustersResultNodePools) GetNodeType

func (o *ClustersResultNodePools) GetNodeType() string

func (*ClustersResultNodePools) GetPreemptible

func (o *ClustersResultNodePools) GetPreemptible() *bool

func (*ClustersResultNodePools) GetSystemPool

func (o *ClustersResultNodePools) GetSystemPool() *bool

func (ClustersResultNodePools) MarshalJSON

func (c ClustersResultNodePools) MarshalJSON() ([]byte, error)

func (*ClustersResultNodePools) UnmarshalJSON

func (c *ClustersResultNodePools) UnmarshalJSON(data []byte) error

type ClustersResultPagination

type ClustersResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

ClustersResultPagination - Data about the endpoint pagination.

func (*ClustersResultPagination) GetCount

func (o *ClustersResultPagination) GetCount() float32

func (*ClustersResultPagination) GetCursor

func (o *ClustersResultPagination) GetCursor() *string

func (*ClustersResultPagination) GetHasNextPage

func (o *ClustersResultPagination) GetHasNextPage() bool

type ClustersResultState

type ClustersResultState struct {
	State          *string    `json:"state,omitempty"`
	TransitionTime *time.Time `json:"transitionTime,omitempty"`
}

func (*ClustersResultState) GetState

func (o *ClustersResultState) GetState() *string

func (*ClustersResultState) GetTransitionTime

func (o *ClustersResultState) GetTransitionTime() *time.Time

func (ClustersResultState) MarshalJSON

func (c ClustersResultState) MarshalJSON() ([]byte, error)

func (*ClustersResultState) UnmarshalJSON

func (c *ClustersResultState) UnmarshalJSON(data []byte) error

type ClustersResultStatus

type ClustersResultStatus struct {
	NextUpdateAfter *time.Time           `json:"nextUpdateAfter,omitempty"`
	State           *ClustersResultState `json:"state,omitempty"`
}

func (*ClustersResultStatus) GetNextUpdateAfter

func (o *ClustersResultStatus) GetNextUpdateAfter() *time.Time

func (*ClustersResultStatus) GetState

func (ClustersResultStatus) MarshalJSON

func (c ClustersResultStatus) MarshalJSON() ([]byte, error)

func (*ClustersResultStatus) UnmarshalJSON

func (c *ClustersResultStatus) UnmarshalJSON(data []byte) error

type Codec

type Codec string

Codec to encode logs in

const (
	CodecText Codec = "text"
	CodecJSON Codec = "json"
)

func (Codec) ToPointer

func (e Codec) ToPointer() *Codec

func (*Codec) UnmarshalJSON

func (e *Codec) UnmarshalJSON(data []byte) error

type Compression

type Compression string

Compression - Log file compression method.

const (
	CompressionGzip Compression = "gzip"
	CompressionNone Compression = "none"
)

func (Compression) ToPointer

func (e Compression) ToPointer() *Compression

func (*Compression) UnmarshalJSON

func (e *Compression) UnmarshalJSON(data []byte) error

type CreateClusterRequest

type CreateClusterRequest struct {
	// The description of the cluster.
	Description *string `json:"description,omitempty"`
	// GCP specific data. Required when `provider` is `gcp`.
	Gcp *Gcp `json:"gcp,omitempty"`
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Integration *Integration `json:"integration,omitempty"`
	// Existing integration to use for this cluster.
	IntegrationID *string `json:"integrationId,omitempty"`
	// Kubernetes version of the cluster.
	KubernetesVersion string `json:"kubernetesVersion"`
	// The name of the cluster.
	Name string `json:"name"`
	// An array of node pools.
	NodePools []NodePools `json:"nodePools"`
	// Cloud provider to be used for the selected resource
	Provider CreateClusterRequestProvider `json:"provider"`
	// Region of the cluster.
	Region   string   `json:"region"`
	Settings Settings `json:"settings"`
}

func (*CreateClusterRequest) GetDescription

func (o *CreateClusterRequest) GetDescription() *string

func (*CreateClusterRequest) GetGcp

func (o *CreateClusterRequest) GetGcp() *Gcp

func (*CreateClusterRequest) GetIntegration

func (o *CreateClusterRequest) GetIntegration() *Integration

func (*CreateClusterRequest) GetIntegrationID

func (o *CreateClusterRequest) GetIntegrationID() *string

func (*CreateClusterRequest) GetKubernetesVersion

func (o *CreateClusterRequest) GetKubernetesVersion() string

func (*CreateClusterRequest) GetName

func (o *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) GetNodePools

func (o *CreateClusterRequest) GetNodePools() []NodePools

func (*CreateClusterRequest) GetProvider

func (*CreateClusterRequest) GetRegion

func (o *CreateClusterRequest) GetRegion() string

func (*CreateClusterRequest) GetSettings

func (o *CreateClusterRequest) GetSettings() Settings

type CreateClusterRequest1

type CreateClusterRequest1 struct {
	S3AccessKey  string `json:"s3AccessKey"`
	S3BucketName string `json:"s3BucketName"`
	S3Region     string `json:"s3Region"`
	S3SecretKey  string `json:"s3SecretKey"`
}

func (*CreateClusterRequest1) GetS3AccessKey

func (o *CreateClusterRequest1) GetS3AccessKey() string

func (*CreateClusterRequest1) GetS3BucketName

func (o *CreateClusterRequest1) GetS3BucketName() string

func (*CreateClusterRequest1) GetS3Region

func (o *CreateClusterRequest1) GetS3Region() string

func (*CreateClusterRequest1) GetS3SecretKey

func (o *CreateClusterRequest1) GetS3SecretKey() string

type CreateClusterRequest2

type CreateClusterRequest2 struct {
}

type CreateClusterRequestMode

type CreateClusterRequestMode string
const (
	CreateClusterRequestModePaas CreateClusterRequestMode = "paas"
	CreateClusterRequestModeLoki CreateClusterRequestMode = "loki"
)

func (CreateClusterRequestMode) ToPointer

func (*CreateClusterRequestMode) UnmarshalJSON

func (e *CreateClusterRequestMode) UnmarshalJSON(data []byte) error

type CreateClusterRequestProvider

type CreateClusterRequestProvider string

CreateClusterRequestProvider - Cloud provider to be used for the selected resource

const (
	CreateClusterRequestProviderGcp   CreateClusterRequestProvider = "gcp"
	CreateClusterRequestProviderAws   CreateClusterRequestProvider = "aws"
	CreateClusterRequestProviderAzure CreateClusterRequestProvider = "azure"
	CreateClusterRequestProviderDo    CreateClusterRequestProvider = "do"
)

func (CreateClusterRequestProvider) ToPointer

func (*CreateClusterRequestProvider) UnmarshalJSON

func (e *CreateClusterRequestProvider) UnmarshalJSON(data []byte) error

type CreateClusterRequestSchemasMode

type CreateClusterRequestSchemasMode string
const (
	CreateClusterRequestSchemasModePaas       CreateClusterRequestSchemasMode = "paas"
	CreateClusterRequestSchemasModeSelfHosted CreateClusterRequestSchemasMode = "self-hosted"
)

func (CreateClusterRequestSchemasMode) ToPointer

func (*CreateClusterRequestSchemasMode) UnmarshalJSON

func (e *CreateClusterRequestSchemasMode) UnmarshalJSON(data []byte) error

type CreateClusterResult

type CreateClusterResult struct {
	// Result data.
	Data CreateClusterResultData `json:"data"`
}

CreateClusterResult - Response object.

func (*CreateClusterResult) GetData

type CreateClusterResultAutoscaling

type CreateClusterResultAutoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

CreateClusterResultAutoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*CreateClusterResultAutoscaling) GetEnabled

func (o *CreateClusterResultAutoscaling) GetEnabled() *bool

func (*CreateClusterResultAutoscaling) GetMax

func (*CreateClusterResultAutoscaling) GetMin

func (CreateClusterResultAutoscaling) MarshalJSON

func (c CreateClusterResultAutoscaling) MarshalJSON() ([]byte, error)

func (*CreateClusterResultAutoscaling) UnmarshalJSON

func (c *CreateClusterResultAutoscaling) UnmarshalJSON(data []byte) error

type CreateClusterResultData

type CreateClusterResultData struct {
	// The time the cluster was created.
	CreatedAt time.Time `json:"createdAt"`
	// Indicates if provider resource deletion has been requested by the user.
	DeletionRequested bool `json:"deletionRequested"`
	// A short description of the cluster.
	Description *string `json:"description,omitempty"`
	// Identifier for the cluster.
	ID string `json:"id"`
	// ID of the provider integration used by this cluster.
	IntegrationID string `json:"integrationId"`
	// The name of the cluster.
	Name      string                       `json:"name"`
	NodePools CreateClusterResultNodePools `json:"nodePools"`
	// The cloud provider to which this cluster belongs to.
	Provider *string                    `json:"provider,omitempty"`
	Status   *CreateClusterResultStatus `json:"status,omitempty"`
}

CreateClusterResultData - Result data.

func (*CreateClusterResultData) GetCreatedAt

func (o *CreateClusterResultData) GetCreatedAt() time.Time

func (*CreateClusterResultData) GetDeletionRequested

func (o *CreateClusterResultData) GetDeletionRequested() bool

func (*CreateClusterResultData) GetDescription

func (o *CreateClusterResultData) GetDescription() *string

func (*CreateClusterResultData) GetID

func (o *CreateClusterResultData) GetID() string

func (*CreateClusterResultData) GetIntegrationID

func (o *CreateClusterResultData) GetIntegrationID() string

func (*CreateClusterResultData) GetName

func (o *CreateClusterResultData) GetName() string

func (*CreateClusterResultData) GetNodePools

func (*CreateClusterResultData) GetProvider

func (o *CreateClusterResultData) GetProvider() *string

func (*CreateClusterResultData) GetStatus

func (CreateClusterResultData) MarshalJSON

func (c CreateClusterResultData) MarshalJSON() ([]byte, error)

func (*CreateClusterResultData) UnmarshalJSON

func (c *CreateClusterResultData) UnmarshalJSON(data []byte) error

type CreateClusterResultLabels

type CreateClusterResultLabels struct {
}

CreateClusterResultLabels - Set of label keys and values that can be used to determine scheduling via resource tags.

type CreateClusterResultNodePools

type CreateClusterResultNodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *CreateClusterResultAutoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools
	ID *string `json:"id,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *CreateClusterResultLabels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*CreateClusterResultNodePools) GetAutoscaling

func (*CreateClusterResultNodePools) GetAvailabilityZones

func (o *CreateClusterResultNodePools) GetAvailabilityZones() []string

func (*CreateClusterResultNodePools) GetDiskSize

func (o *CreateClusterResultNodePools) GetDiskSize() int64

func (*CreateClusterResultNodePools) GetDiskType

func (o *CreateClusterResultNodePools) GetDiskType() *string

func (*CreateClusterResultNodePools) GetID

func (*CreateClusterResultNodePools) GetLabels

func (*CreateClusterResultNodePools) GetNodeCount

func (o *CreateClusterResultNodePools) GetNodeCount() int64

func (*CreateClusterResultNodePools) GetNodeType

func (o *CreateClusterResultNodePools) GetNodeType() string

func (*CreateClusterResultNodePools) GetPreemptible

func (o *CreateClusterResultNodePools) GetPreemptible() *bool

func (*CreateClusterResultNodePools) GetSystemPool

func (o *CreateClusterResultNodePools) GetSystemPool() *bool

func (CreateClusterResultNodePools) MarshalJSON

func (c CreateClusterResultNodePools) MarshalJSON() ([]byte, error)

func (*CreateClusterResultNodePools) UnmarshalJSON

func (c *CreateClusterResultNodePools) UnmarshalJSON(data []byte) error

type CreateClusterResultState

type CreateClusterResultState struct {
	State          *string    `json:"state,omitempty"`
	TransitionTime *time.Time `json:"transitionTime,omitempty"`
}

func (*CreateClusterResultState) GetState

func (o *CreateClusterResultState) GetState() *string

func (*CreateClusterResultState) GetTransitionTime

func (o *CreateClusterResultState) GetTransitionTime() *time.Time

func (CreateClusterResultState) MarshalJSON

func (c CreateClusterResultState) MarshalJSON() ([]byte, error)

func (*CreateClusterResultState) UnmarshalJSON

func (c *CreateClusterResultState) UnmarshalJSON(data []byte) error

type CreateClusterResultStatus

type CreateClusterResultStatus struct {
	NextUpdateAfter *time.Time                `json:"nextUpdateAfter,omitempty"`
	State           *CreateClusterResultState `json:"state,omitempty"`
}

func (*CreateClusterResultStatus) GetNextUpdateAfter

func (o *CreateClusterResultStatus) GetNextUpdateAfter() *time.Time

func (*CreateClusterResultStatus) GetState

func (CreateClusterResultStatus) MarshalJSON

func (c CreateClusterResultStatus) MarshalJSON() ([]byte, error)

func (*CreateClusterResultStatus) UnmarshalJSON

func (c *CreateClusterResultStatus) UnmarshalJSON(data []byte) error

type CreateDomainRequest

type CreateDomainRequest struct {
	// The domain name to register.
	Domain string `json:"domain"`
}

func (*CreateDomainRequest) GetDomain

func (o *CreateDomainRequest) GetDomain() string

type CreateDomainResult

type CreateDomainResult struct {
	// Result data.
	Data CreateDomainResultData `json:"data"`
}

CreateDomainResult - Response object.

func (*CreateDomainResult) GetData

type CreateDomainResultData

type CreateDomainResultData struct {
	// The hostname to add to your domain's DNS records as a TXT record to verify the domain.
	Hostname string `json:"hostname"`
	// The domain name.
	Name string `json:"name"`
	// The status of the domain verification.
	Status CreateDomainResultStatus `json:"status"`
	// The token to add as the content of the TXT record to verify the domain.
	Token string `json:"token"`
}

CreateDomainResultData - Result data.

func (*CreateDomainResultData) GetHostname

func (o *CreateDomainResultData) GetHostname() string

func (*CreateDomainResultData) GetName

func (o *CreateDomainResultData) GetName() string

func (*CreateDomainResultData) GetStatus

func (*CreateDomainResultData) GetToken

func (o *CreateDomainResultData) GetToken() string

type CreateDomainResultStatus

type CreateDomainResultStatus string

CreateDomainResultStatus - The status of the domain verification.

const (
	CreateDomainResultStatusPending  CreateDomainResultStatus = "pending"
	CreateDomainResultStatusVerified CreateDomainResultStatus = "verified"
)

func (CreateDomainResultStatus) ToPointer

func (*CreateDomainResultStatus) UnmarshalJSON

func (e *CreateDomainResultStatus) UnmarshalJSON(data []byte) error

type CreateIntegrationRequest

type CreateIntegrationRequest struct {
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Credentials Credentials `json:"credentials"`
	// The description of the integration.
	Description *string `json:"description,omitempty"`
	// GCP specific data. Required when `provider` is `gcp`.
	Gcp *CreateIntegrationRequestGcp `json:"gcp,omitempty"`
	// The name of the cloud provider integration.
	Name string `json:"name"`
	// Cloud provider to be used for the selected resource
	Provider CreateIntegrationRequestProvider `json:"provider"`
}

func (*CreateIntegrationRequest) GetCredentials

func (o *CreateIntegrationRequest) GetCredentials() Credentials

func (*CreateIntegrationRequest) GetDescription

func (o *CreateIntegrationRequest) GetDescription() *string

func (*CreateIntegrationRequest) GetGcp

func (*CreateIntegrationRequest) GetName

func (o *CreateIntegrationRequest) GetName() string

func (*CreateIntegrationRequest) GetProvider

type CreateIntegrationRequestGcp

type CreateIntegrationRequestGcp struct {
	// Project ID
	ProjectID string `json:"projectId"`
}

CreateIntegrationRequestGcp - GCP specific data. Required when `provider` is `gcp`.

func (*CreateIntegrationRequestGcp) GetProjectID

func (o *CreateIntegrationRequestGcp) GetProjectID() string

type CreateIntegrationRequestProvider

type CreateIntegrationRequestProvider string

CreateIntegrationRequestProvider - Cloud provider to be used for the selected resource

const (
	CreateIntegrationRequestProviderGcp   CreateIntegrationRequestProvider = "gcp"
	CreateIntegrationRequestProviderAws   CreateIntegrationRequestProvider = "aws"
	CreateIntegrationRequestProviderAzure CreateIntegrationRequestProvider = "azure"
	CreateIntegrationRequestProviderDo    CreateIntegrationRequestProvider = "do"
)

func (CreateIntegrationRequestProvider) ToPointer

func (*CreateIntegrationRequestProvider) UnmarshalJSON

func (e *CreateIntegrationRequestProvider) UnmarshalJSON(data []byte) error

type CreateIntegrationResult

type CreateIntegrationResult struct {
	// Result data.
	Data CreateIntegrationResultData `json:"data"`
}

CreateIntegrationResult - Response object.

func (*CreateIntegrationResult) GetData

type CreateIntegrationResultCredentials

type CreateIntegrationResultCredentials struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

CreateIntegrationResultCredentials - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*CreateIntegrationResultCredentials) GetAPIKey

func (*CreateIntegrationResultCredentials) GetAccessKey

func (o *CreateIntegrationResultCredentials) GetAccessKey() *string

func (*CreateIntegrationResultCredentials) GetKeyfileJSON

func (o *CreateIntegrationResultCredentials) GetKeyfileJSON() *string

func (*CreateIntegrationResultCredentials) GetSecretKey

func (o *CreateIntegrationResultCredentials) GetSecretKey() *string

type CreateIntegrationResultData

type CreateIntegrationResultData struct {
	// The time the integration was created.
	CreatedAt time.Time `json:"createdAt"`
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Credentials CreateIntegrationResultCredentials `json:"credentials"`
	// A short description of the integration.
	Description *string `json:"description,omitempty"`
	// Identifier for the integration.
	ID string `json:"id"`
	// The name of the integration.
	Name string `json:"name"`
}

CreateIntegrationResultData - Result data.

func (*CreateIntegrationResultData) GetCreatedAt

func (o *CreateIntegrationResultData) GetCreatedAt() time.Time

func (*CreateIntegrationResultData) GetCredentials

func (*CreateIntegrationResultData) GetDescription

func (o *CreateIntegrationResultData) GetDescription() *string

func (*CreateIntegrationResultData) GetID

func (*CreateIntegrationResultData) GetName

func (o *CreateIntegrationResultData) GetName() string

func (CreateIntegrationResultData) MarshalJSON

func (c CreateIntegrationResultData) MarshalJSON() ([]byte, error)

func (*CreateIntegrationResultData) UnmarshalJSON

func (c *CreateIntegrationResultData) UnmarshalJSON(data []byte) error

type CreateLogSinkResult

type CreateLogSinkResult struct {
	// Result data.
	Data CreateLogSinkResultData `json:"data"`
}

CreateLogSinkResult - Response object.

func (*CreateLogSinkResult) GetData

type CreateLogSinkResultData

type CreateLogSinkResultData struct {
	// The ID of the new log sink.
	ID string `json:"id"`
}

CreateLogSinkResultData - Result data.

func (*CreateLogSinkResultData) GetID

func (o *CreateLogSinkResultData) GetID() string

type Credentials

type Credentials struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

Credentials - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*Credentials) GetAPIKey

func (o *Credentials) GetAPIKey() *string

func (*Credentials) GetAccessKey

func (o *Credentials) GetAccessKey() *string

func (*Credentials) GetKeyfileJSON

func (o *Credentials) GetKeyfileJSON() *string

func (*Credentials) GetSecretKey

func (o *Credentials) GetSecretKey() *string

type DNALogSink

type DNALogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the LogDNA log sink.
	SinkData DNALogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType DNALogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

DNALogSink - Create a log sink using LogDNA

func (*DNALogSink) GetDescription

func (o *DNALogSink) GetDescription() *string

func (*DNALogSink) GetForwardAccessLogs

func (o *DNALogSink) GetForwardAccessLogs() *bool

func (*DNALogSink) GetName

func (o *DNALogSink) GetName() string

func (*DNALogSink) GetProjects

func (o *DNALogSink) GetProjects() []string

func (*DNALogSink) GetRestricted

func (o *DNALogSink) GetRestricted() *bool

func (*DNALogSink) GetSinkData

func (o *DNALogSink) GetSinkData() DNALogSinkSinkData

func (*DNALogSink) GetSinkType

func (o *DNALogSink) GetSinkType() DNALogSinkSinkType

func (*DNALogSink) GetUseCustomLabels

func (o *DNALogSink) GetUseCustomLabels() *bool

func (DNALogSink) MarshalJSON

func (d DNALogSink) MarshalJSON() ([]byte, error)

func (*DNALogSink) UnmarshalJSON

func (d *DNALogSink) UnmarshalJSON(data []byte) error

type DNALogSinkSinkData

type DNALogSinkSinkData struct {
	// Ingestion Key
	APIKey string `json:"api_key"`
}

DNALogSinkSinkData - Details about the LogDNA log sink.

func (*DNALogSinkSinkData) GetAPIKey

func (o *DNALogSinkSinkData) GetAPIKey() string

type DNALogSinkSinkType

type DNALogSinkSinkType string

DNALogSinkSinkType - The type of the log sink.

const (
	DNALogSinkSinkTypeLogdna DNALogSinkSinkType = "logdna"
)

func (DNALogSinkSinkType) ToPointer

func (e DNALogSinkSinkType) ToPointer() *DNALogSinkSinkType

func (*DNALogSinkSinkType) UnmarshalJSON

func (e *DNALogSinkSinkType) UnmarshalJSON(data []byte) error

type DNSIDResult

type DNSIDResult struct {
	// Result data.
	Data DNSIDResultData `json:"data"`
}

DNSIDResult - Response object.

func (*DNSIDResult) GetData

func (o *DNSIDResult) GetData() DNSIDResultData

type DNSIDResultData

type DNSIDResultData struct {
	// The partially random string associated with the authenticated account, used for generating DNS entries.
	DNS string `json:"dns"`
}

DNSIDResultData - Result data.

func (*DNSIDResultData) GetDNS

func (o *DNSIDResultData) GetDNS() string

type Data

type Data struct {
	// The content to set the DNS record to
	Content string `json:"content"`
	// The full domain name with subdomain
	FullName string `json:"fullName"`
	// The subdomain.
	Name string `json:"name"`
	// The record type to use for the DNS record to verify the subdomain - always CNAME for subdomains.
	RecordType string `json:"recordType"`
	// Whether the subdomain has been verified successfully and can be used.
	Verified bool `json:"verified"`
}

Data - Result data.

func (*Data) GetContent

func (o *Data) GetContent() string

func (*Data) GetFullName

func (o *Data) GetFullName() string

func (*Data) GetName

func (o *Data) GetName() string

func (*Data) GetRecordType

func (o *Data) GetRecordType() string

func (*Data) GetVerified

func (o *Data) GetVerified() bool

type DatadogLogSink

type DatadogLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the Datadog log sink.
	SinkData DatadogLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType DatadogLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

DatadogLogSink - Create a log sink using Datadog

func (*DatadogLogSink) GetDescription

func (o *DatadogLogSink) GetDescription() *string

func (*DatadogLogSink) GetForwardAccessLogs

func (o *DatadogLogSink) GetForwardAccessLogs() *bool

func (*DatadogLogSink) GetName

func (o *DatadogLogSink) GetName() string

func (*DatadogLogSink) GetProjects

func (o *DatadogLogSink) GetProjects() []string

func (*DatadogLogSink) GetRestricted

func (o *DatadogLogSink) GetRestricted() *bool

func (*DatadogLogSink) GetSinkData

func (o *DatadogLogSink) GetSinkData() DatadogLogSinkSinkData

func (*DatadogLogSink) GetSinkType

func (o *DatadogLogSink) GetSinkType() DatadogLogSinkSinkType

func (*DatadogLogSink) GetUseCustomLabels

func (o *DatadogLogSink) GetUseCustomLabels() *bool

func (DatadogLogSink) MarshalJSON

func (d DatadogLogSink) MarshalJSON() ([]byte, error)

func (*DatadogLogSink) UnmarshalJSON

func (d *DatadogLogSink) UnmarshalJSON(data []byte) error

type DatadogLogSinkRegion

type DatadogLogSinkRegion string

DatadogLogSinkRegion - The Datadog region.

const (
	DatadogLogSinkRegionEu  DatadogLogSinkRegion = "eu"
	DatadogLogSinkRegionUs  DatadogLogSinkRegion = "us"
	DatadogLogSinkRegionUs3 DatadogLogSinkRegion = "us3"
	DatadogLogSinkRegionUs5 DatadogLogSinkRegion = "us5"
)

func (DatadogLogSinkRegion) ToPointer

func (*DatadogLogSinkRegion) UnmarshalJSON

func (e *DatadogLogSinkRegion) UnmarshalJSON(data []byte) error

type DatadogLogSinkSinkData

type DatadogLogSinkSinkData struct {
	// The Datadog API key.
	DefaultAPIKey string `json:"default_api_key"`
	// The Datadog region.
	Region DatadogLogSinkRegion `json:"region"`
}

DatadogLogSinkSinkData - Details about the Datadog log sink.

func (*DatadogLogSinkSinkData) GetDefaultAPIKey

func (o *DatadogLogSinkSinkData) GetDefaultAPIKey() string

func (*DatadogLogSinkSinkData) GetRegion

type DatadogLogSinkSinkType

type DatadogLogSinkSinkType string

DatadogLogSinkSinkType - The type of the log sink.

const (
	DatadogLogSinkSinkTypeDatadogLogs DatadogLogSinkSinkType = "datadog_logs"
)

func (DatadogLogSinkSinkType) ToPointer

func (*DatadogLogSinkSinkType) UnmarshalJSON

func (e *DatadogLogSinkSinkType) UnmarshalJSON(data []byte) error

type Domains

type Domains struct {
	// The hostname to add to your domain's DNS records as a TXT record to verify the domain.
	Hostname string `json:"hostname"`
	// The domain name.
	Name string `json:"name"`
	// The status of the domain verification.
	Status ListDomainsResultStatus `json:"status"`
	// The token to add as the content of the TXT record to verify the domain.
	Token string `json:"token"`
}

Domains - Details about a domain.

func (*Domains) GetHostname

func (o *Domains) GetHostname() string

func (*Domains) GetName

func (o *Domains) GetName() string

func (*Domains) GetStatus

func (o *Domains) GetStatus() ListDomainsResultStatus

func (*Domains) GetToken

func (o *Domains) GetToken() string

type Eight

type Eight struct {
	// Honeycomb API Key
	APIKey string `json:"api_key"`
	// Name of the dataset
	Dataset string `json:"dataset"`
}

Eight - Honeycomb Sink Schema.

func (*Eight) GetAPIKey

func (o *Eight) GetAPIKey() string

func (*Eight) GetDataset

func (o *Eight) GetDataset() string

type Encoding

type Encoding struct {
	// Codec to encode logs in
	Codec Codec `json:"codec"`
}

Encoding options

func (*Encoding) GetCodec

func (o *Encoding) GetCodec() Codec

type Features

type Features struct {
	// Whether this addon supports native (dump) backups
	BackupsDump bool `json:"backupsDump"`
	// Whether this addon supports customising the database name.
	CustomDBName bool `json:"customDBName"`
	// Whether this addon supports external connection.
	ExternalAccess bool `json:"externalAccess"`
	// Whether this addon supports addon forking - creating a new addon from an existing addon backup.
	ForkAddon bool `json:"forkAddon"`
	// Whether this addon supports importing from an external backup.
	ImportDump bool `json:"importDump"`
	// Whether this addon supports importing from an existing live database.
	ImportLive bool `json:"importLive"`
	// Whether this addon supports replica scaling.
	ScaleReplicas bool `json:"scaleReplicas"`
	// Whether this addon supports connection via TLS.
	TLS bool `json:"tls"`
}

Features supported by this addon type.

func (*Features) GetBackupsDump

func (o *Features) GetBackupsDump() bool

func (*Features) GetCustomDBName

func (o *Features) GetCustomDBName() bool

func (*Features) GetExternalAccess

func (o *Features) GetExternalAccess() bool

func (*Features) GetForkAddon

func (o *Features) GetForkAddon() bool

func (*Features) GetImportDump

func (o *Features) GetImportDump() bool

func (*Features) GetImportLive

func (o *Features) GetImportLive() bool

func (*Features) GetScaleReplicas

func (o *Features) GetScaleReplicas() bool

func (*Features) GetTLS

func (o *Features) GetTLS() bool

type Five

type Five struct {
	// Authentication object.
	Auth *LogSinkRequestSchemasSinkDataAuth `json:"auth,omitempty"`
	// Name of the S3 Bucket.
	Bucket string `json:"bucket"`
	// Log file compression method.
	Compression LogSinkRequestCompression `json:"compression"`
	// Endpoint for the AWS S3 or compatible API bucket.
	Endpoint string `json:"endpoint"`
	// Region of the S3 bucket.
	Region LogSinkRequestSchemasRegion `json:"region"`
}

Five - AWS S3 or compatible API Sink Schema.

func (*Five) GetAuth

func (*Five) GetBucket

func (o *Five) GetBucket() string

func (*Five) GetCompression

func (o *Five) GetCompression() LogSinkRequestCompression

func (*Five) GetEndpoint

func (o *Five) GetEndpoint() string

func (*Five) GetRegion

func (o *Five) GetRegion() LogSinkRequestSchemasRegion

type Flags

type Flags struct {
	// Node pool autoscaling support
	Autoscaling *bool `json:"autoscaling,omitempty"`
	// Preemptible/Spot node pool support
	Preemptible *bool `json:"preemptible,omitempty"`
}

Flags - An object with feature flags to indicate (un)supported features

func (*Flags) GetAutoscaling

func (o *Flags) GetAutoscaling() *bool

func (*Flags) GetPreemptible

func (o *Flags) GetPreemptible() *bool

type Four

type Four struct {
	Auth LogSinkRequestSchemasAuth `json:"auth"`
	// Encoding options
	Encoding *LogSinkRequestEncoding `json:"encoding,omitempty"`
	// Uri to send logs to.
	URI string `json:"uri"`
}

Four - HTTP Sink Schema.

func (*Four) GetAuth

func (o *Four) GetAuth() LogSinkRequestSchemasAuth

func (*Four) GetEncoding

func (o *Four) GetEncoding() *LogSinkRequestEncoding

func (*Four) GetURI

func (o *Four) GetURI() string

type Gcp

type Gcp struct {
	// ID of the GCP project the cluster will be provisioned in.
	ProjectID string `json:"projectId"`
}

Gcp - GCP specific data. Required when `provider` is `gcp`.

func (*Gcp) GetProjectID

func (o *Gcp) GetProjectID() string

type GetDomainResult

type GetDomainResult struct {
	// Result data.
	Data GetDomainResultData `json:"data"`
}

GetDomainResult - Response object.

func (*GetDomainResult) GetData

func (o *GetDomainResult) GetData() GetDomainResultData

type GetDomainResultData

type GetDomainResultData struct {
	// The hostname to add to your domain's DNS records as a TXT record to verify the domain.
	Hostname string `json:"hostname"`
	// The domain name.
	Name string `json:"name"`
	// The status of the domain verification.
	Status GetDomainResultStatus `json:"status"`
	// A list of subdomains added to this domain.
	Subdomains []Subdomains `json:"subdomains"`
	// The token to add as the content of the TXT record to verify the domain.
	Token string `json:"token"`
}

GetDomainResultData - Result data.

func (*GetDomainResultData) GetHostname

func (o *GetDomainResultData) GetHostname() string

func (*GetDomainResultData) GetName

func (o *GetDomainResultData) GetName() string

func (*GetDomainResultData) GetStatus

func (*GetDomainResultData) GetSubdomains

func (o *GetDomainResultData) GetSubdomains() []Subdomains

func (*GetDomainResultData) GetToken

func (o *GetDomainResultData) GetToken() string

type GetDomainResultStatus

type GetDomainResultStatus string

GetDomainResultStatus - The status of the domain verification.

const (
	GetDomainResultStatusPending  GetDomainResultStatus = "pending"
	GetDomainResultStatusVerified GetDomainResultStatus = "verified"
)

func (GetDomainResultStatus) ToPointer

func (*GetDomainResultStatus) UnmarshalJSON

func (e *GetDomainResultStatus) UnmarshalJSON(data []byte) error

type GetIntegrationResult

type GetIntegrationResult struct {
	// Result data.
	Data GetIntegrationResultData `json:"data"`
}

GetIntegrationResult - Response object.

func (*GetIntegrationResult) GetData

type GetIntegrationResultCredentials

type GetIntegrationResultCredentials struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

GetIntegrationResultCredentials - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*GetIntegrationResultCredentials) GetAPIKey

func (o *GetIntegrationResultCredentials) GetAPIKey() *string

func (*GetIntegrationResultCredentials) GetAccessKey

func (o *GetIntegrationResultCredentials) GetAccessKey() *string

func (*GetIntegrationResultCredentials) GetKeyfileJSON

func (o *GetIntegrationResultCredentials) GetKeyfileJSON() *string

func (*GetIntegrationResultCredentials) GetSecretKey

func (o *GetIntegrationResultCredentials) GetSecretKey() *string

type GetIntegrationResultData

type GetIntegrationResultData struct {
	// The time the integration was created.
	CreatedAt time.Time `json:"createdAt"`
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Credentials GetIntegrationResultCredentials `json:"credentials"`
	// A short description of the integration.
	Description *string `json:"description,omitempty"`
	// Identifier for the integration.
	ID string `json:"id"`
	// The name of the integration.
	Name string `json:"name"`
}

GetIntegrationResultData - Result data.

func (*GetIntegrationResultData) GetCreatedAt

func (o *GetIntegrationResultData) GetCreatedAt() time.Time

func (*GetIntegrationResultData) GetCredentials

func (*GetIntegrationResultData) GetDescription

func (o *GetIntegrationResultData) GetDescription() *string

func (*GetIntegrationResultData) GetID

func (o *GetIntegrationResultData) GetID() string

func (*GetIntegrationResultData) GetName

func (o *GetIntegrationResultData) GetName() string

func (GetIntegrationResultData) MarshalJSON

func (g GetIntegrationResultData) MarshalJSON() ([]byte, error)

func (*GetIntegrationResultData) UnmarshalJSON

func (g *GetIntegrationResultData) UnmarshalJSON(data []byte) error

type GetLogSinksResult

type GetLogSinksResult struct {
	// Result data.
	Data GetLogSinksResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination GetLogSinksResultPagination `json:"pagination"`
}

GetLogSinksResult - Response object.

func (*GetLogSinksResult) GetData

func (*GetLogSinksResult) GetPagination

type GetLogSinksResultData

type GetLogSinksResultData struct {
	// An array of log sinks added to this account.
	LogSinks []LogSinks `json:"logSinks"`
}

GetLogSinksResultData - Result data.

func (*GetLogSinksResultData) GetLogSinks

func (o *GetLogSinksResultData) GetLogSinks() []LogSinks

type GetLogSinksResultPagination

type GetLogSinksResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

GetLogSinksResultPagination - Data about the endpoint pagination.

func (*GetLogSinksResultPagination) GetCount

func (o *GetLogSinksResultPagination) GetCount() float32

func (*GetLogSinksResultPagination) GetCursor

func (o *GetLogSinksResultPagination) GetCursor() *string

func (*GetLogSinksResultPagination) GetHasNextPage

func (o *GetLogSinksResultPagination) GetHasNextPage() bool

type GetLogSinksResultSinkType

type GetLogSinksResultSinkType string

GetLogSinksResultSinkType - The type of the log sink.

const (
	GetLogSinksResultSinkTypeLoki        GetLogSinksResultSinkType = "loki"
	GetLogSinksResultSinkTypeDatadogLogs GetLogSinksResultSinkType = "datadog_logs"
	GetLogSinksResultSinkTypePapertrail  GetLogSinksResultSinkType = "papertrail"
	GetLogSinksResultSinkTypeHTTP        GetLogSinksResultSinkType = "http"
	GetLogSinksResultSinkTypeAwsS3       GetLogSinksResultSinkType = "aws_s3"
	GetLogSinksResultSinkTypeLogdna      GetLogSinksResultSinkType = "logdna"
	GetLogSinksResultSinkTypeCoralogix   GetLogSinksResultSinkType = "coralogix"
	GetLogSinksResultSinkTypeLogtail     GetLogSinksResultSinkType = "logtail"
	GetLogSinksResultSinkTypeHoneycomb   GetLogSinksResultSinkType = "honeycomb"
	GetLogSinksResultSinkTypeLogzio      GetLogSinksResultSinkType = "logzio"
)

func (GetLogSinksResultSinkType) ToPointer

func (*GetLogSinksResultSinkType) UnmarshalJSON

func (e *GetLogSinksResultSinkType) UnmarshalJSON(data []byte) error

type GetSubDomainResult

type GetSubDomainResult struct {
	// Result data.
	Data GetSubDomainResultData `json:"data"`
}

GetSubDomainResult - Response object.

func (*GetSubDomainResult) GetData

type GetSubDomainResultData

type GetSubDomainResultData struct {
	// The content to set the DNS record to
	Content string `json:"content"`
	// The full domain name with subdomain
	FullName string `json:"fullName"`
	// The subdomain.
	Name string `json:"name"`
	// The record type to use for the DNS record to verify the subdomain - always CNAME for subdomains.
	RecordType string `json:"recordType"`
	// Whether the subdomain has been verified successfully and can be used.
	Verified bool `json:"verified"`
}

GetSubDomainResultData - Result data.

func (*GetSubDomainResultData) GetContent

func (o *GetSubDomainResultData) GetContent() string

func (*GetSubDomainResultData) GetFullName

func (o *GetSubDomainResultData) GetFullName() string

func (*GetSubDomainResultData) GetName

func (o *GetSubDomainResultData) GetName() string

func (*GetSubDomainResultData) GetRecordType

func (o *GetSubDomainResultData) GetRecordType() string

func (*GetSubDomainResultData) GetVerified

func (o *GetSubDomainResultData) GetVerified() bool

type HTTPLogSink

type HTTPLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the HTTP log sink.
	SinkData HTTPLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType HTTPLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

HTTPLogSink - Create a log sink using HTTP

func (*HTTPLogSink) GetDescription

func (o *HTTPLogSink) GetDescription() *string

func (*HTTPLogSink) GetForwardAccessLogs

func (o *HTTPLogSink) GetForwardAccessLogs() *bool

func (*HTTPLogSink) GetName

func (o *HTTPLogSink) GetName() string

func (*HTTPLogSink) GetProjects

func (o *HTTPLogSink) GetProjects() []string

func (*HTTPLogSink) GetRestricted

func (o *HTTPLogSink) GetRestricted() *bool

func (*HTTPLogSink) GetSinkData

func (o *HTTPLogSink) GetSinkData() HTTPLogSinkSinkData

func (*HTTPLogSink) GetSinkType

func (o *HTTPLogSink) GetSinkType() HTTPLogSinkSinkType

func (*HTTPLogSink) GetUseCustomLabels

func (o *HTTPLogSink) GetUseCustomLabels() *bool

func (HTTPLogSink) MarshalJSON

func (h HTTPLogSink) MarshalJSON() ([]byte, error)

func (*HTTPLogSink) UnmarshalJSON

func (h *HTTPLogSink) UnmarshalJSON(data []byte) error

type HTTPLogSink1

type HTTPLogSink1 struct {
	// No authentication strategy
	Strategy HTTPLogSinkSchemasSinkDataStrategy `json:"strategy"`
}

HTTPLogSink1 - No authentication strategy

func (*HTTPLogSink1) GetStrategy

type HTTPLogSink2

type HTTPLogSink2 struct {
	// Password for basic http authentication.
	Password string `json:"password"`
	// Basic HTTP authentication strategy.
	Strategy HTTPLogSinkStrategy `json:"strategy"`
	// Username for basic http authentication.
	User *string `json:"user,omitempty"`
}

HTTPLogSink2 - Authenticate with a basic http strategy.

func (*HTTPLogSink2) GetPassword

func (o *HTTPLogSink2) GetPassword() string

func (*HTTPLogSink2) GetStrategy

func (o *HTTPLogSink2) GetStrategy() HTTPLogSinkStrategy

func (*HTTPLogSink2) GetUser

func (o *HTTPLogSink2) GetUser() *string

type HTTPLogSink3

type HTTPLogSink3 struct {
	// Bearer token authentication strategy.
	Strategy HTTPLogSinkSchemasStrategy `json:"strategy"`
	// Token for bearer token authentication.
	Token *string `json:"token,omitempty"`
}

HTTPLogSink3 - Authenticate with a bearer token strategy.

func (*HTTPLogSink3) GetStrategy

func (o *HTTPLogSink3) GetStrategy() HTTPLogSinkSchemasStrategy

func (*HTTPLogSink3) GetToken

func (o *HTTPLogSink3) GetToken() *string

type HTTPLogSinkAuth

type HTTPLogSinkAuth struct {
	HTTPLogSink1 *HTTPLogSink1
	HTTPLogSink2 *HTTPLogSink2
	HTTPLogSink3 *HTTPLogSink3

	Type HTTPLogSinkAuthType
}

func CreateHTTPLogSinkAuthHTTPLogSink1

func CreateHTTPLogSinkAuthHTTPLogSink1(httpLogSink1 HTTPLogSink1) HTTPLogSinkAuth

func CreateHTTPLogSinkAuthHTTPLogSink2

func CreateHTTPLogSinkAuthHTTPLogSink2(httpLogSink2 HTTPLogSink2) HTTPLogSinkAuth

func CreateHTTPLogSinkAuthHTTPLogSink3

func CreateHTTPLogSinkAuthHTTPLogSink3(httpLogSink3 HTTPLogSink3) HTTPLogSinkAuth

func (HTTPLogSinkAuth) MarshalJSON

func (u HTTPLogSinkAuth) MarshalJSON() ([]byte, error)

func (*HTTPLogSinkAuth) UnmarshalJSON

func (u *HTTPLogSinkAuth) UnmarshalJSON(data []byte) error

type HTTPLogSinkAuthType

type HTTPLogSinkAuthType string
const (
	HTTPLogSinkAuthTypeHTTPLogSink1 HTTPLogSinkAuthType = "HTTPLogSink_1"
	HTTPLogSinkAuthTypeHTTPLogSink2 HTTPLogSinkAuthType = "HTTPLogSink_2"
	HTTPLogSinkAuthTypeHTTPLogSink3 HTTPLogSinkAuthType = "HTTPLogSink_3"
)

type HTTPLogSinkSchemasSinkDataStrategy

type HTTPLogSinkSchemasSinkDataStrategy string

HTTPLogSinkSchemasSinkDataStrategy - No authentication strategy

const (
	HTTPLogSinkSchemasSinkDataStrategyNone HTTPLogSinkSchemasSinkDataStrategy = "none"
)

func (HTTPLogSinkSchemasSinkDataStrategy) ToPointer

func (*HTTPLogSinkSchemasSinkDataStrategy) UnmarshalJSON

func (e *HTTPLogSinkSchemasSinkDataStrategy) UnmarshalJSON(data []byte) error

type HTTPLogSinkSchemasStrategy

type HTTPLogSinkSchemasStrategy string

HTTPLogSinkSchemasStrategy - Bearer token authentication strategy.

const (
	HTTPLogSinkSchemasStrategyBearer HTTPLogSinkSchemasStrategy = "bearer"
)

func (HTTPLogSinkSchemasStrategy) ToPointer

func (*HTTPLogSinkSchemasStrategy) UnmarshalJSON

func (e *HTTPLogSinkSchemasStrategy) UnmarshalJSON(data []byte) error

type HTTPLogSinkSinkData

type HTTPLogSinkSinkData struct {
	Auth HTTPLogSinkAuth `json:"auth"`
	// Encoding options
	Encoding *Encoding `json:"encoding,omitempty"`
	// Uri to send logs to.
	URI string `json:"uri"`
}

HTTPLogSinkSinkData - Details about the HTTP log sink.

func (*HTTPLogSinkSinkData) GetAuth

func (o *HTTPLogSinkSinkData) GetAuth() HTTPLogSinkAuth

func (*HTTPLogSinkSinkData) GetEncoding

func (o *HTTPLogSinkSinkData) GetEncoding() *Encoding

func (*HTTPLogSinkSinkData) GetURI

func (o *HTTPLogSinkSinkData) GetURI() string

type HTTPLogSinkSinkType

type HTTPLogSinkSinkType string

HTTPLogSinkSinkType - The type of the log sink.

const (
	HTTPLogSinkSinkTypeHTTP HTTPLogSinkSinkType = "http"
)

func (HTTPLogSinkSinkType) ToPointer

func (*HTTPLogSinkSinkType) UnmarshalJSON

func (e *HTTPLogSinkSinkType) UnmarshalJSON(data []byte) error

type HTTPLogSinkStrategy

type HTTPLogSinkStrategy string

HTTPLogSinkStrategy - Basic HTTP authentication strategy.

const (
	HTTPLogSinkStrategyBasic HTTPLogSinkStrategy = "basic"
)

func (HTTPLogSinkStrategy) ToPointer

func (*HTTPLogSinkStrategy) UnmarshalJSON

func (e *HTTPLogSinkStrategy) UnmarshalJSON(data []byte) error

type HoneycombLogSink

type HoneycombLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the Honeycomb log sink.
	SinkData HoneycombLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType HoneycombLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

HoneycombLogSink - Create a log sink using Honeycomb

func (*HoneycombLogSink) GetDescription

func (o *HoneycombLogSink) GetDescription() *string

func (*HoneycombLogSink) GetForwardAccessLogs

func (o *HoneycombLogSink) GetForwardAccessLogs() *bool

func (*HoneycombLogSink) GetName

func (o *HoneycombLogSink) GetName() string

func (*HoneycombLogSink) GetProjects

func (o *HoneycombLogSink) GetProjects() []string

func (*HoneycombLogSink) GetRestricted

func (o *HoneycombLogSink) GetRestricted() *bool

func (*HoneycombLogSink) GetSinkData

func (o *HoneycombLogSink) GetSinkData() HoneycombLogSinkSinkData

func (*HoneycombLogSink) GetSinkType

func (o *HoneycombLogSink) GetSinkType() HoneycombLogSinkSinkType

func (*HoneycombLogSink) GetUseCustomLabels

func (o *HoneycombLogSink) GetUseCustomLabels() *bool

func (HoneycombLogSink) MarshalJSON

func (h HoneycombLogSink) MarshalJSON() ([]byte, error)

func (*HoneycombLogSink) UnmarshalJSON

func (h *HoneycombLogSink) UnmarshalJSON(data []byte) error

type HoneycombLogSinkSinkData

type HoneycombLogSinkSinkData struct {
	// Honeycomb API Key
	APIKey string `json:"api_key"`
	// Name of the dataset
	Dataset string `json:"dataset"`
}

HoneycombLogSinkSinkData - Details about the Honeycomb log sink.

func (*HoneycombLogSinkSinkData) GetAPIKey

func (o *HoneycombLogSinkSinkData) GetAPIKey() string

func (*HoneycombLogSinkSinkData) GetDataset

func (o *HoneycombLogSinkSinkData) GetDataset() string

type HoneycombLogSinkSinkType

type HoneycombLogSinkSinkType string

HoneycombLogSinkSinkType - The type of the log sink.

const (
	HoneycombLogSinkSinkTypeHoneycomb HoneycombLogSinkSinkType = "honeycomb"
)

func (HoneycombLogSinkSinkType) ToPointer

func (*HoneycombLogSinkSinkType) UnmarshalJSON

func (e *HoneycombLogSinkSinkType) UnmarshalJSON(data []byte) error

type Integration

type Integration struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

Integration - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*Integration) GetAPIKey

func (o *Integration) GetAPIKey() *string

func (*Integration) GetAccessKey

func (o *Integration) GetAccessKey() *string

func (*Integration) GetKeyfileJSON

func (o *Integration) GetKeyfileJSON() *string

func (*Integration) GetSecretKey

func (o *Integration) GetSecretKey() *string

type Integrations

type Integrations struct {
	// The time the integration was created.
	CreatedAt time.Time `json:"createdAt"`
	// A short description of the integration.
	Description *string `json:"description,omitempty"`
	// Identifier for the integration.
	ID string `json:"id"`
	// The name of the integration.
	Name string `json:"name"`
	// The cloud provider to which this integration belongs to.
	Provider *string `json:"provider,omitempty"`
}

Integrations - An integration object.

func (*Integrations) GetCreatedAt

func (o *Integrations) GetCreatedAt() time.Time

func (*Integrations) GetDescription

func (o *Integrations) GetDescription() *string

func (*Integrations) GetID

func (o *Integrations) GetID() string

func (*Integrations) GetName

func (o *Integrations) GetName() string

func (*Integrations) GetProvider

func (o *Integrations) GetProvider() *string

func (Integrations) MarshalJSON

func (i Integrations) MarshalJSON() ([]byte, error)

func (*Integrations) UnmarshalJSON

func (i *Integrations) UnmarshalJSON(data []byte) error

type InvoiceDetailsResult

type InvoiceDetailsResult struct {
	// Result data.
	Data InvoiceDetailsResultData `json:"data"`
}

InvoiceDetailsResult - Response object.

func (*InvoiceDetailsResult) GetData

type InvoiceDetailsResultData

type InvoiceDetailsResultData struct {
	// Currency code for the currency the invoice is billed in.
	Currency string `json:"currency"`
	// If `timestamp` is passed in, whether the invoice has been paid.
	Paid *bool `json:"paid,omitempty"`
	// Information about the billing period of the invoice.
	Period Period `json:"period"`
	// An array of projects billed in this invoice. If `projectId` is passed in, only projects with a `projectId` matching the value will be returned.
	Projects []Projects `json:"projects"`
	// Total cost of the invoice, in cents, excluding tax.
	SubTotal float32 `json:"subTotal"`
	// Details about the tax on the invoice.
	Tax Tax `json:"tax"`
	// Total cost of the invoice, in cents, including tax.
	Total float32 `json:"total"`
}

InvoiceDetailsResultData - Result data.

func (*InvoiceDetailsResultData) GetCurrency

func (o *InvoiceDetailsResultData) GetCurrency() string

func (*InvoiceDetailsResultData) GetPaid

func (o *InvoiceDetailsResultData) GetPaid() *bool

func (*InvoiceDetailsResultData) GetPeriod

func (o *InvoiceDetailsResultData) GetPeriod() Period

func (*InvoiceDetailsResultData) GetProjects

func (o *InvoiceDetailsResultData) GetProjects() []Projects

func (*InvoiceDetailsResultData) GetSubTotal

func (o *InvoiceDetailsResultData) GetSubTotal() float32

func (*InvoiceDetailsResultData) GetTax

func (o *InvoiceDetailsResultData) GetTax() Tax

func (*InvoiceDetailsResultData) GetTotal

func (o *InvoiceDetailsResultData) GetTotal() float32

type InvoiceDetailsResultPrice

type InvoiceDetailsResultPrice struct {
	// Price of CPU usage for this object, in cents.
	CPU float32 `json:"cpu"`
	// Price of memory usage for this object, in cents.
	Memory float32 `json:"memory"`
	// Price of storage usage for this object, in cents.
	Storage float32 `json:"storage"`
	// Total price for this object, in cents.
	Total float32 `json:"total"`
}

InvoiceDetailsResultPrice - Details about the price of a object, broken down by resource type.

func (*InvoiceDetailsResultPrice) GetCPU

func (o *InvoiceDetailsResultPrice) GetCPU() float32

func (*InvoiceDetailsResultPrice) GetMemory

func (o *InvoiceDetailsResultPrice) GetMemory() float32

func (*InvoiceDetailsResultPrice) GetStorage

func (o *InvoiceDetailsResultPrice) GetStorage() float32

func (*InvoiceDetailsResultPrice) GetTotal

func (o *InvoiceDetailsResultPrice) GetTotal() float32

type InvoiceDetailsResultSchemasDataPrice

type InvoiceDetailsResultSchemasDataPrice struct {
	// Price of CPU usage for all jobs in this project, in cents.
	CPU float32 `json:"cpu"`
	// Price of memory usage for all jobs in this project, in cents.
	Memory float32 `json:"memory"`
	// Price of storage usage for all jobs in this project, in cents.
	Storage float32 `json:"storage"`
	// Total price for all jobs in this project, in cents.
	Total float32 `json:"total"`
}

InvoiceDetailsResultSchemasDataPrice - Details about the price for all jobs in this project, broken down by resource type.

func (*InvoiceDetailsResultSchemasDataPrice) GetCPU

func (*InvoiceDetailsResultSchemasDataPrice) GetMemory

func (*InvoiceDetailsResultSchemasDataPrice) GetStorage

func (*InvoiceDetailsResultSchemasDataPrice) GetTotal

type InvoiceDetailsResultSchemasDataProjectsPrice

type InvoiceDetailsResultSchemasDataProjectsPrice struct {
	// Price of CPU usage for all services in this project, in cents.
	CPU float32 `json:"cpu"`
	// Price of memory usage for all services in this project, in cents.
	Memory float32 `json:"memory"`
	// Price of storage usage for all services in this project, in cents.
	Storage float32 `json:"storage"`
	// Total price for all services in this project, in cents.
	Total float32 `json:"total"`
}

InvoiceDetailsResultSchemasDataProjectsPrice - Details about the price for all services in this project, broken down by resource type.

func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetCPU

func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetMemory

func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetStorage

func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetTotal

type InvoiceDetailsResultSchemasPrice

type InvoiceDetailsResultSchemasPrice struct {
	// Price of CPU usage for all addons in this project, in cents.
	CPU float32 `json:"cpu"`
	// Price of memory usage for all addons in this project, in cents.
	Memory float32 `json:"memory"`
	// Price of storage usage for all addons in this project, in cents.
	Storage float32 `json:"storage"`
	// Total price for all addons in this project, in cents.
	Total float32 `json:"total"`
}

InvoiceDetailsResultSchemasPrice - Details about the price for all addons in this project, broken down by resource type.

func (*InvoiceDetailsResultSchemasPrice) GetCPU

func (*InvoiceDetailsResultSchemasPrice) GetMemory

func (*InvoiceDetailsResultSchemasPrice) GetStorage

func (o *InvoiceDetailsResultSchemasPrice) GetStorage() float32

func (*InvoiceDetailsResultSchemasPrice) GetTotal

type Invoices

type Invoices struct {
	// Currency code for the currency the invoice is billed in.
	Currency string `json:"currency"`
	// If `timestamp` is passed in, whether the invoice has been paid.
	Paid *bool `json:"paid,omitempty"`
	// Information about the billing period of the invoice.
	Period PastInvoicesResultPeriod `json:"period"`
	// Total cost of the invoice, in cents, excluding tax.
	SubTotal float32 `json:"subTotal"`
	// Total cost of the invoice, in cents, including tax.
	Total float32 `json:"total"`
}

func (*Invoices) GetCurrency

func (o *Invoices) GetCurrency() string

func (*Invoices) GetPaid

func (o *Invoices) GetPaid() *bool

func (*Invoices) GetPeriod

func (o *Invoices) GetPeriod() PastInvoicesResultPeriod

func (*Invoices) GetSubTotal

func (o *Invoices) GetSubTotal() float32

func (*Invoices) GetTotal

func (o *Invoices) GetTotal() float32

type Items

type Items struct {
	// Duration the object has been running in this billing period, in seconds.
	Duration string `json:"duration"`
	// The ID of the object.
	NfObjectID string `json:"nfObjectId"`
	// The type of the object.
	NfObjectType NfObjectType `json:"nfObjectType"`
	// Details about the price of a object, broken down by resource type.
	Price InvoiceDetailsResultPrice `json:"price"`
}

Items - Billing details about an object.

func (*Items) GetDuration

func (o *Items) GetDuration() string

func (*Items) GetNfObjectID

func (o *Items) GetNfObjectID() string

func (*Items) GetNfObjectType

func (o *Items) GetNfObjectType() NfObjectType

func (*Items) GetPrice

func (o *Items) GetPrice() InvoiceDetailsResultPrice

type Job

type Job struct {
	// Duration jobs have been running in this billing period, in seconds.
	Duration float32 `json:"duration"`
	// Details about the price for all jobs in this project, broken down by resource type.
	Price *InvoiceDetailsResultSchemasDataPrice `json:"price,omitempty"`
}

func (*Job) GetDuration

func (o *Job) GetDuration() float32

func (*Job) GetPrice

type Keyfile

type Keyfile struct {
}

Keyfile - Contents of `keyfile.json`, used to authenticate with Google Container Registry.

type Labels

type Labels struct {
}

Labels - Set of label keys and values that can be used to determine scheduling via resource tags.

type ListDomainsResult

type ListDomainsResult struct {
	// Result data.
	Data ListDomainsResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination ListDomainsResultPagination `json:"pagination"`
}

ListDomainsResult - Response object.

func (*ListDomainsResult) GetData

func (*ListDomainsResult) GetPagination

type ListDomainsResultData

type ListDomainsResultData struct {
	// A list of domains registered to this account.
	Domains []Domains `json:"domains"`
}

ListDomainsResultData - Result data.

func (*ListDomainsResultData) GetDomains

func (o *ListDomainsResultData) GetDomains() []Domains

type ListDomainsResultPagination

type ListDomainsResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

ListDomainsResultPagination - Data about the endpoint pagination.

func (*ListDomainsResultPagination) GetCount

func (o *ListDomainsResultPagination) GetCount() float32

func (*ListDomainsResultPagination) GetCursor

func (o *ListDomainsResultPagination) GetCursor() *string

func (*ListDomainsResultPagination) GetHasNextPage

func (o *ListDomainsResultPagination) GetHasNextPage() bool

type ListDomainsResultStatus

type ListDomainsResultStatus string

ListDomainsResultStatus - The status of the domain verification.

const (
	ListDomainsResultStatusPending  ListDomainsResultStatus = "pending"
	ListDomainsResultStatusVerified ListDomainsResultStatus = "verified"
)

func (ListDomainsResultStatus) ToPointer

func (*ListDomainsResultStatus) UnmarshalJSON

func (e *ListDomainsResultStatus) UnmarshalJSON(data []byte) error

type ListIntegrationsResult

type ListIntegrationsResult struct {
	// Result data.
	Data ListIntegrationsResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination ListIntegrationsResultPagination `json:"pagination"`
}

ListIntegrationsResult - Response object.

func (*ListIntegrationsResult) GetData

func (*ListIntegrationsResult) GetPagination

type ListIntegrationsResultData

type ListIntegrationsResultData struct {
	// An array of integrations.
	Integrations []Integrations `json:"integrations"`
}

ListIntegrationsResultData - Result data.

func (*ListIntegrationsResultData) GetIntegrations

func (o *ListIntegrationsResultData) GetIntegrations() []Integrations

type ListIntegrationsResultPagination

type ListIntegrationsResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

ListIntegrationsResultPagination - Data about the endpoint pagination.

func (*ListIntegrationsResultPagination) GetCount

func (*ListIntegrationsResultPagination) GetCursor

func (o *ListIntegrationsResultPagination) GetCursor() *string

func (*ListIntegrationsResultPagination) GetHasNextPage

func (o *ListIntegrationsResultPagination) GetHasNextPage() bool

type LogSinkDetails

type LogSinkDetails struct {
	// Result data.
	Data LogSinkDetailsData `json:"data"`
}

LogSinkDetails - Response object.

func (*LogSinkDetails) GetData

func (o *LogSinkDetails) GetData() LogSinkDetailsData

type LogSinkDetails1

type LogSinkDetails1 struct {
	// Object containing authentication data for the log sink.
	Auth *LogSinkDetailsAuth `json:"auth,omitempty"`
	// Encoding options
	Encoding *LogSinkDetailsEncoding `json:"encoding,omitempty"`
	// The endpoint of the Loki log sink.
	Endpoint string `json:"endpoint"`
}

func (*LogSinkDetails1) GetAuth

func (o *LogSinkDetails1) GetAuth() *LogSinkDetailsAuth

func (*LogSinkDetails1) GetEncoding

func (o *LogSinkDetails1) GetEncoding() *LogSinkDetailsEncoding

func (*LogSinkDetails1) GetEndpoint

func (o *LogSinkDetails1) GetEndpoint() string

type LogSinkDetails2

type LogSinkDetails2 struct {
	// The Datadog API key.
	DefaultAPIKey string `json:"default_api_key"`
	// The Datadog region.
	Region LogSinkDetailsRegion `json:"region"`
}

func (*LogSinkDetails2) GetDefaultAPIKey

func (o *LogSinkDetails2) GetDefaultAPIKey() string

func (*LogSinkDetails2) GetRegion

func (o *LogSinkDetails2) GetRegion() LogSinkDetailsRegion

type LogSinkDetails3

type LogSinkDetails3 struct {
	LogSinkDetailsSchemas1 *LogSinkDetailsSchemas1
	LogSinkDetailsSchemas2 *LogSinkDetailsSchemas2

	Type LogSinkDetails3Type
}

LogSinkDetails3 - Papertrail Sink Schema.

func CreateLogSinkDetails3LogSinkDetailsSchemas1

func CreateLogSinkDetails3LogSinkDetailsSchemas1(logSinkDetailsSchemas1 LogSinkDetailsSchemas1) LogSinkDetails3

func CreateLogSinkDetails3LogSinkDetailsSchemas2

func CreateLogSinkDetails3LogSinkDetailsSchemas2(logSinkDetailsSchemas2 LogSinkDetailsSchemas2) LogSinkDetails3

func (LogSinkDetails3) MarshalJSON

func (u LogSinkDetails3) MarshalJSON() ([]byte, error)

func (*LogSinkDetails3) UnmarshalJSON

func (u *LogSinkDetails3) UnmarshalJSON(data []byte) error

type LogSinkDetails3Type

type LogSinkDetails3Type string
const (
	LogSinkDetails3TypeLogSinkDetailsSchemas1 LogSinkDetails3Type = "LogSinkDetails_Schemas_1"
	LogSinkDetails3TypeLogSinkDetailsSchemas2 LogSinkDetails3Type = "LogSinkDetails_Schemas_2"
)

type LogSinkDetails4

type LogSinkDetails4 struct {
	Auth LogSinkDetailsSchemasAuth `json:"auth"`
	// Encoding options
	Encoding *LogSinkDetailsSchemasEncoding `json:"encoding,omitempty"`
	// Uri to send logs to.
	URI string `json:"uri"`
}

LogSinkDetails4 - HTTP Sink Schema.

func (*LogSinkDetails4) GetAuth

func (*LogSinkDetails4) GetEncoding

func (*LogSinkDetails4) GetURI

func (o *LogSinkDetails4) GetURI() string

type LogSinkDetails5

type LogSinkDetails5 struct {
	// Authentication object.
	Auth *LogSinkDetailsSchemasDataAuth `json:"auth,omitempty"`
	// Name of the S3 Bucket.
	Bucket string `json:"bucket"`
	// Log file compression method.
	Compression LogSinkDetailsCompression `json:"compression"`
	// Endpoint for the AWS S3 or compatible API bucket.
	Endpoint string `json:"endpoint"`
	// Region of the S3 bucket.
	Region LogSinkDetailsSchemasRegion `json:"region"`
}

LogSinkDetails5 - AWS S3 or compatible API Sink Schema.

func (*LogSinkDetails5) GetAuth

func (*LogSinkDetails5) GetBucket

func (o *LogSinkDetails5) GetBucket() string

func (*LogSinkDetails5) GetCompression

func (o *LogSinkDetails5) GetCompression() LogSinkDetailsCompression

func (*LogSinkDetails5) GetEndpoint

func (o *LogSinkDetails5) GetEndpoint() string

func (*LogSinkDetails5) GetRegion

type LogSinkDetails6

type LogSinkDetails6 struct {
	// Logtail Source Token
	Token string `json:"token"`
}

LogSinkDetails6 - Logtail Sink Schema.

func (*LogSinkDetails6) GetToken

func (o *LogSinkDetails6) GetToken() string

type LogSinkDetails7

type LogSinkDetails7 struct {
	// Ingestion Key
	APIKey string `json:"api_key"`
}

LogSinkDetails7 - LogDNA Sink Schema.

func (*LogSinkDetails7) GetAPIKey

func (o *LogSinkDetails7) GetAPIKey() string

type LogSinkDetails8

type LogSinkDetails8 struct {
	// Honeycomb API Key
	APIKey string `json:"api_key"`
	// Name of the dataset
	Dataset string `json:"dataset"`
}

LogSinkDetails8 - Honeycomb Sink Schema.

func (*LogSinkDetails8) GetAPIKey

func (o *LogSinkDetails8) GetAPIKey() string

func (*LogSinkDetails8) GetDataset

func (o *LogSinkDetails8) GetDataset() string

type LogSinkDetailsAuth

type LogSinkDetailsAuth struct {
	// The password for the log sink.
	Password *string `json:"password,omitempty"`
	// The authentication strategy.
	Strategy *LogSinkDetailsStrategy `json:"strategy,omitempty"`
	// The username for the log sink.
	User *string `json:"user,omitempty"`
}

LogSinkDetailsAuth - Object containing authentication data for the log sink.

func (*LogSinkDetailsAuth) GetPassword

func (o *LogSinkDetailsAuth) GetPassword() *string

func (*LogSinkDetailsAuth) GetStrategy

func (o *LogSinkDetailsAuth) GetStrategy() *LogSinkDetailsStrategy

func (*LogSinkDetailsAuth) GetUser

func (o *LogSinkDetailsAuth) GetUser() *string

type LogSinkDetailsAuthenticationStrategy

type LogSinkDetailsAuthenticationStrategy string

LogSinkDetailsAuthenticationStrategy - The authentication strategy.

const (
	LogSinkDetailsAuthenticationStrategyToken LogSinkDetailsAuthenticationStrategy = "token"
)

func (LogSinkDetailsAuthenticationStrategy) ToPointer

func (*LogSinkDetailsAuthenticationStrategy) UnmarshalJSON

func (e *LogSinkDetailsAuthenticationStrategy) UnmarshalJSON(data []byte) error

type LogSinkDetailsCodec

type LogSinkDetailsCodec string

LogSinkDetailsCodec - Codec to encode logs in

const (
	LogSinkDetailsCodecText LogSinkDetailsCodec = "text"
	LogSinkDetailsCodecJSON LogSinkDetailsCodec = "json"
)

func (LogSinkDetailsCodec) ToPointer

func (*LogSinkDetailsCodec) UnmarshalJSON

func (e *LogSinkDetailsCodec) UnmarshalJSON(data []byte) error

type LogSinkDetailsCompression

type LogSinkDetailsCompression string

LogSinkDetailsCompression - Log file compression method.

const (
	LogSinkDetailsCompressionGzip LogSinkDetailsCompression = "gzip"
	LogSinkDetailsCompressionNone LogSinkDetailsCompression = "none"
)

func (LogSinkDetailsCompression) ToPointer

func (*LogSinkDetailsCompression) UnmarshalJSON

func (e *LogSinkDetailsCompression) UnmarshalJSON(data []byte) error

type LogSinkDetailsData

type LogSinkDetailsData struct {
	// Timestamp of when the log sink was created.
	CreatedAt time.Time `json:"createdAt"`
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// Identifier for the Log Sink
	ID string `json:"id"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted bool `json:"restricted"`
	// Data about the log sink.
	SinkData *LogSinkDetailsSinkData `json:"sinkData,omitempty"`
	// The type of the log sink.
	SinkType LogSinkDetailsSinkType `json:"sinkType"`
	// Timestamp of when the log sink was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

LogSinkDetailsData - Result data.

func (*LogSinkDetailsData) GetCreatedAt

func (o *LogSinkDetailsData) GetCreatedAt() time.Time

func (*LogSinkDetailsData) GetDescription

func (o *LogSinkDetailsData) GetDescription() *string

func (*LogSinkDetailsData) GetID

func (o *LogSinkDetailsData) GetID() string

func (*LogSinkDetailsData) GetName

func (o *LogSinkDetailsData) GetName() string

func (*LogSinkDetailsData) GetProjects

func (o *LogSinkDetailsData) GetProjects() []string

func (*LogSinkDetailsData) GetRestricted

func (o *LogSinkDetailsData) GetRestricted() bool

func (*LogSinkDetailsData) GetSinkData

func (o *LogSinkDetailsData) GetSinkData() *LogSinkDetailsSinkData

func (*LogSinkDetailsData) GetSinkType

func (o *LogSinkDetailsData) GetSinkType() LogSinkDetailsSinkType

func (*LogSinkDetailsData) GetUpdatedAt

func (o *LogSinkDetailsData) GetUpdatedAt() time.Time

func (*LogSinkDetailsData) GetUseCustomLabels

func (o *LogSinkDetailsData) GetUseCustomLabels() *bool

func (LogSinkDetailsData) MarshalJSON

func (l LogSinkDetailsData) MarshalJSON() ([]byte, error)

func (*LogSinkDetailsData) UnmarshalJSON

func (l *LogSinkDetailsData) UnmarshalJSON(data []byte) error

type LogSinkDetailsEncoding

type LogSinkDetailsEncoding struct {
	// Codec to encode logs in
	Codec LogSinkDetailsCodec `json:"codec"`
}

LogSinkDetailsEncoding - Encoding options

func (*LogSinkDetailsEncoding) GetCodec

type LogSinkDetailsRegion

type LogSinkDetailsRegion string

LogSinkDetailsRegion - The Datadog region.

const (
	LogSinkDetailsRegionEu  LogSinkDetailsRegion = "eu"
	LogSinkDetailsRegionUs  LogSinkDetailsRegion = "us"
	LogSinkDetailsRegionUs3 LogSinkDetailsRegion = "us3"
	LogSinkDetailsRegionUs5 LogSinkDetailsRegion = "us5"
)

func (LogSinkDetailsRegion) ToPointer

func (*LogSinkDetailsRegion) UnmarshalJSON

func (e *LogSinkDetailsRegion) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemas1

type LogSinkDetailsSchemas1 struct {
	// The authentication strategy.
	AuthenticationStrategy LogSinkDetailsSchemasAuthenticationStrategy `json:"authenticationStrategy"`
	// The host for the Papertrail log destination.
	Host string `json:"host"`
	// The port for the Papertrail log destination.
	Port float32 `json:"port"`
}

LogSinkDetailsSchemas1 - Authenticate with a host/port

func (*LogSinkDetailsSchemas1) GetAuthenticationStrategy

func (*LogSinkDetailsSchemas1) GetHost

func (o *LogSinkDetailsSchemas1) GetHost() string

func (*LogSinkDetailsSchemas1) GetPort

func (o *LogSinkDetailsSchemas1) GetPort() float32

type LogSinkDetailsSchemas2

type LogSinkDetailsSchemas2 struct {
	// The authentication strategy.
	AuthenticationStrategy LogSinkDetailsAuthenticationStrategy `json:"authenticationStrategy"`
	// The HTTP Token for the Papertrail log destination.
	Token string `json:"token"`
	// The uri for the Papertrail log destination.
	URI string `json:"uri"`
}

LogSinkDetailsSchemas2 - Authenticate with a token.

func (*LogSinkDetailsSchemas2) GetAuthenticationStrategy

func (o *LogSinkDetailsSchemas2) GetAuthenticationStrategy() LogSinkDetailsAuthenticationStrategy

func (*LogSinkDetailsSchemas2) GetToken

func (o *LogSinkDetailsSchemas2) GetToken() string

func (*LogSinkDetailsSchemas2) GetURI

func (o *LogSinkDetailsSchemas2) GetURI() string

type LogSinkDetailsSchemas3

type LogSinkDetailsSchemas3 struct {
	// Bearer token authentication strategy.
	Strategy LogSinkDetailsSchemasDataSinkDataStrategy `json:"strategy"`
	// Token for bearer token authentication.
	Token *string `json:"token,omitempty"`
}

LogSinkDetailsSchemas3 - Authenticate with a bearer token strategy.

func (*LogSinkDetailsSchemas3) GetStrategy

func (*LogSinkDetailsSchemas3) GetToken

func (o *LogSinkDetailsSchemas3) GetToken() *string

type LogSinkDetailsSchemasAuth

type LogSinkDetailsSchemasAuth struct {
	LogSinkDetailsSchemasData1 *LogSinkDetailsSchemasData1
	LogSinkDetailsSchemasData2 *LogSinkDetailsSchemasData2
	LogSinkDetailsSchemas3     *LogSinkDetailsSchemas3

	Type LogSinkDetailsSchemasAuthType
}

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemas3

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemas3(logSinkDetailsSchemas3 LogSinkDetailsSchemas3) LogSinkDetailsSchemasAuth

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData1

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData1(logSinkDetailsSchemasData1 LogSinkDetailsSchemasData1) LogSinkDetailsSchemasAuth

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData2

func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData2(logSinkDetailsSchemasData2 LogSinkDetailsSchemasData2) LogSinkDetailsSchemasAuth

func (LogSinkDetailsSchemasAuth) MarshalJSON

func (u LogSinkDetailsSchemasAuth) MarshalJSON() ([]byte, error)

func (*LogSinkDetailsSchemasAuth) UnmarshalJSON

func (u *LogSinkDetailsSchemasAuth) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasAuthType

type LogSinkDetailsSchemasAuthType string
const (
	LogSinkDetailsSchemasAuthTypeLogSinkDetailsSchemasData1 LogSinkDetailsSchemasAuthType = "LogSinkDetails_Schemas_data_1"
	LogSinkDetailsSchemasAuthTypeLogSinkDetailsSchemasData2 LogSinkDetailsSchemasAuthType = "LogSinkDetails_Schemas_data_2"
	LogSinkDetailsSchemasAuthTypeLogSinkDetailsSchemas3     LogSinkDetailsSchemasAuthType = "LogSinkDetails_Schemas_3"
)

type LogSinkDetailsSchemasAuthenticationStrategy

type LogSinkDetailsSchemasAuthenticationStrategy string

LogSinkDetailsSchemasAuthenticationStrategy - The authentication strategy.

const (
	LogSinkDetailsSchemasAuthenticationStrategyPort LogSinkDetailsSchemasAuthenticationStrategy = "port"
)

func (LogSinkDetailsSchemasAuthenticationStrategy) ToPointer

func (*LogSinkDetailsSchemasAuthenticationStrategy) UnmarshalJSON

func (e *LogSinkDetailsSchemasAuthenticationStrategy) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasCodec

type LogSinkDetailsSchemasCodec string

LogSinkDetailsSchemasCodec - Codec to encode logs in

const (
	LogSinkDetailsSchemasCodecText LogSinkDetailsSchemasCodec = "text"
	LogSinkDetailsSchemasCodecJSON LogSinkDetailsSchemasCodec = "json"
)

func (LogSinkDetailsSchemasCodec) ToPointer

func (*LogSinkDetailsSchemasCodec) UnmarshalJSON

func (e *LogSinkDetailsSchemasCodec) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasData1

type LogSinkDetailsSchemasData1 struct {
	// No authentication strategy
	Strategy LogSinkDetailsSchemasStrategy `json:"strategy"`
}

LogSinkDetailsSchemasData1 - No authentication strategy

func (*LogSinkDetailsSchemasData1) GetStrategy

type LogSinkDetailsSchemasData2

type LogSinkDetailsSchemasData2 struct {
	// Password for basic http authentication.
	Password string `json:"password"`
	// Basic HTTP authentication strategy.
	Strategy LogSinkDetailsSchemasDataStrategy `json:"strategy"`
	// Username for basic http authentication.
	User *string `json:"user,omitempty"`
}

LogSinkDetailsSchemasData2 - Authenticate with a basic http strategy.

func (*LogSinkDetailsSchemasData2) GetPassword

func (o *LogSinkDetailsSchemasData2) GetPassword() string

func (*LogSinkDetailsSchemasData2) GetStrategy

func (*LogSinkDetailsSchemasData2) GetUser

func (o *LogSinkDetailsSchemasData2) GetUser() *string

type LogSinkDetailsSchemasDataAuth

type LogSinkDetailsSchemasDataAuth struct {
	// Access key id for the bucket.
	AccessKeyID string `json:"accessKeyId"`
	// Secret access key for the bucket.
	SecretAccessKey string `json:"secretAccessKey"`
}

LogSinkDetailsSchemasDataAuth - Authentication object.

func (*LogSinkDetailsSchemasDataAuth) GetAccessKeyID

func (o *LogSinkDetailsSchemasDataAuth) GetAccessKeyID() string

func (*LogSinkDetailsSchemasDataAuth) GetSecretAccessKey

func (o *LogSinkDetailsSchemasDataAuth) GetSecretAccessKey() string

type LogSinkDetailsSchemasDataSinkDataStrategy

type LogSinkDetailsSchemasDataSinkDataStrategy string

LogSinkDetailsSchemasDataSinkDataStrategy - Bearer token authentication strategy.

const (
	LogSinkDetailsSchemasDataSinkDataStrategyBearer LogSinkDetailsSchemasDataSinkDataStrategy = "bearer"
)

func (LogSinkDetailsSchemasDataSinkDataStrategy) ToPointer

func (*LogSinkDetailsSchemasDataSinkDataStrategy) UnmarshalJSON

func (e *LogSinkDetailsSchemasDataSinkDataStrategy) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasDataStrategy

type LogSinkDetailsSchemasDataStrategy string

LogSinkDetailsSchemasDataStrategy - Basic HTTP authentication strategy.

const (
	LogSinkDetailsSchemasDataStrategyBasic LogSinkDetailsSchemasDataStrategy = "basic"
)

func (LogSinkDetailsSchemasDataStrategy) ToPointer

func (*LogSinkDetailsSchemasDataStrategy) UnmarshalJSON

func (e *LogSinkDetailsSchemasDataStrategy) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasEncoding

type LogSinkDetailsSchemasEncoding struct {
	// Codec to encode logs in
	Codec LogSinkDetailsSchemasCodec `json:"codec"`
}

LogSinkDetailsSchemasEncoding - Encoding options

func (*LogSinkDetailsSchemasEncoding) GetCodec

type LogSinkDetailsSchemasRegion

type LogSinkDetailsSchemasRegion string

LogSinkDetailsSchemasRegion - Region of the S3 bucket.

const (
	LogSinkDetailsSchemasRegionEuWest1    LogSinkDetailsSchemasRegion = "eu-west-1"
	LogSinkDetailsSchemasRegionEuWest2    LogSinkDetailsSchemasRegion = "eu-west-2"
	LogSinkDetailsSchemasRegionEuWest3    LogSinkDetailsSchemasRegion = "eu-west-3"
	LogSinkDetailsSchemasRegionEuCentral1 LogSinkDetailsSchemasRegion = "eu-central-1"
	LogSinkDetailsSchemasRegionEuSouth1   LogSinkDetailsSchemasRegion = "eu-south-1"
	LogSinkDetailsSchemasRegionEuNorth1   LogSinkDetailsSchemasRegion = "eu-north-1"
	LogSinkDetailsSchemasRegionUsWest1    LogSinkDetailsSchemasRegion = "us-west-1"
	LogSinkDetailsSchemasRegionUsWest2    LogSinkDetailsSchemasRegion = "us-west-2"
	LogSinkDetailsSchemasRegionUsEast1    LogSinkDetailsSchemasRegion = "us-east-1"
	LogSinkDetailsSchemasRegionUsEast2    LogSinkDetailsSchemasRegion = "us-east2"
)

func (LogSinkDetailsSchemasRegion) ToPointer

func (*LogSinkDetailsSchemasRegion) UnmarshalJSON

func (e *LogSinkDetailsSchemasRegion) UnmarshalJSON(data []byte) error

type LogSinkDetailsSchemasStrategy

type LogSinkDetailsSchemasStrategy string

LogSinkDetailsSchemasStrategy - No authentication strategy

const (
	LogSinkDetailsSchemasStrategyNone LogSinkDetailsSchemasStrategy = "none"
)

func (LogSinkDetailsSchemasStrategy) ToPointer

func (*LogSinkDetailsSchemasStrategy) UnmarshalJSON

func (e *LogSinkDetailsSchemasStrategy) UnmarshalJSON(data []byte) error

type LogSinkDetailsSinkData

type LogSinkDetailsSinkData struct {
	LogSinkDetails1 *LogSinkDetails1
	LogSinkDetails2 *LogSinkDetails2
	LogSinkDetails3 *LogSinkDetails3
	LogSinkDetails4 *LogSinkDetails4
	LogSinkDetails5 *LogSinkDetails5
	LogSinkDetails6 *LogSinkDetails6
	LogSinkDetails7 *LogSinkDetails7
	LogSinkDetails8 *LogSinkDetails8

	Type LogSinkDetailsSinkDataType
}

LogSinkDetailsSinkData - Data about the log sink.

func CreateLogSinkDetailsSinkDataLogSinkDetails1

func CreateLogSinkDetailsSinkDataLogSinkDetails1(logSinkDetails1 LogSinkDetails1) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails2

func CreateLogSinkDetailsSinkDataLogSinkDetails2(logSinkDetails2 LogSinkDetails2) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails3

func CreateLogSinkDetailsSinkDataLogSinkDetails3(logSinkDetails3 LogSinkDetails3) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails4

func CreateLogSinkDetailsSinkDataLogSinkDetails4(logSinkDetails4 LogSinkDetails4) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails5

func CreateLogSinkDetailsSinkDataLogSinkDetails5(logSinkDetails5 LogSinkDetails5) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails6

func CreateLogSinkDetailsSinkDataLogSinkDetails6(logSinkDetails6 LogSinkDetails6) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails7

func CreateLogSinkDetailsSinkDataLogSinkDetails7(logSinkDetails7 LogSinkDetails7) LogSinkDetailsSinkData

func CreateLogSinkDetailsSinkDataLogSinkDetails8

func CreateLogSinkDetailsSinkDataLogSinkDetails8(logSinkDetails8 LogSinkDetails8) LogSinkDetailsSinkData

func (LogSinkDetailsSinkData) MarshalJSON

func (u LogSinkDetailsSinkData) MarshalJSON() ([]byte, error)

func (*LogSinkDetailsSinkData) UnmarshalJSON

func (u *LogSinkDetailsSinkData) UnmarshalJSON(data []byte) error

type LogSinkDetailsSinkDataType

type LogSinkDetailsSinkDataType string
const (
	LogSinkDetailsSinkDataTypeLogSinkDetails1 LogSinkDetailsSinkDataType = "LogSinkDetails_1"
	LogSinkDetailsSinkDataTypeLogSinkDetails2 LogSinkDetailsSinkDataType = "LogSinkDetails_2"
	LogSinkDetailsSinkDataTypeLogSinkDetails3 LogSinkDetailsSinkDataType = "LogSinkDetails_3"
	LogSinkDetailsSinkDataTypeLogSinkDetails4 LogSinkDetailsSinkDataType = "LogSinkDetails_4"
	LogSinkDetailsSinkDataTypeLogSinkDetails5 LogSinkDetailsSinkDataType = "LogSinkDetails_5"
	LogSinkDetailsSinkDataTypeLogSinkDetails6 LogSinkDetailsSinkDataType = "LogSinkDetails_6"
	LogSinkDetailsSinkDataTypeLogSinkDetails7 LogSinkDetailsSinkDataType = "LogSinkDetails_7"
	LogSinkDetailsSinkDataTypeLogSinkDetails8 LogSinkDetailsSinkDataType = "LogSinkDetails_8"
)

type LogSinkDetailsSinkType

type LogSinkDetailsSinkType string

LogSinkDetailsSinkType - The type of the log sink.

const (
	LogSinkDetailsSinkTypeLoki        LogSinkDetailsSinkType = "loki"
	LogSinkDetailsSinkTypeDatadogLogs LogSinkDetailsSinkType = "datadog_logs"
	LogSinkDetailsSinkTypePapertrail  LogSinkDetailsSinkType = "papertrail"
	LogSinkDetailsSinkTypeHTTP        LogSinkDetailsSinkType = "http"
	LogSinkDetailsSinkTypeAwsS3       LogSinkDetailsSinkType = "aws_s3"
	LogSinkDetailsSinkTypeLogdna      LogSinkDetailsSinkType = "logdna"
	LogSinkDetailsSinkTypeCoralogix   LogSinkDetailsSinkType = "coralogix"
	LogSinkDetailsSinkTypeLogtail     LogSinkDetailsSinkType = "logtail"
	LogSinkDetailsSinkTypeHoneycomb   LogSinkDetailsSinkType = "honeycomb"
	LogSinkDetailsSinkTypeLogzio      LogSinkDetailsSinkType = "logzio"
)

func (LogSinkDetailsSinkType) ToPointer

func (*LogSinkDetailsSinkType) UnmarshalJSON

func (e *LogSinkDetailsSinkType) UnmarshalJSON(data []byte) error

type LogSinkDetailsStrategy

type LogSinkDetailsStrategy string

LogSinkDetailsStrategy - The authentication strategy.

const (
	LogSinkDetailsStrategyBasic LogSinkDetailsStrategy = "basic"
)

func (LogSinkDetailsStrategy) ToPointer

func (*LogSinkDetailsStrategy) UnmarshalJSON

func (e *LogSinkDetailsStrategy) UnmarshalJSON(data []byte) error

type LogSinkRequest

type LogSinkRequest struct {
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `json:"restricted,omitempty"`
	// If `true`, and the log sink is currently paused, the log sink will be resumed after updating.
	ResumeLogSink *bool `default:"false" json:"resumeLogSink"`
	// Data about the log sink.
	SinkData *LogSinkRequestSinkData `json:"sinkData,omitempty"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

func (*LogSinkRequest) GetProjects

func (o *LogSinkRequest) GetProjects() []string

func (*LogSinkRequest) GetRestricted

func (o *LogSinkRequest) GetRestricted() *bool

func (*LogSinkRequest) GetResumeLogSink

func (o *LogSinkRequest) GetResumeLogSink() *bool

func (*LogSinkRequest) GetSinkData

func (o *LogSinkRequest) GetSinkData() *LogSinkRequestSinkData

func (*LogSinkRequest) GetUseCustomLabels

func (o *LogSinkRequest) GetUseCustomLabels() *bool

func (LogSinkRequest) MarshalJSON

func (l LogSinkRequest) MarshalJSON() ([]byte, error)

func (*LogSinkRequest) UnmarshalJSON

func (l *LogSinkRequest) UnmarshalJSON(data []byte) error

type LogSinkRequest1

type LogSinkRequest1 struct {
	// The authentication strategy.
	AuthenticationStrategy LogSinkRequestSchemasAuthenticationStrategy `json:"authenticationStrategy"`
	// The host for the Papertrail log destination.
	Host string `json:"host"`
	// The port for the Papertrail log destination.
	Port float32 `json:"port"`
}

LogSinkRequest1 - Authenticate with a host/port

func (*LogSinkRequest1) GetAuthenticationStrategy

func (o *LogSinkRequest1) GetAuthenticationStrategy() LogSinkRequestSchemasAuthenticationStrategy

func (*LogSinkRequest1) GetHost

func (o *LogSinkRequest1) GetHost() string

func (*LogSinkRequest1) GetPort

func (o *LogSinkRequest1) GetPort() float32

type LogSinkRequest2

type LogSinkRequest2 struct {
	// The authentication strategy.
	AuthenticationStrategy LogSinkRequestAuthenticationStrategy `json:"authenticationStrategy"`
	// The HTTP Token for the Papertrail log destination.
	Token string `json:"token"`
	// The uri for the Papertrail log destination.
	URI string `json:"uri"`
}

LogSinkRequest2 - Authenticate with a token.

func (*LogSinkRequest2) GetAuthenticationStrategy

func (o *LogSinkRequest2) GetAuthenticationStrategy() LogSinkRequestAuthenticationStrategy

func (*LogSinkRequest2) GetToken

func (o *LogSinkRequest2) GetToken() string

func (*LogSinkRequest2) GetURI

func (o *LogSinkRequest2) GetURI() string

type LogSinkRequest3

type LogSinkRequest3 struct {
	// Bearer token authentication strategy.
	Strategy LogSinkRequestSchemasSinkData4Strategy `json:"strategy"`
	// Token for bearer token authentication.
	Token *string `json:"token,omitempty"`
}

LogSinkRequest3 - Authenticate with a bearer token strategy.

func (*LogSinkRequest3) GetStrategy

func (*LogSinkRequest3) GetToken

func (o *LogSinkRequest3) GetToken() *string

type LogSinkRequestAuth

type LogSinkRequestAuth struct {
	// The password for the log sink.
	Password *string `json:"password,omitempty"`
	// The authentication method.
	Strategy *LogSinkRequestStrategy `json:"strategy,omitempty"`
	// The username for the log sink.
	User *string `json:"user,omitempty"`
}

LogSinkRequestAuth - Object containing authentication data for the log sink.

func (*LogSinkRequestAuth) GetPassword

func (o *LogSinkRequestAuth) GetPassword() *string

func (*LogSinkRequestAuth) GetStrategy

func (o *LogSinkRequestAuth) GetStrategy() *LogSinkRequestStrategy

func (*LogSinkRequestAuth) GetUser

func (o *LogSinkRequestAuth) GetUser() *string

type LogSinkRequestAuthenticationStrategy

type LogSinkRequestAuthenticationStrategy string

LogSinkRequestAuthenticationStrategy - The authentication strategy.

const (
	LogSinkRequestAuthenticationStrategyToken LogSinkRequestAuthenticationStrategy = "token"
)

func (LogSinkRequestAuthenticationStrategy) ToPointer

func (*LogSinkRequestAuthenticationStrategy) UnmarshalJSON

func (e *LogSinkRequestAuthenticationStrategy) UnmarshalJSON(data []byte) error

type LogSinkRequestCodec

type LogSinkRequestCodec string

LogSinkRequestCodec - Codec to encode logs in

const (
	LogSinkRequestCodecText LogSinkRequestCodec = "text"
	LogSinkRequestCodecJSON LogSinkRequestCodec = "json"
)

func (LogSinkRequestCodec) ToPointer

func (*LogSinkRequestCodec) UnmarshalJSON

func (e *LogSinkRequestCodec) UnmarshalJSON(data []byte) error

type LogSinkRequestCompression

type LogSinkRequestCompression string

LogSinkRequestCompression - Log file compression method.

const (
	LogSinkRequestCompressionGzip LogSinkRequestCompression = "gzip"
	LogSinkRequestCompressionNone LogSinkRequestCompression = "none"
)

func (LogSinkRequestCompression) ToPointer

func (*LogSinkRequestCompression) UnmarshalJSON

func (e *LogSinkRequestCompression) UnmarshalJSON(data []byte) error

type LogSinkRequestEncoding

type LogSinkRequestEncoding struct {
	// Codec to encode logs in
	Codec LogSinkRequestCodec `json:"codec"`
}

LogSinkRequestEncoding - Encoding options

func (*LogSinkRequestEncoding) GetCodec

type LogSinkRequestRegion

type LogSinkRequestRegion string

LogSinkRequestRegion - The Datadog region.

const (
	LogSinkRequestRegionEu  LogSinkRequestRegion = "eu"
	LogSinkRequestRegionUs  LogSinkRequestRegion = "us"
	LogSinkRequestRegionUs3 LogSinkRequestRegion = "us3"
	LogSinkRequestRegionUs5 LogSinkRequestRegion = "us5"
)

func (LogSinkRequestRegion) ToPointer

func (*LogSinkRequestRegion) UnmarshalJSON

func (e *LogSinkRequestRegion) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemas1

type LogSinkRequestSchemas1 struct {
	// No authentication strategy
	Strategy LogSinkRequestSchemasStrategy `json:"strategy"`
}

LogSinkRequestSchemas1 - No authentication strategy

func (*LogSinkRequestSchemas1) GetStrategy

type LogSinkRequestSchemas2

type LogSinkRequestSchemas2 struct {
	// Password for basic http authentication.
	Password string `json:"password"`
	// Basic HTTP authentication strategy.
	Strategy LogSinkRequestSchemasSinkDataStrategy `json:"strategy"`
	// Username for basic http authentication.
	User *string `json:"user,omitempty"`
}

LogSinkRequestSchemas2 - Authenticate with a basic http strategy.

func (*LogSinkRequestSchemas2) GetPassword

func (o *LogSinkRequestSchemas2) GetPassword() string

func (*LogSinkRequestSchemas2) GetStrategy

func (*LogSinkRequestSchemas2) GetUser

func (o *LogSinkRequestSchemas2) GetUser() *string

type LogSinkRequestSchemasAuth

type LogSinkRequestSchemasAuth struct {
	LogSinkRequestSchemas1 *LogSinkRequestSchemas1
	LogSinkRequestSchemas2 *LogSinkRequestSchemas2
	LogSinkRequest3        *LogSinkRequest3

	Type LogSinkRequestSchemasAuthType
}

func CreateLogSinkRequestSchemasAuthLogSinkRequest3

func CreateLogSinkRequestSchemasAuthLogSinkRequest3(logSinkRequest3 LogSinkRequest3) LogSinkRequestSchemasAuth

func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas1

func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas1(logSinkRequestSchemas1 LogSinkRequestSchemas1) LogSinkRequestSchemasAuth

func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas2

func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas2(logSinkRequestSchemas2 LogSinkRequestSchemas2) LogSinkRequestSchemasAuth

func (LogSinkRequestSchemasAuth) MarshalJSON

func (u LogSinkRequestSchemasAuth) MarshalJSON() ([]byte, error)

func (*LogSinkRequestSchemasAuth) UnmarshalJSON

func (u *LogSinkRequestSchemasAuth) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemasAuthType

type LogSinkRequestSchemasAuthType string
const (
	LogSinkRequestSchemasAuthTypeLogSinkRequestSchemas1 LogSinkRequestSchemasAuthType = "LogSinkRequest_Schemas_1"
	LogSinkRequestSchemasAuthTypeLogSinkRequestSchemas2 LogSinkRequestSchemasAuthType = "LogSinkRequest_Schemas_2"
	LogSinkRequestSchemasAuthTypeLogSinkRequest3        LogSinkRequestSchemasAuthType = "LogSinkRequest_3"
)

type LogSinkRequestSchemasAuthenticationStrategy

type LogSinkRequestSchemasAuthenticationStrategy string

LogSinkRequestSchemasAuthenticationStrategy - The authentication strategy.

const (
	LogSinkRequestSchemasAuthenticationStrategyPort LogSinkRequestSchemasAuthenticationStrategy = "port"
)

func (LogSinkRequestSchemasAuthenticationStrategy) ToPointer

func (*LogSinkRequestSchemasAuthenticationStrategy) UnmarshalJSON

func (e *LogSinkRequestSchemasAuthenticationStrategy) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemasRegion

type LogSinkRequestSchemasRegion string

LogSinkRequestSchemasRegion - Region of the S3 bucket.

const (
	LogSinkRequestSchemasRegionEuWest1    LogSinkRequestSchemasRegion = "eu-west-1"
	LogSinkRequestSchemasRegionEuWest2    LogSinkRequestSchemasRegion = "eu-west-2"
	LogSinkRequestSchemasRegionEuWest3    LogSinkRequestSchemasRegion = "eu-west-3"
	LogSinkRequestSchemasRegionEuCentral1 LogSinkRequestSchemasRegion = "eu-central-1"
	LogSinkRequestSchemasRegionEuSouth1   LogSinkRequestSchemasRegion = "eu-south-1"
	LogSinkRequestSchemasRegionEuNorth1   LogSinkRequestSchemasRegion = "eu-north-1"
	LogSinkRequestSchemasRegionUsWest1    LogSinkRequestSchemasRegion = "us-west-1"
	LogSinkRequestSchemasRegionUsWest2    LogSinkRequestSchemasRegion = "us-west-2"
	LogSinkRequestSchemasRegionUsEast1    LogSinkRequestSchemasRegion = "us-east-1"
	LogSinkRequestSchemasRegionUsEast2    LogSinkRequestSchemasRegion = "us-east2"
)

func (LogSinkRequestSchemasRegion) ToPointer

func (*LogSinkRequestSchemasRegion) UnmarshalJSON

func (e *LogSinkRequestSchemasRegion) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemasSinkData4Strategy

type LogSinkRequestSchemasSinkData4Strategy string

LogSinkRequestSchemasSinkData4Strategy - Bearer token authentication strategy.

const (
	LogSinkRequestSchemasSinkData4StrategyBearer LogSinkRequestSchemasSinkData4Strategy = "bearer"
)

func (LogSinkRequestSchemasSinkData4Strategy) ToPointer

func (*LogSinkRequestSchemasSinkData4Strategy) UnmarshalJSON

func (e *LogSinkRequestSchemasSinkData4Strategy) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemasSinkDataAuth

type LogSinkRequestSchemasSinkDataAuth struct {
	// Access key id for the bucket.
	AccessKeyID string `json:"accessKeyId"`
	// Secret access key for the bucket.
	SecretAccessKey string `json:"secretAccessKey"`
}

LogSinkRequestSchemasSinkDataAuth - Authentication object.

func (*LogSinkRequestSchemasSinkDataAuth) GetAccessKeyID

func (o *LogSinkRequestSchemasSinkDataAuth) GetAccessKeyID() string

func (*LogSinkRequestSchemasSinkDataAuth) GetSecretAccessKey

func (o *LogSinkRequestSchemasSinkDataAuth) GetSecretAccessKey() string

type LogSinkRequestSchemasSinkDataStrategy

type LogSinkRequestSchemasSinkDataStrategy string

LogSinkRequestSchemasSinkDataStrategy - Basic HTTP authentication strategy.

const (
	LogSinkRequestSchemasSinkDataStrategyBasic LogSinkRequestSchemasSinkDataStrategy = "basic"
)

func (LogSinkRequestSchemasSinkDataStrategy) ToPointer

func (*LogSinkRequestSchemasSinkDataStrategy) UnmarshalJSON

func (e *LogSinkRequestSchemasSinkDataStrategy) UnmarshalJSON(data []byte) error

type LogSinkRequestSchemasStrategy

type LogSinkRequestSchemasStrategy string

LogSinkRequestSchemasStrategy - No authentication strategy

const (
	LogSinkRequestSchemasStrategyNone LogSinkRequestSchemasStrategy = "none"
)

func (LogSinkRequestSchemasStrategy) ToPointer

func (*LogSinkRequestSchemasStrategy) UnmarshalJSON

func (e *LogSinkRequestSchemasStrategy) UnmarshalJSON(data []byte) error

type LogSinkRequestSinkData

type LogSinkRequestSinkData struct {
	One   *One
	Two   *Two
	Three *Three
	Four  *Four
	Five  *Five
	Six   *Six
	Seven *Seven
	Eight *Eight

	Type LogSinkRequestSinkDataType
}

LogSinkRequestSinkData - Data about the log sink.

func CreateLogSinkRequestSinkDataEight

func CreateLogSinkRequestSinkDataEight(eight Eight) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataFive

func CreateLogSinkRequestSinkDataFive(five Five) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataFour

func CreateLogSinkRequestSinkDataFour(four Four) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataOne

func CreateLogSinkRequestSinkDataOne(one One) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataSeven

func CreateLogSinkRequestSinkDataSeven(seven Seven) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataSix

func CreateLogSinkRequestSinkDataSix(six Six) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataThree

func CreateLogSinkRequestSinkDataThree(three Three) LogSinkRequestSinkData

func CreateLogSinkRequestSinkDataTwo

func CreateLogSinkRequestSinkDataTwo(two Two) LogSinkRequestSinkData

func (LogSinkRequestSinkData) MarshalJSON

func (u LogSinkRequestSinkData) MarshalJSON() ([]byte, error)

func (*LogSinkRequestSinkData) UnmarshalJSON

func (u *LogSinkRequestSinkData) UnmarshalJSON(data []byte) error

type LogSinkRequestSinkDataType

type LogSinkRequestSinkDataType string
const (
	LogSinkRequestSinkDataTypeOne   LogSinkRequestSinkDataType = "1"
	LogSinkRequestSinkDataTypeTwo   LogSinkRequestSinkDataType = "2"
	LogSinkRequestSinkDataTypeThree LogSinkRequestSinkDataType = "3"
	LogSinkRequestSinkDataTypeFour  LogSinkRequestSinkDataType = "4"
	LogSinkRequestSinkDataTypeFive  LogSinkRequestSinkDataType = "5"
	LogSinkRequestSinkDataTypeSix   LogSinkRequestSinkDataType = "6"
	LogSinkRequestSinkDataTypeSeven LogSinkRequestSinkDataType = "7"
	LogSinkRequestSinkDataTypeEight LogSinkRequestSinkDataType = "8"
)

type LogSinkRequestStrategy

type LogSinkRequestStrategy string

LogSinkRequestStrategy - The authentication method.

const (
	LogSinkRequestStrategyBasic LogSinkRequestStrategy = "basic"
)

func (LogSinkRequestStrategy) ToPointer

func (*LogSinkRequestStrategy) UnmarshalJSON

func (e *LogSinkRequestStrategy) UnmarshalJSON(data []byte) error

type LogSinks

type LogSinks struct {
	// Timestamp of when the log sink was created.
	CreatedAt time.Time `json:"createdAt"`
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// Identifier for the Log Sink
	ID string `json:"id"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted bool `json:"restricted"`
	// The type of the log sink.
	SinkType GetLogSinksResultSinkType `json:"sinkType"`
	// Timestamp of when the log sink was last updated.
	UpdatedAt time.Time `json:"updatedAt"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

LogSinks - A log sink object.

func (*LogSinks) GetCreatedAt

func (o *LogSinks) GetCreatedAt() time.Time

func (*LogSinks) GetDescription

func (o *LogSinks) GetDescription() *string

func (*LogSinks) GetID

func (o *LogSinks) GetID() string

func (*LogSinks) GetName

func (o *LogSinks) GetName() string

func (*LogSinks) GetProjects

func (o *LogSinks) GetProjects() []string

func (*LogSinks) GetRestricted

func (o *LogSinks) GetRestricted() bool

func (*LogSinks) GetSinkType

func (o *LogSinks) GetSinkType() GetLogSinksResultSinkType

func (*LogSinks) GetUpdatedAt

func (o *LogSinks) GetUpdatedAt() time.Time

func (*LogSinks) GetUseCustomLabels

func (o *LogSinks) GetUseCustomLabels() *bool

func (LogSinks) MarshalJSON

func (l LogSinks) MarshalJSON() ([]byte, error)

func (*LogSinks) UnmarshalJSON

func (l *LogSinks) UnmarshalJSON(data []byte) error

type Logging

type Logging struct {
	Loki *Loki                     `json:"loki,omitempty"`
	Mode *CreateClusterRequestMode `json:"mode,omitempty"`
}

func (*Logging) GetLoki

func (o *Logging) GetLoki() *Loki

func (*Logging) GetMode

func (o *Logging) GetMode() *CreateClusterRequestMode

type LogioLogSink

type LogioLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the Logz.io log sink.
	SinkData LogioLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType LogioLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

LogioLogSink - Create a log sink using Logz.io

func (*LogioLogSink) GetDescription

func (o *LogioLogSink) GetDescription() *string

func (*LogioLogSink) GetForwardAccessLogs

func (o *LogioLogSink) GetForwardAccessLogs() *bool

func (*LogioLogSink) GetName

func (o *LogioLogSink) GetName() string

func (*LogioLogSink) GetProjects

func (o *LogioLogSink) GetProjects() []string

func (*LogioLogSink) GetRestricted

func (o *LogioLogSink) GetRestricted() *bool

func (*LogioLogSink) GetSinkData

func (o *LogioLogSink) GetSinkData() LogioLogSinkSinkData

func (*LogioLogSink) GetSinkType

func (o *LogioLogSink) GetSinkType() LogioLogSinkSinkType

func (*LogioLogSink) GetUseCustomLabels

func (o *LogioLogSink) GetUseCustomLabels() *bool

func (LogioLogSink) MarshalJSON

func (l LogioLogSink) MarshalJSON() ([]byte, error)

func (*LogioLogSink) UnmarshalJSON

func (l *LogioLogSink) UnmarshalJSON(data []byte) error

type LogioLogSinkRegion

type LogioLogSinkRegion string

LogioLogSinkRegion - Your Logzio region code

const (
	LogioLogSinkRegionEu LogioLogSinkRegion = "eu"
	LogioLogSinkRegionUk LogioLogSinkRegion = "uk"
	LogioLogSinkRegionUs LogioLogSinkRegion = "us"
	LogioLogSinkRegionCa LogioLogSinkRegion = "ca"
	LogioLogSinkRegionAu LogioLogSinkRegion = "au"
	LogioLogSinkRegionNl LogioLogSinkRegion = "nl"
	LogioLogSinkRegionWa LogioLogSinkRegion = "wa"
)

func (LogioLogSinkRegion) ToPointer

func (e LogioLogSinkRegion) ToPointer() *LogioLogSinkRegion

func (*LogioLogSinkRegion) UnmarshalJSON

func (e *LogioLogSinkRegion) UnmarshalJSON(data []byte) error

type LogioLogSinkSinkData

type LogioLogSinkSinkData struct {
	// Your Logzio region code
	Region LogioLogSinkRegion `json:"region"`
	// The Log Shipping Token of the account you want to ship to
	Token string `json:"token"`
}

LogioLogSinkSinkData - Details about the Logz.io log sink.

func (*LogioLogSinkSinkData) GetRegion

func (*LogioLogSinkSinkData) GetToken

func (o *LogioLogSinkSinkData) GetToken() string

type LogioLogSinkSinkType

type LogioLogSinkSinkType string

LogioLogSinkSinkType - The type of the log sink.

const (
	LogioLogSinkSinkTypeLogzio LogioLogSinkSinkType = "logzio"
)

func (LogioLogSinkSinkType) ToPointer

func (*LogioLogSinkSinkType) UnmarshalJSON

func (e *LogioLogSinkSinkType) UnmarshalJSON(data []byte) error

type LogtailLogSink

type LogtailLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the Logtail log sink.
	SinkData LogtailLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType LogtailLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

LogtailLogSink - Create a log sink using Logtail

func (*LogtailLogSink) GetDescription

func (o *LogtailLogSink) GetDescription() *string

func (*LogtailLogSink) GetForwardAccessLogs

func (o *LogtailLogSink) GetForwardAccessLogs() *bool

func (*LogtailLogSink) GetName

func (o *LogtailLogSink) GetName() string

func (*LogtailLogSink) GetProjects

func (o *LogtailLogSink) GetProjects() []string

func (*LogtailLogSink) GetRestricted

func (o *LogtailLogSink) GetRestricted() *bool

func (*LogtailLogSink) GetSinkData

func (o *LogtailLogSink) GetSinkData() LogtailLogSinkSinkData

func (*LogtailLogSink) GetSinkType

func (o *LogtailLogSink) GetSinkType() LogtailLogSinkSinkType

func (*LogtailLogSink) GetUseCustomLabels

func (o *LogtailLogSink) GetUseCustomLabels() *bool

func (LogtailLogSink) MarshalJSON

func (l LogtailLogSink) MarshalJSON() ([]byte, error)

func (*LogtailLogSink) UnmarshalJSON

func (l *LogtailLogSink) UnmarshalJSON(data []byte) error

type LogtailLogSinkSinkData

type LogtailLogSinkSinkData struct {
	// Logtail Source Token
	Token string `json:"token"`
}

LogtailLogSinkSinkData - Details about the Logtail log sink.

func (*LogtailLogSinkSinkData) GetToken

func (o *LogtailLogSinkSinkData) GetToken() string

type LogtailLogSinkSinkType

type LogtailLogSinkSinkType string

LogtailLogSinkSinkType - The type of the log sink.

const (
	LogtailLogSinkSinkTypeLogtail LogtailLogSinkSinkType = "logtail"
)

func (LogtailLogSinkSinkType) ToPointer

func (*LogtailLogSinkSinkType) UnmarshalJSON

func (e *LogtailLogSinkSinkType) UnmarshalJSON(data []byte) error

type Loki

type Loki struct {
	CreateClusterRequest1 *CreateClusterRequest1
	CreateClusterRequest2 *CreateClusterRequest2

	Type LokiType
}

func CreateLokiCreateClusterRequest1

func CreateLokiCreateClusterRequest1(createClusterRequest1 CreateClusterRequest1) Loki

func CreateLokiCreateClusterRequest2

func CreateLokiCreateClusterRequest2(createClusterRequest2 CreateClusterRequest2) Loki

func (Loki) MarshalJSON

func (u Loki) MarshalJSON() ([]byte, error)

func (*Loki) UnmarshalJSON

func (u *Loki) UnmarshalJSON(data []byte) error

type LokiLogSink

type LokiLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Details about the Loki log sink.
	SinkData LokiLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType LokiLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

LokiLogSink - Create a log sink using Loki

func (*LokiLogSink) GetDescription

func (o *LokiLogSink) GetDescription() *string

func (*LokiLogSink) GetForwardAccessLogs

func (o *LokiLogSink) GetForwardAccessLogs() *bool

func (*LokiLogSink) GetName

func (o *LokiLogSink) GetName() string

func (*LokiLogSink) GetProjects

func (o *LokiLogSink) GetProjects() []string

func (*LokiLogSink) GetRestricted

func (o *LokiLogSink) GetRestricted() *bool

func (*LokiLogSink) GetSinkData

func (o *LokiLogSink) GetSinkData() LokiLogSinkSinkData

func (*LokiLogSink) GetSinkType

func (o *LokiLogSink) GetSinkType() LokiLogSinkSinkType

func (*LokiLogSink) GetUseCustomLabels

func (o *LokiLogSink) GetUseCustomLabels() *bool

func (LokiLogSink) MarshalJSON

func (l LokiLogSink) MarshalJSON() ([]byte, error)

func (*LokiLogSink) UnmarshalJSON

func (l *LokiLogSink) UnmarshalJSON(data []byte) error

type LokiLogSinkAuth

type LokiLogSinkAuth struct {
	// The password for the log sink.
	Password *string `json:"password,omitempty"`
	// The authentication strategy.
	Strategy *Strategy `json:"strategy,omitempty"`
	// The username for the log sink.
	User *string `json:"user,omitempty"`
}

LokiLogSinkAuth - Object containing authentication data for the log sink.

func (*LokiLogSinkAuth) GetPassword

func (o *LokiLogSinkAuth) GetPassword() *string

func (*LokiLogSinkAuth) GetStrategy

func (o *LokiLogSinkAuth) GetStrategy() *Strategy

func (*LokiLogSinkAuth) GetUser

func (o *LokiLogSinkAuth) GetUser() *string

type LokiLogSinkCodec

type LokiLogSinkCodec string

LokiLogSinkCodec - Codec to encode logs in

const (
	LokiLogSinkCodecText LokiLogSinkCodec = "text"
	LokiLogSinkCodecJSON LokiLogSinkCodec = "json"
)

func (LokiLogSinkCodec) ToPointer

func (e LokiLogSinkCodec) ToPointer() *LokiLogSinkCodec

func (*LokiLogSinkCodec) UnmarshalJSON

func (e *LokiLogSinkCodec) UnmarshalJSON(data []byte) error

type LokiLogSinkEncoding

type LokiLogSinkEncoding struct {
	// Codec to encode logs in
	Codec LokiLogSinkCodec `json:"codec"`
}

LokiLogSinkEncoding - Encoding options

func (*LokiLogSinkEncoding) GetCodec

func (o *LokiLogSinkEncoding) GetCodec() LokiLogSinkCodec

type LokiLogSinkSinkData

type LokiLogSinkSinkData struct {
	// Object containing authentication data for the log sink.
	Auth *LokiLogSinkAuth `json:"auth,omitempty"`
	// Encoding options
	Encoding *LokiLogSinkEncoding `json:"encoding,omitempty"`
	// The endpoint of the Loki log sink.
	Endpoint string `json:"endpoint"`
}

LokiLogSinkSinkData - Details about the Loki log sink.

func (*LokiLogSinkSinkData) GetAuth

func (o *LokiLogSinkSinkData) GetAuth() *LokiLogSinkAuth

func (*LokiLogSinkSinkData) GetEncoding

func (o *LokiLogSinkSinkData) GetEncoding() *LokiLogSinkEncoding

func (*LokiLogSinkSinkData) GetEndpoint

func (o *LokiLogSinkSinkData) GetEndpoint() string

type LokiLogSinkSinkType

type LokiLogSinkSinkType string

LokiLogSinkSinkType - The type of the log sink.

const (
	LokiLogSinkSinkTypeLoki LokiLogSinkSinkType = "loki"
)

func (LokiLogSinkSinkType) ToPointer

func (*LokiLogSinkSinkType) UnmarshalJSON

func (e *LokiLogSinkSinkType) UnmarshalJSON(data []byte) error

type LokiType

type LokiType string
const (
	LokiTypeCreateClusterRequest1 LokiType = "CreateClusterRequest_1"
	LokiTypeCreateClusterRequest2 LokiType = "CreateClusterRequest_2"
)

type Mode

type Mode string
const (
	ModePaas         Mode = "paas"
	ModeInternal     Mode = "internal"
	ModeBuildCluster Mode = "build-cluster"
)

func (Mode) ToPointer

func (e Mode) ToPointer() *Mode

func (*Mode) UnmarshalJSON

func (e *Mode) UnmarshalJSON(data []byte) error

type NfObjectType

type NfObjectType string

NfObjectType - The type of the object.

const (
	NfObjectTypeJob     NfObjectType = "job"
	NfObjectTypeService NfObjectType = "service"
	NfObjectTypeAddon   NfObjectType = "addon"
	NfObjectTypeVolume  NfObjectType = "volume"
)

func (NfObjectType) ToPointer

func (e NfObjectType) ToPointer() *NfObjectType

func (*NfObjectType) UnmarshalJSON

func (e *NfObjectType) UnmarshalJSON(data []byte) error

type NodePools

type NodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *Autoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *Labels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*NodePools) GetAutoscaling

func (o *NodePools) GetAutoscaling() *Autoscaling

func (*NodePools) GetAvailabilityZones

func (o *NodePools) GetAvailabilityZones() []string

func (*NodePools) GetDiskSize

func (o *NodePools) GetDiskSize() int64

func (*NodePools) GetDiskType

func (o *NodePools) GetDiskType() *string

func (*NodePools) GetLabels

func (o *NodePools) GetLabels() *Labels

func (*NodePools) GetNodeCount

func (o *NodePools) GetNodeCount() int64

func (*NodePools) GetNodeType

func (o *NodePools) GetNodeType() string

func (*NodePools) GetPreemptible

func (o *NodePools) GetPreemptible() *bool

func (*NodePools) GetSystemPool

func (o *NodePools) GetSystemPool() *bool

func (NodePools) MarshalJSON

func (n NodePools) MarshalJSON() ([]byte, error)

func (*NodePools) UnmarshalJSON

func (n *NodePools) UnmarshalJSON(data []byte) error

type ObjectTypeTotals

type ObjectTypeTotals struct {
	Addon   *Addon   `json:"addon,omitempty"`
	Job     *Job     `json:"job,omitempty"`
	Service *Service `json:"service,omitempty"`
}

ObjectTypeTotals - Details about the price of a project, broken down by object type.

func (*ObjectTypeTotals) GetAddon

func (o *ObjectTypeTotals) GetAddon() *Addon

func (*ObjectTypeTotals) GetJob

func (o *ObjectTypeTotals) GetJob() *Job

func (*ObjectTypeTotals) GetService

func (o *ObjectTypeTotals) GetService() *Service

type One

type One struct {
	// Object containing authentication data for the log sink.
	Auth *LogSinkRequestAuth `json:"auth,omitempty"`
	// The endpoint of the Loki log sink.
	Endpoint *string `json:"endpoint,omitempty"`
}

One - Loki Sink Schema.

func (*One) GetAuth

func (o *One) GetAuth() *LogSinkRequestAuth

func (*One) GetEndpoint

func (o *One) GetEndpoint() *string

type Owner

type Owner struct {
	// The login of the repository owner.
	Login string `json:"login"`
}

Owner - Details about the repository owner.

func (*Owner) GetLogin

func (o *Owner) GetLogin() string

type Pagination

type Pagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

Pagination - Data about the endpoint pagination.

func (*Pagination) GetCount

func (o *Pagination) GetCount() float32

func (*Pagination) GetCursor

func (o *Pagination) GetCursor() *string

func (*Pagination) GetHasNextPage

func (o *Pagination) GetHasNextPage() bool

type PapertrailLogSink

type PapertrailLogSink struct {
	// Description of the log sink.
	Description *string `json:"description,omitempty"`
	// If `true` your network access logs will be forwarded with your workload logs
	ForwardAccessLogs *bool `default:"false" json:"forwardAccessLogs"`
	// Name of the log sink.
	Name string `json:"name"`
	// If `restricted` is `true`, only logs from these projects will be sent to the log sink.
	Projects []string `json:"projects,omitempty"`
	// If `true`, only logs from the projects in `projects` will be sent to the log sink.
	Restricted *bool `default:"false" json:"restricted"`
	// Papertrail Sink Schema.
	SinkData PapertrailLogSinkSinkData `json:"sinkData"`
	// The type of the log sink.
	SinkType PapertrailLogSinkSinkType `json:"sinkType"`
	// If `true`, we will do additional parsing on your JSON formatted log lines and your extract custom labels
	UseCustomLabels *bool `default:"false" json:"useCustomLabels"`
}

PapertrailLogSink - Create a log sink using Papertrail

func (*PapertrailLogSink) GetDescription

func (o *PapertrailLogSink) GetDescription() *string

func (*PapertrailLogSink) GetForwardAccessLogs

func (o *PapertrailLogSink) GetForwardAccessLogs() *bool

func (*PapertrailLogSink) GetName

func (o *PapertrailLogSink) GetName() string

func (*PapertrailLogSink) GetProjects

func (o *PapertrailLogSink) GetProjects() []string

func (*PapertrailLogSink) GetRestricted

func (o *PapertrailLogSink) GetRestricted() *bool

func (*PapertrailLogSink) GetSinkData

func (*PapertrailLogSink) GetSinkType

func (*PapertrailLogSink) GetUseCustomLabels

func (o *PapertrailLogSink) GetUseCustomLabels() *bool

func (PapertrailLogSink) MarshalJSON

func (p PapertrailLogSink) MarshalJSON() ([]byte, error)

func (*PapertrailLogSink) UnmarshalJSON

func (p *PapertrailLogSink) UnmarshalJSON(data []byte) error

type PapertrailLogSink1

type PapertrailLogSink1 struct {
	// The authentication strategy.
	AuthenticationStrategy AuthenticationStrategy `json:"authenticationStrategy"`
	// The host for the Papertrail log destination.
	Host string `json:"host"`
	// The port for the Papertrail log destination.
	Port float32 `json:"port"`
}

PapertrailLogSink1 - Authenticate with a host/port

func (*PapertrailLogSink1) GetAuthenticationStrategy

func (o *PapertrailLogSink1) GetAuthenticationStrategy() AuthenticationStrategy

func (*PapertrailLogSink1) GetHost

func (o *PapertrailLogSink1) GetHost() string

func (*PapertrailLogSink1) GetPort

func (o *PapertrailLogSink1) GetPort() float32

type PapertrailLogSink2

type PapertrailLogSink2 struct {
	// The authentication strategy.
	AuthenticationStrategy PapertrailLogSinkAuthenticationStrategy `json:"authenticationStrategy"`
	// The HTTP Token for the Papertrail log destination.
	Token string `json:"token"`
	// The uri for the Papertrail log destination.
	URI string `json:"uri"`
}

PapertrailLogSink2 - Authenticate with a token.

func (*PapertrailLogSink2) GetAuthenticationStrategy

func (o *PapertrailLogSink2) GetAuthenticationStrategy() PapertrailLogSinkAuthenticationStrategy

func (*PapertrailLogSink2) GetToken

func (o *PapertrailLogSink2) GetToken() string

func (*PapertrailLogSink2) GetURI

func (o *PapertrailLogSink2) GetURI() string

type PapertrailLogSinkAuthenticationStrategy

type PapertrailLogSinkAuthenticationStrategy string

PapertrailLogSinkAuthenticationStrategy - The authentication strategy.

const (
	PapertrailLogSinkAuthenticationStrategyToken PapertrailLogSinkAuthenticationStrategy = "token"
)

func (PapertrailLogSinkAuthenticationStrategy) ToPointer

func (*PapertrailLogSinkAuthenticationStrategy) UnmarshalJSON

func (e *PapertrailLogSinkAuthenticationStrategy) UnmarshalJSON(data []byte) error

type PapertrailLogSinkSinkData

type PapertrailLogSinkSinkData struct {
	PapertrailLogSink1 *PapertrailLogSink1
	PapertrailLogSink2 *PapertrailLogSink2

	Type PapertrailLogSinkSinkDataType
}

PapertrailLogSinkSinkData - Papertrail Sink Schema.

func CreatePapertrailLogSinkSinkDataPapertrailLogSink1

func CreatePapertrailLogSinkSinkDataPapertrailLogSink1(papertrailLogSink1 PapertrailLogSink1) PapertrailLogSinkSinkData

func CreatePapertrailLogSinkSinkDataPapertrailLogSink2

func CreatePapertrailLogSinkSinkDataPapertrailLogSink2(papertrailLogSink2 PapertrailLogSink2) PapertrailLogSinkSinkData

func (PapertrailLogSinkSinkData) MarshalJSON

func (u PapertrailLogSinkSinkData) MarshalJSON() ([]byte, error)

func (*PapertrailLogSinkSinkData) UnmarshalJSON

func (u *PapertrailLogSinkSinkData) UnmarshalJSON(data []byte) error

type PapertrailLogSinkSinkDataType

type PapertrailLogSinkSinkDataType string
const (
	PapertrailLogSinkSinkDataTypePapertrailLogSink1 PapertrailLogSinkSinkDataType = "PapertrailLogSink_1"
	PapertrailLogSinkSinkDataTypePapertrailLogSink2 PapertrailLogSinkSinkDataType = "PapertrailLogSink_2"
)

type PapertrailLogSinkSinkType

type PapertrailLogSinkSinkType string

PapertrailLogSinkSinkType - The type of the log sink.

const (
	PapertrailLogSinkSinkTypePapertrail PapertrailLogSinkSinkType = "papertrail"
)

func (PapertrailLogSinkSinkType) ToPointer

func (*PapertrailLogSinkSinkType) UnmarshalJSON

func (e *PapertrailLogSinkSinkType) UnmarshalJSON(data []byte) error

type PastInvoicesResult

type PastInvoicesResult struct {
	// Result data.
	Data PastInvoicesResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination PastInvoicesResultPagination `json:"pagination"`
}

PastInvoicesResult - Response object.

func (*PastInvoicesResult) GetData

func (*PastInvoicesResult) GetPagination

type PastInvoicesResultData

type PastInvoicesResultData struct {
	Invoices *Invoices `json:"invoices,omitempty"`
}

PastInvoicesResultData - Result data.

func (*PastInvoicesResultData) GetInvoices

func (o *PastInvoicesResultData) GetInvoices() *Invoices

type PastInvoicesResultPagination

type PastInvoicesResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

PastInvoicesResultPagination - Data about the endpoint pagination.

func (*PastInvoicesResultPagination) GetCount

func (o *PastInvoicesResultPagination) GetCount() float32

func (*PastInvoicesResultPagination) GetCursor

func (o *PastInvoicesResultPagination) GetCursor() *string

func (*PastInvoicesResultPagination) GetHasNextPage

func (o *PastInvoicesResultPagination) GetHasNextPage() bool

type PastInvoicesResultPeriod

type PastInvoicesResultPeriod struct {
	// Unix timestamp of the end of the billing period.
	End float32 `json:"end"`
	// Unix timestamp of the start of the billing period.
	Start float32 `json:"start"`
}

PastInvoicesResultPeriod - Information about the billing period of the invoice.

func (*PastInvoicesResultPeriod) GetEnd

func (o *PastInvoicesResultPeriod) GetEnd() float32

func (*PastInvoicesResultPeriod) GetStart

func (o *PastInvoicesResultPeriod) GetStart() float32

type Period

type Period struct {
	// Unix timestamp of the end of the billing period.
	End float32 `json:"end"`
	// Unix timestamp of the start of the billing period.
	Start float32 `json:"start"`
}

Period - Information about the billing period of the invoice.

func (*Period) GetEnd

func (o *Period) GetEnd() float32

func (*Period) GetStart

func (o *Period) GetStart() float32

type Price

type Price struct {
	// Price of CPU usage for this project, in cents.
	CPU float32 `json:"cpu"`
	// Price of memory usage for this project, in cents.
	Memory float32 `json:"memory"`
	// Price of storage usage for this project, in cents.
	Storage float32 `json:"storage"`
	// Total price for this project, in cents.
	Total float32 `json:"total"`
}

Price - Details about the price of a project, broken down by resource type.

func (*Price) GetCPU

func (o *Price) GetCPU() float32

func (*Price) GetMemory

func (o *Price) GetMemory() float32

func (*Price) GetStorage

func (o *Price) GetStorage() float32

func (*Price) GetTotal

func (o *Price) GetTotal() float32

type Projects

type Projects struct {
	// Duration the project has been running in this billing period, in seconds.
	Duration string `json:"duration"`
	// An array of objects belonging to this project that are billed in this invoice. If `addonId`, `serviceId` or `jobId` are passed in, only objects matching that ID will be returned.
	Items []Items `json:"items"`
	// Details about the price of a project, broken down by object type.
	ObjectTypeTotals ObjectTypeTotals `json:"objectTypeTotals"`
	// Details about the price of a project, broken down by resource type.
	Price Price `json:"price"`
	// ID of the project.
	ProjectID string `json:"projectId"`
}

Projects - Billing details about a project.

func (*Projects) GetDuration

func (o *Projects) GetDuration() string

func (*Projects) GetItems

func (o *Projects) GetItems() []Items

func (*Projects) GetObjectTypeTotals

func (o *Projects) GetObjectTypeTotals() ObjectTypeTotals

func (*Projects) GetPrice

func (o *Projects) GetPrice() Price

func (*Projects) GetProjectID

func (o *Projects) GetProjectID() string

type Provider

type Provider string

Provider - The registry provider associated with this set of credentials.

const (
	ProviderDockerhub Provider = "dockerhub"
	ProviderGcr       Provider = "gcr"
	ProviderGcrEu     Provider = "gcr-eu"
	ProviderGcrUs     Provider = "gcr-us"
	ProviderGitlab    Provider = "gitlab"
	ProviderGithub    Provider = "github"
	ProviderCustom    Provider = "custom"
)

func (Provider) ToPointer

func (e Provider) ToPointer() *Provider

func (*Provider) UnmarshalJSON

func (e *Provider) UnmarshalJSON(data []byte) error

type Providers

type Providers struct {
	// An array of supported node disk sizes
	DiskSizes []float32 `json:"diskSizes"`
	// The kubernetes engine used.
	Engine string `json:"engine"`
	// An object with feature flags to indicate (un)supported features
	Flags Flags `json:"flags"`
	// The ID of the provider.
	ID string `json:"id"`
	// An array of available kubernetes versions
	KubernetesVersions []string `json:"kubernetesVersions"`
	// The name of the provider.
	Name string `json:"name"`
	// An array of supported node types
	NodeTypes []string `json:"nodeTypes"`
	// An array of available regions
	Regions []string `json:"regions"`
}

Providers - A provider object

func (*Providers) GetDiskSizes

func (o *Providers) GetDiskSizes() []float32

func (*Providers) GetEngine

func (o *Providers) GetEngine() string

func (*Providers) GetFlags

func (o *Providers) GetFlags() Flags

func (*Providers) GetID

func (o *Providers) GetID() string

func (*Providers) GetKubernetesVersions

func (o *Providers) GetKubernetesVersions() []string

func (*Providers) GetName

func (o *Providers) GetName() string

func (*Providers) GetNodeTypes

func (o *Providers) GetNodeTypes() []string

func (*Providers) GetRegions

func (o *Providers) GetRegions() []string

type Region

type Region string

Region of the S3 bucket.

const (
	RegionEuWest1    Region = "eu-west-1"
	RegionEuWest2    Region = "eu-west-2"
	RegionEuWest3    Region = "eu-west-3"
	RegionEuCentral1 Region = "eu-central-1"
	RegionEuSouth1   Region = "eu-south-1"
	RegionEuNorth1   Region = "eu-north-1"
	RegionUsWest1    Region = "us-west-1"
	RegionUsWest2    Region = "us-west-2"
	RegionUsEast1    Region = "us-east-1"
	RegionUsEast2    Region = "us-east2"
)

func (Region) ToPointer

func (e Region) ToPointer() *Region

func (*Region) UnmarshalJSON

func (e *Region) UnmarshalJSON(data []byte) error

type RegistriesResult

type RegistriesResult struct {
	// Result data.
	Data RegistriesResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination RegistriesResultPagination `json:"pagination"`
}

RegistriesResult - Response object.

func (*RegistriesResult) GetData

func (*RegistriesResult) GetPagination

func (o *RegistriesResult) GetPagination() RegistriesResultPagination

type RegistriesResultCredentials

type RegistriesResultCredentials struct {
	// Description of the saved credentials.
	Description string `json:"description"`
	// Identifier for the credentials.
	ID string `json:"id"`
	// Name of the saved credentials.
	Name string `json:"name"`
	// The registry provider associated with this set of credentials.
	Provider RegistriesResultProvider `json:"provider"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions RegistriesResultRestrictions `json:"restrictions"`
}

func (*RegistriesResultCredentials) GetDescription

func (o *RegistriesResultCredentials) GetDescription() string

func (*RegistriesResultCredentials) GetID

func (*RegistriesResultCredentials) GetName

func (o *RegistriesResultCredentials) GetName() string

func (*RegistriesResultCredentials) GetProvider

func (*RegistriesResultCredentials) GetRestrictions

type RegistriesResultData

type RegistriesResultData struct {
	// An array of credentials saved to this account.
	Credentials []RegistriesResultCredentials `json:"credentials"`
}

RegistriesResultData - Result data.

func (*RegistriesResultData) GetCredentials

func (o *RegistriesResultData) GetCredentials() []RegistriesResultCredentials

type RegistriesResultPagination

type RegistriesResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

RegistriesResultPagination - Data about the endpoint pagination.

func (*RegistriesResultPagination) GetCount

func (o *RegistriesResultPagination) GetCount() float32

func (*RegistriesResultPagination) GetCursor

func (o *RegistriesResultPagination) GetCursor() *string

func (*RegistriesResultPagination) GetHasNextPage

func (o *RegistriesResultPagination) GetHasNextPage() bool

type RegistriesResultProvider

type RegistriesResultProvider string

RegistriesResultProvider - The registry provider associated with this set of credentials.

const (
	RegistriesResultProviderDockerhub RegistriesResultProvider = "dockerhub"
	RegistriesResultProviderGcr       RegistriesResultProvider = "gcr"
	RegistriesResultProviderGcrEu     RegistriesResultProvider = "gcr-eu"
	RegistriesResultProviderGcrUs     RegistriesResultProvider = "gcr-us"
	RegistriesResultProviderGitlab    RegistriesResultProvider = "gitlab"
	RegistriesResultProviderGithub    RegistriesResultProvider = "github"
	RegistriesResultProviderCustom    RegistriesResultProvider = "custom"
)

func (RegistriesResultProvider) ToPointer

func (*RegistriesResultProvider) UnmarshalJSON

func (e *RegistriesResultProvider) UnmarshalJSON(data []byte) error

type RegistriesResultRestrictions

type RegistriesResultRestrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

RegistriesResultRestrictions - Data about whether the credentials are restricted to certain projects.

func (*RegistriesResultRestrictions) GetProjects

func (o *RegistriesResultRestrictions) GetProjects() []string

func (*RegistriesResultRestrictions) GetRestricted

func (o *RegistriesResultRestrictions) GetRestricted() bool

type Registry

type Registry struct {
	Mode *CreateClusterRequestSchemasMode `json:"mode,omitempty"`
	// Credentials to use for storing of images.
	RegistryID *string `json:"registryId,omitempty"`
}

func (*Registry) GetMode

func (*Registry) GetRegistryID

func (o *Registry) GetRegistryID() *string

type RegistryResult

type RegistryResult struct {
	// Result data.
	Data RegistryResultData `json:"data"`
}

RegistryResult - Response object.

func (*RegistryResult) GetData

func (o *RegistryResult) GetData() RegistryResultData

type RegistryResultAuths

type RegistryResultAuths struct {
}

RegistryResultAuths - The `auths` data extracted from your Docker config file.

type RegistryResultData

type RegistryResultData struct {
	// The `auths` data extracted from your Docker config file.
	Auths *RegistryResultAuths `json:"auths,omitempty"`
	// Description of the saved credentials.
	Description string `json:"description"`
	// Identifier for the credentials.
	ID string `json:"id"`
	// Name of the saved credentials.
	Name string `json:"name"`
	// The registry provider associated with this set of credentials.
	Provider RegistryResultProvider `json:"provider"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions RegistryResultRestrictions `json:"restrictions"`
}

RegistryResultData - Result data.

func (*RegistryResultData) GetAuths

func (o *RegistryResultData) GetAuths() *RegistryResultAuths

func (*RegistryResultData) GetDescription

func (o *RegistryResultData) GetDescription() string

func (*RegistryResultData) GetID

func (o *RegistryResultData) GetID() string

func (*RegistryResultData) GetName

func (o *RegistryResultData) GetName() string

func (*RegistryResultData) GetProvider

func (o *RegistryResultData) GetProvider() RegistryResultProvider

func (*RegistryResultData) GetRestrictions

func (o *RegistryResultData) GetRestrictions() RegistryResultRestrictions

type RegistryResultProvider

type RegistryResultProvider string

RegistryResultProvider - The registry provider associated with this set of credentials.

const (
	RegistryResultProviderDockerhub RegistryResultProvider = "dockerhub"
	RegistryResultProviderGcr       RegistryResultProvider = "gcr"
	RegistryResultProviderGcrEu     RegistryResultProvider = "gcr-eu"
	RegistryResultProviderGcrUs     RegistryResultProvider = "gcr-us"
	RegistryResultProviderGitlab    RegistryResultProvider = "gitlab"
	RegistryResultProviderGithub    RegistryResultProvider = "github"
	RegistryResultProviderCustom    RegistryResultProvider = "custom"
)

func (RegistryResultProvider) ToPointer

func (*RegistryResultProvider) UnmarshalJSON

func (e *RegistryResultProvider) UnmarshalJSON(data []byte) error

type RegistryResultRestrictions

type RegistryResultRestrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

RegistryResultRestrictions - Data about whether the credentials are restricted to certain projects.

func (*RegistryResultRestrictions) GetProjects

func (o *RegistryResultRestrictions) GetProjects() []string

func (*RegistryResultRestrictions) GetRestricted

func (o *RegistryResultRestrictions) GetRestricted() bool

type Replicas

type Replicas struct {
	// The default replica count for this addon.
	Default float32 `json:"default"`
	// Available options for replica counts for this addon.
	Options []float32 `json:"options"`
}

Replicas - Details about replica count options for this addon.

func (*Replicas) GetDefault

func (o *Replicas) GetDefault() float32

func (*Replicas) GetOptions

func (o *Replicas) GetOptions() []float32

type Repos

type Repos struct {
	// The login of the linked version control account that can access this repository.
	AccountLogin string `json:"accountLogin"`
	// The full name of the repository.
	FullName string `json:"full_name"`
	// The ID of the repository from the version control provider. This is always returned from the Northflank API as a string for consistency across providers. This value is the numerical ID of a GitHub repository, the numerical ID of a GitLab project, or the UUID of a Bitbucket repository.
	ID string `json:"id"`
	// The name of the repository.
	Name string `json:"name"`
	// Details about the repository owner.
	Owner Owner `json:"owner"`
	// If `vcsService` is `self-hosted`, the ID of the self-hosted provider.
	SelfHostedVcsID *string `json:"selfHostedVcsId,omitempty"`
	// The url of the repository.
	URL string `json:"url"`
	// Version control provider of the repository.
	VcsService RepositoriesResultVcsService `json:"vcsService"`
}

Repos - Details about an accessible repository.

func (*Repos) GetAccountLogin

func (o *Repos) GetAccountLogin() string

func (*Repos) GetFullName

func (o *Repos) GetFullName() string

func (*Repos) GetID

func (o *Repos) GetID() string

func (*Repos) GetName

func (o *Repos) GetName() string

func (*Repos) GetOwner

func (o *Repos) GetOwner() Owner

func (*Repos) GetSelfHostedVcsID

func (o *Repos) GetSelfHostedVcsID() *string

func (*Repos) GetURL

func (o *Repos) GetURL() string

func (*Repos) GetVcsService

func (o *Repos) GetVcsService() RepositoriesResultVcsService

type RepositoriesResult

type RepositoriesResult struct {
	// Result data.
	Data RepositoriesResultData `json:"data"`
	// Data about the endpoint pagination.
	Pagination RepositoriesResultPagination `json:"pagination"`
}

RepositoriesResult - Response object.

func (*RepositoriesResult) GetData

func (*RepositoriesResult) GetPagination

type RepositoriesResultData

type RepositoriesResultData struct {
	// A list of accessible repositories.
	Repos []Repos `json:"repos,omitempty"`
}

RepositoriesResultData - Result data.

func (*RepositoriesResultData) GetRepos

func (o *RepositoriesResultData) GetRepos() []Repos

type RepositoriesResultPagination

type RepositoriesResultPagination struct {
	// The number of results returned by this request.
	Count float32 `json:"count"`
	// The cursor to access the next page of results.
	Cursor *string `json:"cursor,omitempty"`
	// Is there another page of results available?
	HasNextPage bool `json:"hasNextPage"`
}

RepositoriesResultPagination - Data about the endpoint pagination.

func (*RepositoriesResultPagination) GetCount

func (o *RepositoriesResultPagination) GetCount() float32

func (*RepositoriesResultPagination) GetCursor

func (o *RepositoriesResultPagination) GetCursor() *string

func (*RepositoriesResultPagination) GetHasNextPage

func (o *RepositoriesResultPagination) GetHasNextPage() bool

type RepositoriesResultVcsService

type RepositoriesResultVcsService string

RepositoriesResultVcsService - Version control provider of the repository.

const (
	RepositoriesResultVcsServiceBitbucket  RepositoriesResultVcsService = "bitbucket"
	RepositoriesResultVcsServiceGitlab     RepositoriesResultVcsService = "gitlab"
	RepositoriesResultVcsServiceGithub     RepositoriesResultVcsService = "github"
	RepositoriesResultVcsServiceSelfHosted RepositoriesResultVcsService = "self-hosted"
)

func (RepositoriesResultVcsService) ToPointer

func (*RepositoriesResultVcsService) UnmarshalJSON

func (e *RepositoriesResultVcsService) UnmarshalJSON(data []byte) error

type Resources

type Resources struct {
	// Details about replica count options for this addon.
	Replicas Replicas `json:"replicas"`
	// Details about storage size options for this addon.
	Storage Storage `json:"storage"`
}

Resources - Details about resource options for the addon type.

func (*Resources) GetReplicas

func (o *Resources) GetReplicas() Replicas

func (*Resources) GetStorage

func (o *Resources) GetStorage() Storage

type Restrictions

type Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted *bool `default:"false" json:"restricted"`
}

Restrictions - Data about whether the credentials are restricted to certain projects.

func (*Restrictions) GetProjects

func (o *Restrictions) GetProjects() []string

func (*Restrictions) GetRestricted

func (o *Restrictions) GetRestricted() *bool

func (Restrictions) MarshalJSON

func (r Restrictions) MarshalJSON() ([]byte, error)

func (*Restrictions) UnmarshalJSON

func (r *Restrictions) UnmarshalJSON(data []byte) error

type SchemeBasicAuth

type SchemeBasicAuth struct {
	Password string `security:"name=password"`
	Username string `security:"name=username"`
}

func (*SchemeBasicAuth) GetPassword

func (o *SchemeBasicAuth) GetPassword() string

func (*SchemeBasicAuth) GetUsername

func (o *SchemeBasicAuth) GetUsername() string

type Security

type Security struct {
	BasicAuth  *SchemeBasicAuth `security:"scheme,type=http,subtype=basic"`
	BearerAuth *string          `security:"scheme,type=http,subtype=bearer,name=Authorization"`
}

func (*Security) GetBasicAuth

func (o *Security) GetBasicAuth() *SchemeBasicAuth

func (*Security) GetBearerAuth

func (o *Security) GetBearerAuth() *string

type Service

type Service struct {
	// Duration services have been running in this billing period, in seconds.
	Duration float32 `json:"duration"`
	// Details about the price for all services in this project, broken down by resource type.
	Price *InvoiceDetailsResultSchemasDataProjectsPrice `json:"price,omitempty"`
}

func (*Service) GetDuration

func (o *Service) GetDuration() float32

func (*Service) GetPrice

type Settings

type Settings struct {
	Builds   *Builds   `json:"builds,omitempty"`
	Logging  *Logging  `json:"logging,omitempty"`
	Registry *Registry `json:"registry,omitempty"`
}

func (*Settings) GetBuilds

func (o *Settings) GetBuilds() *Builds

func (*Settings) GetLogging

func (o *Settings) GetLogging() *Logging

func (*Settings) GetRegistry

func (o *Settings) GetRegistry() *Registry

type Seven

type Seven struct {
	// Ingestion Key
	APIKey string `json:"api_key"`
}

Seven - LogDNA Sink Schema.

func (*Seven) GetAPIKey

func (o *Seven) GetAPIKey() string

type SinkData

type SinkData struct {
	// Authentication object.
	Auth *Auth `json:"auth,omitempty"`
	// Name of the S3 Bucket.
	Bucket string `json:"bucket"`
	// Log file compression method.
	Compression Compression `json:"compression"`
	// Endpoint for the AWS S3 or compatible API bucket.
	Endpoint string `json:"endpoint"`
	// Region of the S3 bucket.
	Region Region `json:"region"`
}

SinkData - Details about the AWS S3 log sink.

func (*SinkData) GetAuth

func (o *SinkData) GetAuth() *Auth

func (*SinkData) GetBucket

func (o *SinkData) GetBucket() string

func (*SinkData) GetCompression

func (o *SinkData) GetCompression() Compression

func (*SinkData) GetEndpoint

func (o *SinkData) GetEndpoint() string

func (*SinkData) GetRegion

func (o *SinkData) GetRegion() Region

type SinkType

type SinkType string

SinkType - The type of the log sink.

const (
	SinkTypeAwsS3 SinkType = "aws_s3"
)

func (SinkType) ToPointer

func (e SinkType) ToPointer() *SinkType

func (*SinkType) UnmarshalJSON

func (e *SinkType) UnmarshalJSON(data []byte) error

type Six

type Six struct {
	// Logtail Source Token
	Token string `json:"token"`
}

Six - Logtail Sink Schema.

func (*Six) GetToken

func (o *Six) GetToken() string

type State

type State struct {
	State          *string    `json:"state,omitempty"`
	TransitionTime *time.Time `json:"transitionTime,omitempty"`
}

func (*State) GetState

func (o *State) GetState() *string

func (*State) GetTransitionTime

func (o *State) GetTransitionTime() *time.Time

func (State) MarshalJSON

func (s State) MarshalJSON() ([]byte, error)

func (*State) UnmarshalJSON

func (s *State) UnmarshalJSON(data []byte) error

type Status

type Status struct {
	NextUpdateAfter *time.Time `json:"nextUpdateAfter,omitempty"`
	State           *State     `json:"state,omitempty"`
}

func (*Status) GetNextUpdateAfter

func (o *Status) GetNextUpdateAfter() *time.Time

func (*Status) GetState

func (o *Status) GetState() *State

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(data []byte) error

type Storage

type Storage struct {
	// The default storage value for this addon.
	Default float32 `json:"default"`
	// Available options for storage size for this addon, in MB.
	Options []float32 `json:"options"`
}

Storage - Details about storage size options for this addon.

func (*Storage) GetDefault

func (o *Storage) GetDefault() float32

func (*Storage) GetOptions

func (o *Storage) GetOptions() []float32

type Strategy

type Strategy string

Strategy - The authentication strategy.

const (
	StrategyBasic Strategy = "basic"
)

func (Strategy) ToPointer

func (e Strategy) ToPointer() *Strategy

func (*Strategy) UnmarshalJSON

func (e *Strategy) UnmarshalJSON(data []byte) error

type Subdomains

type Subdomains struct {
	// The full domain including the subdomain.
	FullName string `json:"fullName"`
	// The subdomain added, or -default for the empty subdomain.
	Name string `json:"name"`
}

Subdomains - Details about a subdomain.

func (*Subdomains) GetFullName

func (o *Subdomains) GetFullName() string

func (*Subdomains) GetName

func (o *Subdomains) GetName() string

type SuccessResult

type SuccessResult struct {
	// Result data.
	Data SuccessResultData `json:"data"`
}

SuccessResult - Response object.

func (*SuccessResult) GetData

func (o *SuccessResult) GetData() SuccessResultData

type SuccessResultData

type SuccessResultData struct {
}

SuccessResultData - Result data.

type Tax

type Tax struct {
	// Percentage of subtotal to be applied as tax.
	Percent float32 `json:"percent"`
	// Value of the tax on the invoice.
	Value float32 `json:"value"`
}

Tax - Details about the tax on the invoice.

func (*Tax) GetPercent

func (o *Tax) GetPercent() float32

func (*Tax) GetValue

func (o *Tax) GetValue() float32

type Three

type Three struct {
	LogSinkRequest1 *LogSinkRequest1
	LogSinkRequest2 *LogSinkRequest2

	Type ThreeType
}

Three - Papertrail Sink Schema.

func CreateThreeLogSinkRequest1

func CreateThreeLogSinkRequest1(logSinkRequest1 LogSinkRequest1) Three

func CreateThreeLogSinkRequest2

func CreateThreeLogSinkRequest2(logSinkRequest2 LogSinkRequest2) Three

func (Three) MarshalJSON

func (u Three) MarshalJSON() ([]byte, error)

func (*Three) UnmarshalJSON

func (u *Three) UnmarshalJSON(data []byte) error

type ThreeType

type ThreeType string
const (
	ThreeTypeLogSinkRequest1 ThreeType = "LogSinkRequest_1"
	ThreeTypeLogSinkRequest2 ThreeType = "LogSinkRequest_2"
)

type Two

type Two struct {
	// The Datadog API key.
	DefaultAPIKey *string `json:"default_api_key,omitempty"`
	// The Datadog region.
	Region *LogSinkRequestRegion `json:"region,omitempty"`
}

Two - Datadog Sink Schema.

func (*Two) GetDefaultAPIKey

func (o *Two) GetDefaultAPIKey() *string

func (*Two) GetRegion

func (o *Two) GetRegion() *LogSinkRequestRegion

type UpdateClusterRequest

type UpdateClusterRequest struct {
	// The description of the cluster.
	Description *string                         `json:"description,omitempty"`
	NodePools   []UpdateClusterRequestNodePools `json:"nodePools,omitempty"`
	Settings    *UpdateClusterRequestSettings   `json:"settings,omitempty"`
}

func (*UpdateClusterRequest) GetDescription

func (o *UpdateClusterRequest) GetDescription() *string

func (*UpdateClusterRequest) GetNodePools

func (*UpdateClusterRequest) GetSettings

type UpdateClusterRequest1

type UpdateClusterRequest1 struct {
	S3AccessKey  string `json:"s3AccessKey"`
	S3BucketName string `json:"s3BucketName"`
	S3Region     string `json:"s3Region"`
	S3SecretKey  string `json:"s3SecretKey"`
}

func (*UpdateClusterRequest1) GetS3AccessKey

func (o *UpdateClusterRequest1) GetS3AccessKey() string

func (*UpdateClusterRequest1) GetS3BucketName

func (o *UpdateClusterRequest1) GetS3BucketName() string

func (*UpdateClusterRequest1) GetS3Region

func (o *UpdateClusterRequest1) GetS3Region() string

func (*UpdateClusterRequest1) GetS3SecretKey

func (o *UpdateClusterRequest1) GetS3SecretKey() string

type UpdateClusterRequest2

type UpdateClusterRequest2 struct {
}

type UpdateClusterRequestAutoscaling

type UpdateClusterRequestAutoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

UpdateClusterRequestAutoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*UpdateClusterRequestAutoscaling) GetEnabled

func (o *UpdateClusterRequestAutoscaling) GetEnabled() *bool

func (*UpdateClusterRequestAutoscaling) GetMax

func (*UpdateClusterRequestAutoscaling) GetMin

func (UpdateClusterRequestAutoscaling) MarshalJSON

func (u UpdateClusterRequestAutoscaling) MarshalJSON() ([]byte, error)

func (*UpdateClusterRequestAutoscaling) UnmarshalJSON

func (u *UpdateClusterRequestAutoscaling) UnmarshalJSON(data []byte) error

type UpdateClusterRequestBuilds

type UpdateClusterRequestBuilds struct {
	// Cluster to use for scheduling builds
	ClusterID *string                   `json:"clusterId,omitempty"`
	Mode      *UpdateClusterRequestMode `json:"mode,omitempty"`
	// Plan to use for builds if they are run on the cluster
	Plan *string `json:"plan,omitempty"`
}

func (*UpdateClusterRequestBuilds) GetClusterID

func (o *UpdateClusterRequestBuilds) GetClusterID() *string

func (*UpdateClusterRequestBuilds) GetMode

func (*UpdateClusterRequestBuilds) GetPlan

func (o *UpdateClusterRequestBuilds) GetPlan() *string

type UpdateClusterRequestLabels

type UpdateClusterRequestLabels struct {
}

UpdateClusterRequestLabels - Set of label keys and values that can be used to determine scheduling via resource tags.

type UpdateClusterRequestLogging

type UpdateClusterRequestLogging struct {
	Loki *UpdateClusterRequestLoki        `json:"loki,omitempty"`
	Mode *UpdateClusterRequestSchemasMode `json:"mode,omitempty"`
}

func (*UpdateClusterRequestLogging) GetLoki

func (*UpdateClusterRequestLogging) GetMode

type UpdateClusterRequestLoki

type UpdateClusterRequestLoki struct {
	UpdateClusterRequest1 *UpdateClusterRequest1
	UpdateClusterRequest2 *UpdateClusterRequest2

	Type UpdateClusterRequestLokiType
}

func CreateUpdateClusterRequestLokiUpdateClusterRequest1

func CreateUpdateClusterRequestLokiUpdateClusterRequest1(updateClusterRequest1 UpdateClusterRequest1) UpdateClusterRequestLoki

func CreateUpdateClusterRequestLokiUpdateClusterRequest2

func CreateUpdateClusterRequestLokiUpdateClusterRequest2(updateClusterRequest2 UpdateClusterRequest2) UpdateClusterRequestLoki

func (UpdateClusterRequestLoki) MarshalJSON

func (u UpdateClusterRequestLoki) MarshalJSON() ([]byte, error)

func (*UpdateClusterRequestLoki) UnmarshalJSON

func (u *UpdateClusterRequestLoki) UnmarshalJSON(data []byte) error

type UpdateClusterRequestLokiType

type UpdateClusterRequestLokiType string
const (
	UpdateClusterRequestLokiTypeUpdateClusterRequest1 UpdateClusterRequestLokiType = "UpdateClusterRequest_1"
	UpdateClusterRequestLokiTypeUpdateClusterRequest2 UpdateClusterRequestLokiType = "UpdateClusterRequest_2"
)

type UpdateClusterRequestMode

type UpdateClusterRequestMode string
const (
	UpdateClusterRequestModePaas         UpdateClusterRequestMode = "paas"
	UpdateClusterRequestModeInternal     UpdateClusterRequestMode = "internal"
	UpdateClusterRequestModeBuildCluster UpdateClusterRequestMode = "build-cluster"
)

func (UpdateClusterRequestMode) ToPointer

func (*UpdateClusterRequestMode) UnmarshalJSON

func (e *UpdateClusterRequestMode) UnmarshalJSON(data []byte) error

type UpdateClusterRequestNodePools

type UpdateClusterRequestNodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *UpdateClusterRequestAutoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools
	ID *string `json:"id,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *UpdateClusterRequestLabels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*UpdateClusterRequestNodePools) GetAutoscaling

func (*UpdateClusterRequestNodePools) GetAvailabilityZones

func (o *UpdateClusterRequestNodePools) GetAvailabilityZones() []string

func (*UpdateClusterRequestNodePools) GetDiskSize

func (o *UpdateClusterRequestNodePools) GetDiskSize() int64

func (*UpdateClusterRequestNodePools) GetDiskType

func (o *UpdateClusterRequestNodePools) GetDiskType() *string

func (*UpdateClusterRequestNodePools) GetID

func (*UpdateClusterRequestNodePools) GetLabels

func (*UpdateClusterRequestNodePools) GetNodeCount

func (o *UpdateClusterRequestNodePools) GetNodeCount() int64

func (*UpdateClusterRequestNodePools) GetNodeType

func (o *UpdateClusterRequestNodePools) GetNodeType() string

func (*UpdateClusterRequestNodePools) GetPreemptible

func (o *UpdateClusterRequestNodePools) GetPreemptible() *bool

func (*UpdateClusterRequestNodePools) GetSystemPool

func (o *UpdateClusterRequestNodePools) GetSystemPool() *bool

func (UpdateClusterRequestNodePools) MarshalJSON

func (u UpdateClusterRequestNodePools) MarshalJSON() ([]byte, error)

func (*UpdateClusterRequestNodePools) UnmarshalJSON

func (u *UpdateClusterRequestNodePools) UnmarshalJSON(data []byte) error

type UpdateClusterRequestRegistry

type UpdateClusterRequestRegistry struct {
	Mode *UpdateClusterRequestSchemasSettingsMode `json:"mode,omitempty"`
	// Credentials to use for storing of images.
	RegistryID *string `json:"registryId,omitempty"`
}

func (*UpdateClusterRequestRegistry) GetMode

func (*UpdateClusterRequestRegistry) GetRegistryID

func (o *UpdateClusterRequestRegistry) GetRegistryID() *string

type UpdateClusterRequestSchemasMode

type UpdateClusterRequestSchemasMode string
const (
	UpdateClusterRequestSchemasModePaas UpdateClusterRequestSchemasMode = "paas"
	UpdateClusterRequestSchemasModeLoki UpdateClusterRequestSchemasMode = "loki"
)

func (UpdateClusterRequestSchemasMode) ToPointer

func (*UpdateClusterRequestSchemasMode) UnmarshalJSON

func (e *UpdateClusterRequestSchemasMode) UnmarshalJSON(data []byte) error

type UpdateClusterRequestSchemasSettingsMode

type UpdateClusterRequestSchemasSettingsMode string
const (
	UpdateClusterRequestSchemasSettingsModePaas       UpdateClusterRequestSchemasSettingsMode = "paas"
	UpdateClusterRequestSchemasSettingsModeSelfHosted UpdateClusterRequestSchemasSettingsMode = "self-hosted"
)

func (UpdateClusterRequestSchemasSettingsMode) ToPointer

func (*UpdateClusterRequestSchemasSettingsMode) UnmarshalJSON

func (e *UpdateClusterRequestSchemasSettingsMode) UnmarshalJSON(data []byte) error

type UpdateClusterRequestSettings

type UpdateClusterRequestSettings struct {
	Builds   *UpdateClusterRequestBuilds   `json:"builds,omitempty"`
	Logging  *UpdateClusterRequestLogging  `json:"logging,omitempty"`
	Registry *UpdateClusterRequestRegistry `json:"registry,omitempty"`
}

func (*UpdateClusterRequestSettings) GetBuilds

func (*UpdateClusterRequestSettings) GetLogging

func (*UpdateClusterRequestSettings) GetRegistry

type UpdateClusterResult

type UpdateClusterResult struct {
	// Result data.
	Data UpdateClusterResultData `json:"data"`
}

UpdateClusterResult - Response object.

func (*UpdateClusterResult) GetData

type UpdateClusterResultAutoscaling

type UpdateClusterResultAutoscaling struct {
	Enabled *bool  `default:"false" json:"enabled"`
	Max     *int64 `json:"max,omitempty"`
	Min     *int64 `json:"min,omitempty"`
}

UpdateClusterResultAutoscaling - Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.

func (*UpdateClusterResultAutoscaling) GetEnabled

func (o *UpdateClusterResultAutoscaling) GetEnabled() *bool

func (*UpdateClusterResultAutoscaling) GetMax

func (*UpdateClusterResultAutoscaling) GetMin

func (UpdateClusterResultAutoscaling) MarshalJSON

func (u UpdateClusterResultAutoscaling) MarshalJSON() ([]byte, error)

func (*UpdateClusterResultAutoscaling) UnmarshalJSON

func (u *UpdateClusterResultAutoscaling) UnmarshalJSON(data []byte) error

type UpdateClusterResultData

type UpdateClusterResultData struct {
	// The time the cluster was created.
	CreatedAt time.Time `json:"createdAt"`
	// Indicates if provider resource deletion has been requested by the user.
	DeletionRequested bool `json:"deletionRequested"`
	// A short description of the cluster.
	Description *string `json:"description,omitempty"`
	// Identifier for the cluster.
	ID string `json:"id"`
	// ID of the provider integration used by this cluster.
	IntegrationID string `json:"integrationId"`
	// The name of the cluster.
	Name      string                       `json:"name"`
	NodePools UpdateClusterResultNodePools `json:"nodePools"`
	// The cloud provider to which this cluster belongs to.
	Provider *string                    `json:"provider,omitempty"`
	Status   *UpdateClusterResultStatus `json:"status,omitempty"`
}

UpdateClusterResultData - Result data.

func (*UpdateClusterResultData) GetCreatedAt

func (o *UpdateClusterResultData) GetCreatedAt() time.Time

func (*UpdateClusterResultData) GetDeletionRequested

func (o *UpdateClusterResultData) GetDeletionRequested() bool

func (*UpdateClusterResultData) GetDescription

func (o *UpdateClusterResultData) GetDescription() *string

func (*UpdateClusterResultData) GetID

func (o *UpdateClusterResultData) GetID() string

func (*UpdateClusterResultData) GetIntegrationID

func (o *UpdateClusterResultData) GetIntegrationID() string

func (*UpdateClusterResultData) GetName

func (o *UpdateClusterResultData) GetName() string

func (*UpdateClusterResultData) GetNodePools

func (*UpdateClusterResultData) GetProvider

func (o *UpdateClusterResultData) GetProvider() *string

func (*UpdateClusterResultData) GetStatus

func (UpdateClusterResultData) MarshalJSON

func (u UpdateClusterResultData) MarshalJSON() ([]byte, error)

func (*UpdateClusterResultData) UnmarshalJSON

func (u *UpdateClusterResultData) UnmarshalJSON(data []byte) error

type UpdateClusterResultLabels

type UpdateClusterResultLabels struct {
}

UpdateClusterResultLabels - Set of label keys and values that can be used to determine scheduling via resource tags.

type UpdateClusterResultNodePools

type UpdateClusterResultNodePools struct {
	// Auto scaling settings to use for the node pool. Requires that the cloud provider supports this feature.
	Autoscaling *UpdateClusterResultAutoscaling `json:"autoscaling,omitempty"`
	// Zones in which the node pool should be provisioned.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`
	// Disk size in GB
	DiskSize int64 `json:"diskSize"`
	// The disk type to use.
	DiskType *string `json:"diskType,omitempty"`
	// ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools
	ID *string `json:"id,omitempty"`
	// Set of label keys and values that can be used to determine scheduling via resource tags.
	Labels *UpdateClusterResultLabels `json:"labels,omitempty"`
	// Number of nodes to the node pool should be provisioned with.
	NodeCount int64 `json:"nodeCount"`
	// Machine type to be used by the node pool.
	NodeType string `json:"nodeType"`
	// Configures node pool with preemptible / spot instances if enabled.
	Preemptible *bool `default:"false" json:"preemptible"`
	// When 'provider' is 'azure', at least one system node pool is required per cluster.
	SystemPool *bool `json:"systemPool,omitempty"`
}

func (*UpdateClusterResultNodePools) GetAutoscaling

func (*UpdateClusterResultNodePools) GetAvailabilityZones

func (o *UpdateClusterResultNodePools) GetAvailabilityZones() []string

func (*UpdateClusterResultNodePools) GetDiskSize

func (o *UpdateClusterResultNodePools) GetDiskSize() int64

func (*UpdateClusterResultNodePools) GetDiskType

func (o *UpdateClusterResultNodePools) GetDiskType() *string

func (*UpdateClusterResultNodePools) GetID

func (*UpdateClusterResultNodePools) GetLabels

func (*UpdateClusterResultNodePools) GetNodeCount

func (o *UpdateClusterResultNodePools) GetNodeCount() int64

func (*UpdateClusterResultNodePools) GetNodeType

func (o *UpdateClusterResultNodePools) GetNodeType() string

func (*UpdateClusterResultNodePools) GetPreemptible

func (o *UpdateClusterResultNodePools) GetPreemptible() *bool

func (*UpdateClusterResultNodePools) GetSystemPool

func (o *UpdateClusterResultNodePools) GetSystemPool() *bool

func (UpdateClusterResultNodePools) MarshalJSON

func (u UpdateClusterResultNodePools) MarshalJSON() ([]byte, error)

func (*UpdateClusterResultNodePools) UnmarshalJSON

func (u *UpdateClusterResultNodePools) UnmarshalJSON(data []byte) error

type UpdateClusterResultState

type UpdateClusterResultState struct {
	State          *string    `json:"state,omitempty"`
	TransitionTime *time.Time `json:"transitionTime,omitempty"`
}

func (*UpdateClusterResultState) GetState

func (o *UpdateClusterResultState) GetState() *string

func (*UpdateClusterResultState) GetTransitionTime

func (o *UpdateClusterResultState) GetTransitionTime() *time.Time

func (UpdateClusterResultState) MarshalJSON

func (u UpdateClusterResultState) MarshalJSON() ([]byte, error)

func (*UpdateClusterResultState) UnmarshalJSON

func (u *UpdateClusterResultState) UnmarshalJSON(data []byte) error

type UpdateClusterResultStatus

type UpdateClusterResultStatus struct {
	NextUpdateAfter *time.Time                `json:"nextUpdateAfter,omitempty"`
	State           *UpdateClusterResultState `json:"state,omitempty"`
}

func (*UpdateClusterResultStatus) GetNextUpdateAfter

func (o *UpdateClusterResultStatus) GetNextUpdateAfter() *time.Time

func (*UpdateClusterResultStatus) GetState

func (UpdateClusterResultStatus) MarshalJSON

func (u UpdateClusterResultStatus) MarshalJSON() ([]byte, error)

func (*UpdateClusterResultStatus) UnmarshalJSON

func (u *UpdateClusterResultStatus) UnmarshalJSON(data []byte) error

type UpdateIntegrationRequest

type UpdateIntegrationRequest struct {
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Credentials UpdateIntegrationRequestCredentials `json:"credentials"`
	// The description of the integration.
	Description *string `json:"description,omitempty"`
}

func (*UpdateIntegrationRequest) GetCredentials

func (*UpdateIntegrationRequest) GetDescription

func (o *UpdateIntegrationRequest) GetDescription() *string

type UpdateIntegrationRequestCredentials

type UpdateIntegrationRequestCredentials struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

UpdateIntegrationRequestCredentials - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*UpdateIntegrationRequestCredentials) GetAPIKey

func (*UpdateIntegrationRequestCredentials) GetAccessKey

func (o *UpdateIntegrationRequestCredentials) GetAccessKey() *string

func (*UpdateIntegrationRequestCredentials) GetKeyfileJSON

func (o *UpdateIntegrationRequestCredentials) GetKeyfileJSON() *string

func (*UpdateIntegrationRequestCredentials) GetSecretKey

func (o *UpdateIntegrationRequestCredentials) GetSecretKey() *string

type UpdateIntegrationResult

type UpdateIntegrationResult struct {
	// Result data.
	Data UpdateIntegrationResultData `json:"data"`
}

UpdateIntegrationResult - Response object.

func (*UpdateIntegrationResult) GetData

type UpdateIntegrationResultCredentials

type UpdateIntegrationResultCredentials struct {
	// AWS access key.
	AccessKey *string `json:"accessKey,omitempty"`
	// DO API key.
	APIKey *string `json:"apiKey,omitempty"`
	// Contents of a GCP key file.
	KeyfileJSON *string `json:"keyfileJson,omitempty"`
	// AWS secret key.
	SecretKey *string `json:"secretKey,omitempty"`
}

UpdateIntegrationResultCredentials - Cloud provider credential input, required fields dependent on which provider is chosen.

func (*UpdateIntegrationResultCredentials) GetAPIKey

func (*UpdateIntegrationResultCredentials) GetAccessKey

func (o *UpdateIntegrationResultCredentials) GetAccessKey() *string

func (*UpdateIntegrationResultCredentials) GetKeyfileJSON

func (o *UpdateIntegrationResultCredentials) GetKeyfileJSON() *string

func (*UpdateIntegrationResultCredentials) GetSecretKey

func (o *UpdateIntegrationResultCredentials) GetSecretKey() *string

type UpdateIntegrationResultData

type UpdateIntegrationResultData struct {
	// The time the integration was created.
	CreatedAt time.Time `json:"createdAt"`
	// Cloud provider credential input, required fields dependent on which provider is chosen.
	Credentials UpdateIntegrationResultCredentials `json:"credentials"`
	// A short description of the integration.
	Description *string `json:"description,omitempty"`
	// Identifier for the integration.
	ID string `json:"id"`
	// The name of the integration.
	Name string `json:"name"`
}

UpdateIntegrationResultData - Result data.

func (*UpdateIntegrationResultData) GetCreatedAt

func (o *UpdateIntegrationResultData) GetCreatedAt() time.Time

func (*UpdateIntegrationResultData) GetCredentials

func (*UpdateIntegrationResultData) GetDescription

func (o *UpdateIntegrationResultData) GetDescription() *string

func (*UpdateIntegrationResultData) GetID

func (*UpdateIntegrationResultData) GetName

func (o *UpdateIntegrationResultData) GetName() string

func (UpdateIntegrationResultData) MarshalJSON

func (u UpdateIntegrationResultData) MarshalJSON() ([]byte, error)

func (*UpdateIntegrationResultData) UnmarshalJSON

func (u *UpdateIntegrationResultData) UnmarshalJSON(data []byte) error

type UpdateRegistryType1

type UpdateRegistryType1 struct {
	// Description of the credentials.
	Description *string `json:"description,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *UpdateRegistryType1Restrictions `json:"restrictions,omitempty"`
}

UpdateRegistryType1 - Don't update the credentials.

func (*UpdateRegistryType1) GetDescription

func (o *UpdateRegistryType1) GetDescription() *string

func (*UpdateRegistryType1) GetRestrictions

type UpdateRegistryType1Restrictions

type UpdateRegistryType1Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

UpdateRegistryType1Restrictions - Data about whether the credentials are restricted to certain projects.

func (*UpdateRegistryType1Restrictions) GetProjects

func (o *UpdateRegistryType1Restrictions) GetProjects() []string

func (*UpdateRegistryType1Restrictions) GetRestricted

func (o *UpdateRegistryType1Restrictions) GetRestricted() bool

type UpdateRegistryType2

type UpdateRegistryType2 struct {
	// Description of the credentials.
	Description *string `json:"description,omitempty"`
	// Password, Personal Access Token, or API key for the container registry.
	Password string `json:"password"`
	// Custom url for the container registry. Only usable (and required) when `provider` is `custom`.
	RegistryURL *string `json:"registryUrl,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *UpdateRegistryType2Restrictions `json:"restrictions,omitempty"`
	// Username for the container registry.
	Username string `json:"username"`
}

func (*UpdateRegistryType2) GetDescription

func (o *UpdateRegistryType2) GetDescription() *string

func (*UpdateRegistryType2) GetPassword

func (o *UpdateRegistryType2) GetPassword() string

func (*UpdateRegistryType2) GetRegistryURL

func (o *UpdateRegistryType2) GetRegistryURL() *string

func (*UpdateRegistryType2) GetRestrictions

func (*UpdateRegistryType2) GetUsername

func (o *UpdateRegistryType2) GetUsername() string

type UpdateRegistryType2Restrictions

type UpdateRegistryType2Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

UpdateRegistryType2Restrictions - Data about whether the credentials are restricted to certain projects.

func (*UpdateRegistryType2Restrictions) GetProjects

func (o *UpdateRegistryType2Restrictions) GetProjects() []string

func (*UpdateRegistryType2Restrictions) GetRestricted

func (o *UpdateRegistryType2Restrictions) GetRestricted() bool

type UpdateRegistryType3

type UpdateRegistryType3 struct {
	// Description of the credentials.
	Description *string `json:"description,omitempty"`
	// Contents of `keyfile.json`, used to authenticate with Google Container Registry.
	Keyfile UpdateRegistryType3Keyfile `json:"keyfile"`
	// Custom url for the container registry. Only usable (and required) when `provider` is `custom`.
	RegistryURL *string `json:"registryUrl,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *UpdateRegistryType3Restrictions `json:"restrictions,omitempty"`
}

UpdateRegistryType3 - Authenticate with a `keyfile.json`. Used for authenticating with Google Container Registry.

func (*UpdateRegistryType3) GetDescription

func (o *UpdateRegistryType3) GetDescription() *string

func (*UpdateRegistryType3) GetKeyfile

func (*UpdateRegistryType3) GetRegistryURL

func (o *UpdateRegistryType3) GetRegistryURL() *string

func (*UpdateRegistryType3) GetRestrictions

type UpdateRegistryType3Keyfile

type UpdateRegistryType3Keyfile struct {
}

UpdateRegistryType3Keyfile - Contents of `keyfile.json`, used to authenticate with Google Container Registry.

type UpdateRegistryType3Restrictions

type UpdateRegistryType3Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

UpdateRegistryType3Restrictions - Data about whether the credentials are restricted to certain projects.

func (*UpdateRegistryType3Restrictions) GetProjects

func (o *UpdateRegistryType3Restrictions) GetProjects() []string

func (*UpdateRegistryType3Restrictions) GetRestricted

func (o *UpdateRegistryType3Restrictions) GetRestricted() bool

type UpdateRegistryType4

type UpdateRegistryType4 struct {
	// The `auths` data extracted from your Docker config file.
	Auths UpdateRegistryType4Auths `json:"auths"`
	// Description of the credentials.
	Description *string `json:"description,omitempty"`
	// Data about whether the credentials are restricted to certain projects.
	Restrictions *UpdateRegistryType4Restrictions `json:"restrictions,omitempty"`
}

UpdateRegistryType4 - Validate with a docker config file.

func (*UpdateRegistryType4) GetAuths

func (*UpdateRegistryType4) GetDescription

func (o *UpdateRegistryType4) GetDescription() *string

func (*UpdateRegistryType4) GetRestrictions

type UpdateRegistryType4Auths

type UpdateRegistryType4Auths struct {
}

UpdateRegistryType4Auths - The `auths` data extracted from your Docker config file.

type UpdateRegistryType4Restrictions

type UpdateRegistryType4Restrictions struct {
	// An array of projects the credentials are restricted to, if applicable.
	Projects []string `json:"projects,omitempty"`
	// Whether the credentials are restricted to specific projects.
	Restricted bool `json:"restricted"`
}

UpdateRegistryType4Restrictions - Data about whether the credentials are restricted to certain projects.

func (*UpdateRegistryType4Restrictions) GetProjects

func (o *UpdateRegistryType4Restrictions) GetProjects() []string

func (*UpdateRegistryType4Restrictions) GetRestricted

func (o *UpdateRegistryType4Restrictions) GetRestricted() bool

type VCSProvidersResult

type VCSProvidersResult struct {
	// Result data.
	Data VCSProvidersResultData `json:"data"`
}

VCSProvidersResult - Response object.

func (*VCSProvidersResult) GetData

type VCSProvidersResultData

type VCSProvidersResultData struct {
	// The version control accounts linked to this Northflank account.
	VcsAccountLinks []VcsAccountLinks `json:"vcsAccountLinks"`
}

VCSProvidersResultData - Result data.

func (o *VCSProvidersResultData) GetVcsAccountLinks() []VcsAccountLinks

type VCSProvidersResultVCSService

type VCSProvidersResultVCSService string

VCSProvidersResultVCSService - The type of version control provider the account is linked to.

const (
	VCSProvidersResultVCSServiceBitbucket  VCSProvidersResultVCSService = "bitbucket"
	VCSProvidersResultVCSServiceGitlab     VCSProvidersResultVCSService = "gitlab"
	VCSProvidersResultVCSServiceGithub     VCSProvidersResultVCSService = "github"
	VCSProvidersResultVCSServiceSelfHosted VCSProvidersResultVCSService = "self-hosted"
)

func (VCSProvidersResultVCSService) ToPointer

func (*VCSProvidersResultVCSService) UnmarshalJSON

func (e *VCSProvidersResultVCSService) UnmarshalJSON(data []byte) error

type VCSTokenResult

type VCSTokenResult struct {
	// Result data.
	Data VCSTokenResultData `json:"data"`
}

VCSTokenResult - Response object.

func (*VCSTokenResult) GetData

func (o *VCSTokenResult) GetData() VCSTokenResultData

type VCSTokenResultData

type VCSTokenResultData struct {
	// Installation ID of the GitHub installation the token belongs to (GitHub only)
	InstallationID *int64 `json:"installationId,omitempty"`
	// Installation token (GitHub only).
	InstallationToken *string `json:"installationToken,omitempty"`
	// OAuth token.
	Token string `json:"token"`
	// VCS provider the token belongs to.
	VcsService VcsService `json:"vcsService"`
}

VCSTokenResultData - Result data.

func (*VCSTokenResultData) GetInstallationID

func (o *VCSTokenResultData) GetInstallationID() *int64

func (*VCSTokenResultData) GetInstallationToken

func (o *VCSTokenResultData) GetInstallationToken() *string

func (*VCSTokenResultData) GetToken

func (o *VCSTokenResultData) GetToken() string

func (*VCSTokenResultData) GetVcsService

func (o *VCSTokenResultData) GetVcsService() VcsService
type VcsAccountLinks struct {
	// The email of the account linked with this provider.
	Email string `json:"email"`
	// The name of the team the self-hosted vcs belongs to. Only returned for self-hosted links.
	EntityName *string `json:"entityName,omitempty"`
	// The ID of the self-hosted vcs provider. Only returned for self-hosted links.
	InternalID *string `json:"internalId,omitempty"`
	// The username of the account linked with this provider.
	Login string `json:"login"`
	// The name of the version control provider. Only returned for self-hosted links.
	Name *string `json:"name,omitempty"`
	// The type of version control provider the account is linked to.
	VcsService VCSProvidersResultVCSService `json:"vcsService"`
	// The type of the self-hosted vcs provider. Only returned for self-hosted links.
	VcsType *VcsType `json:"vcsType,omitempty"`
	// The url of the version control provider. Only returned for self-hosted links.
	VcsURL *string `json:"vcsUrl,omitempty"`
}

VcsAccountLinks - Details about the linked version control account.

func (*VcsAccountLinks) GetEmail

func (o *VcsAccountLinks) GetEmail() string

func (*VcsAccountLinks) GetEntityName

func (o *VcsAccountLinks) GetEntityName() *string

func (*VcsAccountLinks) GetInternalID

func (o *VcsAccountLinks) GetInternalID() *string

func (*VcsAccountLinks) GetLogin

func (o *VcsAccountLinks) GetLogin() string

func (*VcsAccountLinks) GetName

func (o *VcsAccountLinks) GetName() *string

func (*VcsAccountLinks) GetVcsService

func (o *VcsAccountLinks) GetVcsService() VCSProvidersResultVCSService

func (*VcsAccountLinks) GetVcsType

func (o *VcsAccountLinks) GetVcsType() *VcsType

func (*VcsAccountLinks) GetVcsURL

func (o *VcsAccountLinks) GetVcsURL() *string

type VcsService

type VcsService string

VcsService - VCS provider the token belongs to.

const (
	VcsServiceBitbucket  VcsService = "bitbucket"
	VcsServiceGitlab     VcsService = "gitlab"
	VcsServiceGithub     VcsService = "github"
	VcsServiceSelfHosted VcsService = "self-hosted"
)

func (VcsService) ToPointer

func (e VcsService) ToPointer() *VcsService

func (*VcsService) UnmarshalJSON

func (e *VcsService) UnmarshalJSON(data []byte) error

type VcsType

type VcsType string

VcsType - The type of the self-hosted vcs provider. Only returned for self-hosted links.

const (
	VcsTypeGitlabEe VcsType = "gitlab-ee"
)

func (VcsType) ToPointer

func (e VcsType) ToPointer() *VcsType

func (*VcsType) UnmarshalJSON

func (e *VcsType) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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