Documentation
¶
Index ¶
- type AWSLogSink
- func (o *AWSLogSink) GetDescription() *string
- func (o *AWSLogSink) GetForwardAccessLogs() *bool
- func (o *AWSLogSink) GetName() string
- func (o *AWSLogSink) GetProjects() []string
- func (o *AWSLogSink) GetRestricted() *bool
- func (o *AWSLogSink) GetSinkData() SinkData
- func (o *AWSLogSink) GetSinkType() SinkType
- func (o *AWSLogSink) GetUseCustomLabels() *bool
- func (a AWSLogSink) MarshalJSON() ([]byte, error)
- func (a *AWSLogSink) UnmarshalJSON(data []byte) error
- type AddRegistryType1
- func (o *AddRegistryType1) GetDescription() string
- func (o *AddRegistryType1) GetName() string
- func (o *AddRegistryType1) GetPassword() string
- func (o *AddRegistryType1) GetProvider() Provider
- func (o *AddRegistryType1) GetRegistryURL() *string
- func (o *AddRegistryType1) GetRestrictions() *Restrictions
- func (o *AddRegistryType1) GetUsername() string
- type AddRegistryType2
- func (o *AddRegistryType2) GetDescription() string
- func (o *AddRegistryType2) GetKeyfile() Keyfile
- func (o *AddRegistryType2) GetName() string
- func (o *AddRegistryType2) GetProvider() AddRegistryType2Provider
- func (o *AddRegistryType2) GetRegistryURL() *string
- func (o *AddRegistryType2) GetRestrictions() *AddRegistryType2Restrictions
- type AddRegistryType2Provider
- type AddRegistryType2Restrictions
- type AddRegistryType3
- type AddRegistryType3Provider
- type AddRegistryType3Restrictions
- type AddSubDomainRequest
- type AddSubDomainResult
- type Addon
- type AddonTypes
- type AddonTypesResult
- type AddonTypesResultData
- type AssignSubDomainRequest
- type Auth
- type AuthenticationStrategy
- type Auths
- type Autoscaling
- type BranchesResult
- type BranchesResultData
- func (o *BranchesResultData) GetCursor() *string
- func (o *BranchesResultData) GetPage() *int64
- func (o *BranchesResultData) GetPerPage() *int64
- func (o *BranchesResultData) GetVcsLinkID() *string
- func (b BranchesResultData) MarshalJSON() ([]byte, error)
- func (b *BranchesResultData) UnmarshalJSON(data []byte) error
- type Builds
- type CDNRequest
- type Cdn
- type CloudProvidersResult
- type CloudProvidersResultData
- type Cloudfront
- type ClusterDetailsResult
- type ClusterDetailsResultAutoscaling
- func (o *ClusterDetailsResultAutoscaling) GetEnabled() *bool
- func (o *ClusterDetailsResultAutoscaling) GetMax() *int64
- func (o *ClusterDetailsResultAutoscaling) GetMin() *int64
- func (c ClusterDetailsResultAutoscaling) MarshalJSON() ([]byte, error)
- func (c *ClusterDetailsResultAutoscaling) UnmarshalJSON(data []byte) error
- type ClusterDetailsResultData
- func (o *ClusterDetailsResultData) GetCreatedAt() time.Time
- func (o *ClusterDetailsResultData) GetDeletionRequested() bool
- func (o *ClusterDetailsResultData) GetDescription() *string
- func (o *ClusterDetailsResultData) GetID() string
- func (o *ClusterDetailsResultData) GetIntegrationID() string
- func (o *ClusterDetailsResultData) GetName() string
- func (o *ClusterDetailsResultData) GetNodePools() ClusterDetailsResultNodePools
- func (o *ClusterDetailsResultData) GetProvider() *string
- func (o *ClusterDetailsResultData) GetStatus() *Status
- func (c ClusterDetailsResultData) MarshalJSON() ([]byte, error)
- func (c *ClusterDetailsResultData) UnmarshalJSON(data []byte) error
- type ClusterDetailsResultLabels
- type ClusterDetailsResultNodePools
- func (o *ClusterDetailsResultNodePools) GetAutoscaling() *ClusterDetailsResultAutoscaling
- func (o *ClusterDetailsResultNodePools) GetAvailabilityZones() []string
- func (o *ClusterDetailsResultNodePools) GetDiskSize() int64
- func (o *ClusterDetailsResultNodePools) GetDiskType() *string
- func (o *ClusterDetailsResultNodePools) GetID() *string
- func (o *ClusterDetailsResultNodePools) GetLabels() *ClusterDetailsResultLabels
- func (o *ClusterDetailsResultNodePools) GetNodeCount() int64
- func (o *ClusterDetailsResultNodePools) GetNodeType() string
- func (o *ClusterDetailsResultNodePools) GetPreemptible() *bool
- func (o *ClusterDetailsResultNodePools) GetSystemPool() *bool
- func (c ClusterDetailsResultNodePools) MarshalJSON() ([]byte, error)
- func (c *ClusterDetailsResultNodePools) UnmarshalJSON(data []byte) error
- type Clusters
- func (o *Clusters) GetCreatedAt() time.Time
- func (o *Clusters) GetDeletionRequested() bool
- func (o *Clusters) GetDescription() *string
- func (o *Clusters) GetID() string
- func (o *Clusters) GetIntegrationID() string
- func (o *Clusters) GetName() string
- func (o *Clusters) GetNodePools() ClustersResultNodePools
- func (o *Clusters) GetProvider() *string
- func (o *Clusters) GetStatus() *ClustersResultStatus
- func (c Clusters) MarshalJSON() ([]byte, error)
- func (c *Clusters) UnmarshalJSON(data []byte) error
- type ClustersResult
- type ClustersResultAutoscaling
- type ClustersResultData
- type ClustersResultLabels
- type ClustersResultNodePools
- func (o *ClustersResultNodePools) GetAutoscaling() *ClustersResultAutoscaling
- func (o *ClustersResultNodePools) GetAvailabilityZones() []string
- func (o *ClustersResultNodePools) GetDiskSize() int64
- func (o *ClustersResultNodePools) GetDiskType() *string
- func (o *ClustersResultNodePools) GetID() *string
- func (o *ClustersResultNodePools) GetLabels() *ClustersResultLabels
- func (o *ClustersResultNodePools) GetNodeCount() int64
- func (o *ClustersResultNodePools) GetNodeType() string
- func (o *ClustersResultNodePools) GetPreemptible() *bool
- func (o *ClustersResultNodePools) GetSystemPool() *bool
- func (c ClustersResultNodePools) MarshalJSON() ([]byte, error)
- func (c *ClustersResultNodePools) UnmarshalJSON(data []byte) error
- type ClustersResultPagination
- type ClustersResultState
- type ClustersResultStatus
- type Codec
- type Compression
- type CreateClusterRequest
- func (o *CreateClusterRequest) GetDescription() *string
- func (o *CreateClusterRequest) GetGcp() *Gcp
- func (o *CreateClusterRequest) GetIntegration() *Integration
- func (o *CreateClusterRequest) GetIntegrationID() *string
- func (o *CreateClusterRequest) GetKubernetesVersion() string
- func (o *CreateClusterRequest) GetName() string
- func (o *CreateClusterRequest) GetNodePools() []NodePools
- func (o *CreateClusterRequest) GetProvider() CreateClusterRequestProvider
- func (o *CreateClusterRequest) GetRegion() string
- func (o *CreateClusterRequest) GetSettings() Settings
- type CreateClusterRequest1
- type CreateClusterRequest2
- type CreateClusterRequestMode
- type CreateClusterRequestProvider
- type CreateClusterRequestSchemasMode
- type CreateClusterResult
- type CreateClusterResultAutoscaling
- func (o *CreateClusterResultAutoscaling) GetEnabled() *bool
- func (o *CreateClusterResultAutoscaling) GetMax() *int64
- func (o *CreateClusterResultAutoscaling) GetMin() *int64
- func (c CreateClusterResultAutoscaling) MarshalJSON() ([]byte, error)
- func (c *CreateClusterResultAutoscaling) UnmarshalJSON(data []byte) error
- type CreateClusterResultData
- func (o *CreateClusterResultData) GetCreatedAt() time.Time
- func (o *CreateClusterResultData) GetDeletionRequested() bool
- func (o *CreateClusterResultData) GetDescription() *string
- func (o *CreateClusterResultData) GetID() string
- func (o *CreateClusterResultData) GetIntegrationID() string
- func (o *CreateClusterResultData) GetName() string
- func (o *CreateClusterResultData) GetNodePools() CreateClusterResultNodePools
- func (o *CreateClusterResultData) GetProvider() *string
- func (o *CreateClusterResultData) GetStatus() *CreateClusterResultStatus
- func (c CreateClusterResultData) MarshalJSON() ([]byte, error)
- func (c *CreateClusterResultData) UnmarshalJSON(data []byte) error
- type CreateClusterResultLabels
- type CreateClusterResultNodePools
- func (o *CreateClusterResultNodePools) GetAutoscaling() *CreateClusterResultAutoscaling
- func (o *CreateClusterResultNodePools) GetAvailabilityZones() []string
- func (o *CreateClusterResultNodePools) GetDiskSize() int64
- func (o *CreateClusterResultNodePools) GetDiskType() *string
- func (o *CreateClusterResultNodePools) GetID() *string
- func (o *CreateClusterResultNodePools) GetLabels() *CreateClusterResultLabels
- func (o *CreateClusterResultNodePools) GetNodeCount() int64
- func (o *CreateClusterResultNodePools) GetNodeType() string
- func (o *CreateClusterResultNodePools) GetPreemptible() *bool
- func (o *CreateClusterResultNodePools) GetSystemPool() *bool
- func (c CreateClusterResultNodePools) MarshalJSON() ([]byte, error)
- func (c *CreateClusterResultNodePools) UnmarshalJSON(data []byte) error
- type CreateClusterResultState
- type CreateClusterResultStatus
- type CreateDomainRequest
- type CreateDomainResult
- type CreateDomainResultData
- type CreateDomainResultStatus
- type CreateIntegrationRequest
- func (o *CreateIntegrationRequest) GetCredentials() Credentials
- func (o *CreateIntegrationRequest) GetDescription() *string
- func (o *CreateIntegrationRequest) GetGcp() *CreateIntegrationRequestGcp
- func (o *CreateIntegrationRequest) GetName() string
- func (o *CreateIntegrationRequest) GetProvider() CreateIntegrationRequestProvider
- type CreateIntegrationRequestGcp
- type CreateIntegrationRequestProvider
- type CreateIntegrationResult
- type CreateIntegrationResultCredentials
- type CreateIntegrationResultData
- func (o *CreateIntegrationResultData) GetCreatedAt() time.Time
- func (o *CreateIntegrationResultData) GetCredentials() CreateIntegrationResultCredentials
- func (o *CreateIntegrationResultData) GetDescription() *string
- func (o *CreateIntegrationResultData) GetID() string
- func (o *CreateIntegrationResultData) GetName() string
- func (c CreateIntegrationResultData) MarshalJSON() ([]byte, error)
- func (c *CreateIntegrationResultData) UnmarshalJSON(data []byte) error
- type CreateLogSinkResult
- type CreateLogSinkResultData
- type Credentials
- type DNALogSink
- func (o *DNALogSink) GetDescription() *string
- func (o *DNALogSink) GetForwardAccessLogs() *bool
- func (o *DNALogSink) GetName() string
- func (o *DNALogSink) GetProjects() []string
- func (o *DNALogSink) GetRestricted() *bool
- func (o *DNALogSink) GetSinkData() DNALogSinkSinkData
- func (o *DNALogSink) GetSinkType() DNALogSinkSinkType
- func (o *DNALogSink) GetUseCustomLabels() *bool
- func (d DNALogSink) MarshalJSON() ([]byte, error)
- func (d *DNALogSink) UnmarshalJSON(data []byte) error
- type DNALogSinkSinkData
- type DNALogSinkSinkType
- type DNSIDResult
- type DNSIDResultData
- type Data
- type DatadogLogSink
- func (o *DatadogLogSink) GetDescription() *string
- func (o *DatadogLogSink) GetForwardAccessLogs() *bool
- func (o *DatadogLogSink) GetName() string
- func (o *DatadogLogSink) GetProjects() []string
- func (o *DatadogLogSink) GetRestricted() *bool
- func (o *DatadogLogSink) GetSinkData() DatadogLogSinkSinkData
- func (o *DatadogLogSink) GetSinkType() DatadogLogSinkSinkType
- func (o *DatadogLogSink) GetUseCustomLabels() *bool
- func (d DatadogLogSink) MarshalJSON() ([]byte, error)
- func (d *DatadogLogSink) UnmarshalJSON(data []byte) error
- type DatadogLogSinkRegion
- type DatadogLogSinkSinkData
- type DatadogLogSinkSinkType
- type Domains
- type Eight
- type Encoding
- type Features
- func (o *Features) GetBackupsDump() bool
- func (o *Features) GetCustomDBName() bool
- func (o *Features) GetExternalAccess() bool
- func (o *Features) GetForkAddon() bool
- func (o *Features) GetImportDump() bool
- func (o *Features) GetImportLive() bool
- func (o *Features) GetScaleReplicas() bool
- func (o *Features) GetTLS() bool
- type Five
- type Flags
- type Four
- type Gcp
- type GetDomainResult
- type GetDomainResultData
- type GetDomainResultStatus
- type GetIntegrationResult
- type GetIntegrationResultCredentials
- type GetIntegrationResultData
- func (o *GetIntegrationResultData) GetCreatedAt() time.Time
- func (o *GetIntegrationResultData) GetCredentials() GetIntegrationResultCredentials
- func (o *GetIntegrationResultData) GetDescription() *string
- func (o *GetIntegrationResultData) GetID() string
- func (o *GetIntegrationResultData) GetName() string
- func (g GetIntegrationResultData) MarshalJSON() ([]byte, error)
- func (g *GetIntegrationResultData) UnmarshalJSON(data []byte) error
- type GetLogSinksResult
- type GetLogSinksResultData
- type GetLogSinksResultPagination
- type GetLogSinksResultSinkType
- type GetSubDomainResult
- type GetSubDomainResultData
- type HTTPLogSink
- func (o *HTTPLogSink) GetDescription() *string
- func (o *HTTPLogSink) GetForwardAccessLogs() *bool
- func (o *HTTPLogSink) GetName() string
- func (o *HTTPLogSink) GetProjects() []string
- func (o *HTTPLogSink) GetRestricted() *bool
- func (o *HTTPLogSink) GetSinkData() HTTPLogSinkSinkData
- func (o *HTTPLogSink) GetSinkType() HTTPLogSinkSinkType
- func (o *HTTPLogSink) GetUseCustomLabels() *bool
- func (h HTTPLogSink) MarshalJSON() ([]byte, error)
- func (h *HTTPLogSink) UnmarshalJSON(data []byte) error
- type HTTPLogSink1
- type HTTPLogSink2
- type HTTPLogSink3
- type HTTPLogSinkAuth
- type HTTPLogSinkAuthType
- type HTTPLogSinkSchemasSinkDataStrategy
- type HTTPLogSinkSchemasStrategy
- type HTTPLogSinkSinkData
- type HTTPLogSinkSinkType
- type HTTPLogSinkStrategy
- type HoneycombLogSink
- func (o *HoneycombLogSink) GetDescription() *string
- func (o *HoneycombLogSink) GetForwardAccessLogs() *bool
- func (o *HoneycombLogSink) GetName() string
- func (o *HoneycombLogSink) GetProjects() []string
- func (o *HoneycombLogSink) GetRestricted() *bool
- func (o *HoneycombLogSink) GetSinkData() HoneycombLogSinkSinkData
- func (o *HoneycombLogSink) GetSinkType() HoneycombLogSinkSinkType
- func (o *HoneycombLogSink) GetUseCustomLabels() *bool
- func (h HoneycombLogSink) MarshalJSON() ([]byte, error)
- func (h *HoneycombLogSink) UnmarshalJSON(data []byte) error
- type HoneycombLogSinkSinkData
- type HoneycombLogSinkSinkType
- type Integration
- type Integrations
- func (o *Integrations) GetCreatedAt() time.Time
- func (o *Integrations) GetDescription() *string
- func (o *Integrations) GetID() string
- func (o *Integrations) GetName() string
- func (o *Integrations) GetProvider() *string
- func (i Integrations) MarshalJSON() ([]byte, error)
- func (i *Integrations) UnmarshalJSON(data []byte) error
- type InvoiceDetailsResult
- type InvoiceDetailsResultData
- func (o *InvoiceDetailsResultData) GetCurrency() string
- func (o *InvoiceDetailsResultData) GetPaid() *bool
- func (o *InvoiceDetailsResultData) GetPeriod() Period
- func (o *InvoiceDetailsResultData) GetProjects() []Projects
- func (o *InvoiceDetailsResultData) GetSubTotal() float32
- func (o *InvoiceDetailsResultData) GetTax() Tax
- func (o *InvoiceDetailsResultData) GetTotal() float32
- type InvoiceDetailsResultPrice
- type InvoiceDetailsResultSchemasDataPrice
- type InvoiceDetailsResultSchemasDataProjectsPrice
- type InvoiceDetailsResultSchemasPrice
- type Invoices
- type Items
- type Job
- type Keyfile
- type Labels
- type ListDomainsResult
- type ListDomainsResultData
- type ListDomainsResultPagination
- type ListDomainsResultStatus
- type ListIntegrationsResult
- type ListIntegrationsResultData
- type ListIntegrationsResultPagination
- type LogSinkDetails
- type LogSinkDetails1
- type LogSinkDetails2
- type LogSinkDetails3
- type LogSinkDetails3Type
- type LogSinkDetails4
- type LogSinkDetails5
- type LogSinkDetails6
- type LogSinkDetails7
- type LogSinkDetails8
- type LogSinkDetailsAuth
- type LogSinkDetailsAuthenticationStrategy
- type LogSinkDetailsCodec
- type LogSinkDetailsCompression
- type LogSinkDetailsData
- func (o *LogSinkDetailsData) GetCreatedAt() time.Time
- func (o *LogSinkDetailsData) GetDescription() *string
- func (o *LogSinkDetailsData) GetID() string
- func (o *LogSinkDetailsData) GetName() string
- func (o *LogSinkDetailsData) GetProjects() []string
- func (o *LogSinkDetailsData) GetRestricted() bool
- func (o *LogSinkDetailsData) GetSinkData() *LogSinkDetailsSinkData
- func (o *LogSinkDetailsData) GetSinkType() LogSinkDetailsSinkType
- func (o *LogSinkDetailsData) GetUpdatedAt() time.Time
- func (o *LogSinkDetailsData) GetUseCustomLabels() *bool
- func (l LogSinkDetailsData) MarshalJSON() ([]byte, error)
- func (l *LogSinkDetailsData) UnmarshalJSON(data []byte) error
- type LogSinkDetailsEncoding
- type LogSinkDetailsRegion
- type LogSinkDetailsSchemas1
- type LogSinkDetailsSchemas2
- type LogSinkDetailsSchemas3
- type LogSinkDetailsSchemasAuth
- func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemas3(logSinkDetailsSchemas3 LogSinkDetailsSchemas3) LogSinkDetailsSchemasAuth
- func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData1(logSinkDetailsSchemasData1 LogSinkDetailsSchemasData1) LogSinkDetailsSchemasAuth
- func CreateLogSinkDetailsSchemasAuthLogSinkDetailsSchemasData2(logSinkDetailsSchemasData2 LogSinkDetailsSchemasData2) LogSinkDetailsSchemasAuth
- type LogSinkDetailsSchemasAuthType
- type LogSinkDetailsSchemasAuthenticationStrategy
- type LogSinkDetailsSchemasCodec
- type LogSinkDetailsSchemasData1
- type LogSinkDetailsSchemasData2
- type LogSinkDetailsSchemasDataAuth
- type LogSinkDetailsSchemasDataSinkDataStrategy
- type LogSinkDetailsSchemasDataStrategy
- type LogSinkDetailsSchemasEncoding
- type LogSinkDetailsSchemasRegion
- type LogSinkDetailsSchemasStrategy
- type LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails1(logSinkDetails1 LogSinkDetails1) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails2(logSinkDetails2 LogSinkDetails2) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails3(logSinkDetails3 LogSinkDetails3) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails4(logSinkDetails4 LogSinkDetails4) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails5(logSinkDetails5 LogSinkDetails5) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails6(logSinkDetails6 LogSinkDetails6) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails7(logSinkDetails7 LogSinkDetails7) LogSinkDetailsSinkData
- func CreateLogSinkDetailsSinkDataLogSinkDetails8(logSinkDetails8 LogSinkDetails8) LogSinkDetailsSinkData
- type LogSinkDetailsSinkDataType
- type LogSinkDetailsSinkType
- type LogSinkDetailsStrategy
- type LogSinkRequest
- func (o *LogSinkRequest) GetProjects() []string
- func (o *LogSinkRequest) GetRestricted() *bool
- func (o *LogSinkRequest) GetResumeLogSink() *bool
- func (o *LogSinkRequest) GetSinkData() *LogSinkRequestSinkData
- func (o *LogSinkRequest) GetUseCustomLabels() *bool
- func (l LogSinkRequest) MarshalJSON() ([]byte, error)
- func (l *LogSinkRequest) UnmarshalJSON(data []byte) error
- type LogSinkRequest1
- type LogSinkRequest2
- type LogSinkRequest3
- type LogSinkRequestAuth
- type LogSinkRequestAuthenticationStrategy
- type LogSinkRequestCodec
- type LogSinkRequestCompression
- type LogSinkRequestEncoding
- type LogSinkRequestRegion
- type LogSinkRequestSchemas1
- type LogSinkRequestSchemas2
- type LogSinkRequestSchemasAuth
- func CreateLogSinkRequestSchemasAuthLogSinkRequest3(logSinkRequest3 LogSinkRequest3) LogSinkRequestSchemasAuth
- func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas1(logSinkRequestSchemas1 LogSinkRequestSchemas1) LogSinkRequestSchemasAuth
- func CreateLogSinkRequestSchemasAuthLogSinkRequestSchemas2(logSinkRequestSchemas2 LogSinkRequestSchemas2) LogSinkRequestSchemasAuth
- type LogSinkRequestSchemasAuthType
- type LogSinkRequestSchemasAuthenticationStrategy
- type LogSinkRequestSchemasRegion
- type LogSinkRequestSchemasSinkData4Strategy
- type LogSinkRequestSchemasSinkDataAuth
- type LogSinkRequestSchemasSinkDataStrategy
- type LogSinkRequestSchemasStrategy
- type LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataEight(eight Eight) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataFive(five Five) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataFour(four Four) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataOne(one One) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataSeven(seven Seven) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataSix(six Six) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataThree(three Three) LogSinkRequestSinkData
- func CreateLogSinkRequestSinkDataTwo(two Two) LogSinkRequestSinkData
- type LogSinkRequestSinkDataType
- type LogSinkRequestStrategy
- type LogSinks
- func (o *LogSinks) GetCreatedAt() time.Time
- func (o *LogSinks) GetDescription() *string
- func (o *LogSinks) GetID() string
- func (o *LogSinks) GetName() string
- func (o *LogSinks) GetProjects() []string
- func (o *LogSinks) GetRestricted() bool
- func (o *LogSinks) GetSinkType() GetLogSinksResultSinkType
- func (o *LogSinks) GetUpdatedAt() time.Time
- func (o *LogSinks) GetUseCustomLabels() *bool
- func (l LogSinks) MarshalJSON() ([]byte, error)
- func (l *LogSinks) UnmarshalJSON(data []byte) error
- type Logging
- type LogioLogSink
- func (o *LogioLogSink) GetDescription() *string
- func (o *LogioLogSink) GetForwardAccessLogs() *bool
- func (o *LogioLogSink) GetName() string
- func (o *LogioLogSink) GetProjects() []string
- func (o *LogioLogSink) GetRestricted() *bool
- func (o *LogioLogSink) GetSinkData() LogioLogSinkSinkData
- func (o *LogioLogSink) GetSinkType() LogioLogSinkSinkType
- func (o *LogioLogSink) GetUseCustomLabels() *bool
- func (l LogioLogSink) MarshalJSON() ([]byte, error)
- func (l *LogioLogSink) UnmarshalJSON(data []byte) error
- type LogioLogSinkRegion
- type LogioLogSinkSinkData
- type LogioLogSinkSinkType
- type LogtailLogSink
- func (o *LogtailLogSink) GetDescription() *string
- func (o *LogtailLogSink) GetForwardAccessLogs() *bool
- func (o *LogtailLogSink) GetName() string
- func (o *LogtailLogSink) GetProjects() []string
- func (o *LogtailLogSink) GetRestricted() *bool
- func (o *LogtailLogSink) GetSinkData() LogtailLogSinkSinkData
- func (o *LogtailLogSink) GetSinkType() LogtailLogSinkSinkType
- func (o *LogtailLogSink) GetUseCustomLabels() *bool
- func (l LogtailLogSink) MarshalJSON() ([]byte, error)
- func (l *LogtailLogSink) UnmarshalJSON(data []byte) error
- type LogtailLogSinkSinkData
- type LogtailLogSinkSinkType
- type Loki
- type LokiLogSink
- func (o *LokiLogSink) GetDescription() *string
- func (o *LokiLogSink) GetForwardAccessLogs() *bool
- func (o *LokiLogSink) GetName() string
- func (o *LokiLogSink) GetProjects() []string
- func (o *LokiLogSink) GetRestricted() *bool
- func (o *LokiLogSink) GetSinkData() LokiLogSinkSinkData
- func (o *LokiLogSink) GetSinkType() LokiLogSinkSinkType
- func (o *LokiLogSink) GetUseCustomLabels() *bool
- func (l LokiLogSink) MarshalJSON() ([]byte, error)
- func (l *LokiLogSink) UnmarshalJSON(data []byte) error
- type LokiLogSinkAuth
- type LokiLogSinkCodec
- type LokiLogSinkEncoding
- type LokiLogSinkSinkData
- type LokiLogSinkSinkType
- type LokiType
- type Mode
- type NfObjectType
- type NodePools
- func (o *NodePools) GetAutoscaling() *Autoscaling
- func (o *NodePools) GetAvailabilityZones() []string
- func (o *NodePools) GetDiskSize() int64
- func (o *NodePools) GetDiskType() *string
- func (o *NodePools) GetLabels() *Labels
- func (o *NodePools) GetNodeCount() int64
- func (o *NodePools) GetNodeType() string
- func (o *NodePools) GetPreemptible() *bool
- func (o *NodePools) GetSystemPool() *bool
- func (n NodePools) MarshalJSON() ([]byte, error)
- func (n *NodePools) UnmarshalJSON(data []byte) error
- type ObjectTypeTotals
- type One
- type Owner
- type Pagination
- type PapertrailLogSink
- func (o *PapertrailLogSink) GetDescription() *string
- func (o *PapertrailLogSink) GetForwardAccessLogs() *bool
- func (o *PapertrailLogSink) GetName() string
- func (o *PapertrailLogSink) GetProjects() []string
- func (o *PapertrailLogSink) GetRestricted() *bool
- func (o *PapertrailLogSink) GetSinkData() PapertrailLogSinkSinkData
- func (o *PapertrailLogSink) GetSinkType() PapertrailLogSinkSinkType
- func (o *PapertrailLogSink) GetUseCustomLabels() *bool
- func (p PapertrailLogSink) MarshalJSON() ([]byte, error)
- func (p *PapertrailLogSink) UnmarshalJSON(data []byte) error
- type PapertrailLogSink1
- type PapertrailLogSink2
- type PapertrailLogSinkAuthenticationStrategy
- type PapertrailLogSinkSinkData
- type PapertrailLogSinkSinkDataType
- type PapertrailLogSinkSinkType
- type PastInvoicesResult
- type PastInvoicesResultData
- type PastInvoicesResultPagination
- type PastInvoicesResultPeriod
- type Period
- type Price
- type Projects
- type Provider
- type Providers
- func (o *Providers) GetDiskSizes() []float32
- func (o *Providers) GetEngine() string
- func (o *Providers) GetFlags() Flags
- func (o *Providers) GetID() string
- func (o *Providers) GetKubernetesVersions() []string
- func (o *Providers) GetName() string
- func (o *Providers) GetNodeTypes() []string
- func (o *Providers) GetRegions() []string
- type Region
- type RegistriesResult
- type RegistriesResultCredentials
- func (o *RegistriesResultCredentials) GetDescription() string
- func (o *RegistriesResultCredentials) GetID() string
- func (o *RegistriesResultCredentials) GetName() string
- func (o *RegistriesResultCredentials) GetProvider() RegistriesResultProvider
- func (o *RegistriesResultCredentials) GetRestrictions() RegistriesResultRestrictions
- type RegistriesResultData
- type RegistriesResultPagination
- type RegistriesResultProvider
- type RegistriesResultRestrictions
- type Registry
- type RegistryResult
- type RegistryResultAuths
- type RegistryResultData
- func (o *RegistryResultData) GetAuths() *RegistryResultAuths
- func (o *RegistryResultData) GetDescription() string
- func (o *RegistryResultData) GetID() string
- func (o *RegistryResultData) GetName() string
- func (o *RegistryResultData) GetProvider() RegistryResultProvider
- func (o *RegistryResultData) GetRestrictions() RegistryResultRestrictions
- type RegistryResultProvider
- type RegistryResultRestrictions
- type Replicas
- type Repos
- func (o *Repos) GetAccountLogin() string
- func (o *Repos) GetFullName() string
- func (o *Repos) GetID() string
- func (o *Repos) GetName() string
- func (o *Repos) GetOwner() Owner
- func (o *Repos) GetSelfHostedVcsID() *string
- func (o *Repos) GetURL() string
- func (o *Repos) GetVcsService() RepositoriesResultVcsService
- type RepositoriesResult
- type RepositoriesResultData
- type RepositoriesResultPagination
- type RepositoriesResultVcsService
- type Resources
- type Restrictions
- type SchemeBasicAuth
- type Security
- type Service
- type Settings
- type Seven
- type SinkData
- type SinkType
- type Six
- type State
- type Status
- type Storage
- type Strategy
- type Subdomains
- type SuccessResult
- type SuccessResultData
- type Tax
- type Three
- type ThreeType
- type Two
- type UpdateClusterRequest
- type UpdateClusterRequest1
- type UpdateClusterRequest2
- type UpdateClusterRequestAutoscaling
- func (o *UpdateClusterRequestAutoscaling) GetEnabled() *bool
- func (o *UpdateClusterRequestAutoscaling) GetMax() *int64
- func (o *UpdateClusterRequestAutoscaling) GetMin() *int64
- func (u UpdateClusterRequestAutoscaling) MarshalJSON() ([]byte, error)
- func (u *UpdateClusterRequestAutoscaling) UnmarshalJSON(data []byte) error
- type UpdateClusterRequestBuilds
- type UpdateClusterRequestLabels
- type UpdateClusterRequestLogging
- type UpdateClusterRequestLoki
- type UpdateClusterRequestLokiType
- type UpdateClusterRequestMode
- type UpdateClusterRequestNodePools
- func (o *UpdateClusterRequestNodePools) GetAutoscaling() *UpdateClusterRequestAutoscaling
- func (o *UpdateClusterRequestNodePools) GetAvailabilityZones() []string
- func (o *UpdateClusterRequestNodePools) GetDiskSize() int64
- func (o *UpdateClusterRequestNodePools) GetDiskType() *string
- func (o *UpdateClusterRequestNodePools) GetID() *string
- func (o *UpdateClusterRequestNodePools) GetLabels() *UpdateClusterRequestLabels
- func (o *UpdateClusterRequestNodePools) GetNodeCount() int64
- func (o *UpdateClusterRequestNodePools) GetNodeType() string
- func (o *UpdateClusterRequestNodePools) GetPreemptible() *bool
- func (o *UpdateClusterRequestNodePools) GetSystemPool() *bool
- func (u UpdateClusterRequestNodePools) MarshalJSON() ([]byte, error)
- func (u *UpdateClusterRequestNodePools) UnmarshalJSON(data []byte) error
- type UpdateClusterRequestRegistry
- type UpdateClusterRequestSchemasMode
- type UpdateClusterRequestSchemasSettingsMode
- type UpdateClusterRequestSettings
- type UpdateClusterResult
- type UpdateClusterResultAutoscaling
- func (o *UpdateClusterResultAutoscaling) GetEnabled() *bool
- func (o *UpdateClusterResultAutoscaling) GetMax() *int64
- func (o *UpdateClusterResultAutoscaling) GetMin() *int64
- func (u UpdateClusterResultAutoscaling) MarshalJSON() ([]byte, error)
- func (u *UpdateClusterResultAutoscaling) UnmarshalJSON(data []byte) error
- type UpdateClusterResultData
- func (o *UpdateClusterResultData) GetCreatedAt() time.Time
- func (o *UpdateClusterResultData) GetDeletionRequested() bool
- func (o *UpdateClusterResultData) GetDescription() *string
- func (o *UpdateClusterResultData) GetID() string
- func (o *UpdateClusterResultData) GetIntegrationID() string
- func (o *UpdateClusterResultData) GetName() string
- func (o *UpdateClusterResultData) GetNodePools() UpdateClusterResultNodePools
- func (o *UpdateClusterResultData) GetProvider() *string
- func (o *UpdateClusterResultData) GetStatus() *UpdateClusterResultStatus
- func (u UpdateClusterResultData) MarshalJSON() ([]byte, error)
- func (u *UpdateClusterResultData) UnmarshalJSON(data []byte) error
- type UpdateClusterResultLabels
- type UpdateClusterResultNodePools
- func (o *UpdateClusterResultNodePools) GetAutoscaling() *UpdateClusterResultAutoscaling
- func (o *UpdateClusterResultNodePools) GetAvailabilityZones() []string
- func (o *UpdateClusterResultNodePools) GetDiskSize() int64
- func (o *UpdateClusterResultNodePools) GetDiskType() *string
- func (o *UpdateClusterResultNodePools) GetID() *string
- func (o *UpdateClusterResultNodePools) GetLabels() *UpdateClusterResultLabels
- func (o *UpdateClusterResultNodePools) GetNodeCount() int64
- func (o *UpdateClusterResultNodePools) GetNodeType() string
- func (o *UpdateClusterResultNodePools) GetPreemptible() *bool
- func (o *UpdateClusterResultNodePools) GetSystemPool() *bool
- func (u UpdateClusterResultNodePools) MarshalJSON() ([]byte, error)
- func (u *UpdateClusterResultNodePools) UnmarshalJSON(data []byte) error
- type UpdateClusterResultState
- type UpdateClusterResultStatus
- type UpdateIntegrationRequest
- type UpdateIntegrationRequestCredentials
- type UpdateIntegrationResult
- type UpdateIntegrationResultCredentials
- type UpdateIntegrationResultData
- func (o *UpdateIntegrationResultData) GetCreatedAt() time.Time
- func (o *UpdateIntegrationResultData) GetCredentials() UpdateIntegrationResultCredentials
- func (o *UpdateIntegrationResultData) GetDescription() *string
- func (o *UpdateIntegrationResultData) GetID() string
- func (o *UpdateIntegrationResultData) GetName() string
- func (u UpdateIntegrationResultData) MarshalJSON() ([]byte, error)
- func (u *UpdateIntegrationResultData) UnmarshalJSON(data []byte) error
- type UpdateRegistryType1
- type UpdateRegistryType1Restrictions
- type UpdateRegistryType2
- type UpdateRegistryType2Restrictions
- type UpdateRegistryType3
- type UpdateRegistryType3Keyfile
- type UpdateRegistryType3Restrictions
- type UpdateRegistryType4
- type UpdateRegistryType4Auths
- type UpdateRegistryType4Restrictions
- type VCSProvidersResult
- type VCSProvidersResultData
- type VCSProvidersResultVCSService
- type VCSTokenResult
- type VCSTokenResultData
- type VcsAccountLinks
- func (o *VcsAccountLinks) GetEmail() string
- func (o *VcsAccountLinks) GetEntityName() *string
- func (o *VcsAccountLinks) GetInternalID() *string
- func (o *VcsAccountLinks) GetLogin() string
- func (o *VcsAccountLinks) GetName() *string
- func (o *VcsAccountLinks) GetVcsService() VCSProvidersResultVCSService
- func (o *VcsAccountLinks) GetVcsType() *VcsType
- func (o *VcsAccountLinks) GetVcsURL() *string
- type VcsService
- type VcsType
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 (e AddRegistryType2Provider) ToPointer() *AddRegistryType2Provider
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 (e AddRegistryType3Provider) ToPointer() *AddRegistryType3Provider
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 (*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 ¶
func (o *AddonTypesResult) GetData() AddonTypesResultData
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 (*Auth) GetSecretAccessKey ¶
type AuthenticationStrategy ¶
type AuthenticationStrategy string
AuthenticationStrategy - The authentication strategy.
const (
AuthenticationStrategyPort AuthenticationStrategy = "port"
)
func (AuthenticationStrategy) ToPointer ¶
func (e AuthenticationStrategy) ToPointer() *AuthenticationStrategy
func (*AuthenticationStrategy) UnmarshalJSON ¶
func (e *AuthenticationStrategy) UnmarshalJSON(data []byte) error
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 ¶
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 ¶
func (o *CloudProvidersResult) GetData() CloudProvidersResultData
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 ¶
func (o *ClusterDetailsResult) GetData() ClusterDetailsResultData
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 (o *ClusterDetailsResultAutoscaling) GetMax() *int64
func (*ClusterDetailsResultAutoscaling) GetMin ¶
func (o *ClusterDetailsResultAutoscaling) GetMin() *int64
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 (o *ClusterDetailsResultData) GetNodePools() ClusterDetailsResultNodePools
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 (o *ClusterDetailsResultNodePools) GetAutoscaling() *ClusterDetailsResultAutoscaling
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 (o *ClusterDetailsResultNodePools) GetID() *string
func (*ClusterDetailsResultNodePools) GetLabels ¶
func (o *ClusterDetailsResultNodePools) GetLabels() *ClusterDetailsResultLabels
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 (*Clusters) GetDeletionRequested ¶
func (*Clusters) GetDescription ¶
func (*Clusters) GetIntegrationID ¶
func (*Clusters) GetNodePools ¶
func (o *Clusters) GetNodePools() ClustersResultNodePools
func (*Clusters) GetProvider ¶
func (*Clusters) GetStatus ¶
func (o *Clusters) GetStatus() *ClustersResultStatus
func (Clusters) MarshalJSON ¶
func (*Clusters) UnmarshalJSON ¶
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 (o *ClustersResultNodePools) GetAutoscaling() *ClustersResultAutoscaling
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 (o *ClustersResultNodePools) GetLabels() *ClustersResultLabels
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 (o *ClustersResultStatus) GetState() *ClustersResultState
func (ClustersResultStatus) MarshalJSON ¶
func (c ClustersResultStatus) MarshalJSON() ([]byte, error)
func (*ClustersResultStatus) UnmarshalJSON ¶
func (c *ClustersResultStatus) 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 (o *CreateClusterRequest) GetProvider() CreateClusterRequestProvider
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 (e CreateClusterRequestMode) ToPointer() *CreateClusterRequestMode
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 (e CreateClusterRequestProvider) ToPointer() *CreateClusterRequestProvider
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 (e CreateClusterRequestSchemasMode) ToPointer() *CreateClusterRequestSchemasMode
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 ¶
func (o *CreateClusterResult) GetData() CreateClusterResultData
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 (o *CreateClusterResultAutoscaling) GetMax() *int64
func (*CreateClusterResultAutoscaling) GetMin ¶
func (o *CreateClusterResultAutoscaling) GetMin() *int64
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 (o *CreateClusterResultData) GetNodePools() CreateClusterResultNodePools
func (*CreateClusterResultData) GetProvider ¶
func (o *CreateClusterResultData) GetProvider() *string
func (*CreateClusterResultData) GetStatus ¶
func (o *CreateClusterResultData) GetStatus() *CreateClusterResultStatus
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 (o *CreateClusterResultNodePools) GetAutoscaling() *CreateClusterResultAutoscaling
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 (o *CreateClusterResultNodePools) GetID() *string
func (*CreateClusterResultNodePools) GetLabels ¶
func (o *CreateClusterResultNodePools) GetLabels() *CreateClusterResultLabels
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 (o *CreateClusterResultStatus) GetState() *CreateClusterResultState
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 ¶
func (o *CreateDomainResult) GetData() CreateDomainResultData
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 (o *CreateDomainResultData) GetStatus() CreateDomainResultStatus
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 (e CreateDomainResultStatus) ToPointer() *CreateDomainResultStatus
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 (o *CreateIntegrationRequest) GetGcp() *CreateIntegrationRequestGcp
func (*CreateIntegrationRequest) GetName ¶
func (o *CreateIntegrationRequest) GetName() string
func (*CreateIntegrationRequest) GetProvider ¶
func (o *CreateIntegrationRequest) GetProvider() CreateIntegrationRequestProvider
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 (e CreateIntegrationRequestProvider) ToPointer() *CreateIntegrationRequestProvider
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 ¶
func (o *CreateIntegrationResult) GetData() CreateIntegrationResultData
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 (o *CreateIntegrationResultCredentials) GetAPIKey() *string
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 (o *CreateIntegrationResultData) GetCredentials() CreateIntegrationResultCredentials
func (*CreateIntegrationResultData) GetDescription ¶
func (o *CreateIntegrationResultData) GetDescription() *string
func (*CreateIntegrationResultData) GetID ¶
func (o *CreateIntegrationResultData) GetID() string
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 ¶
func (o *CreateLogSinkResult) GetData() CreateLogSinkResultData
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 (*Data) GetFullName ¶
func (*Data) GetRecordType ¶
func (*Data) GetVerified ¶
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 (e DatadogLogSinkRegion) ToPointer() *DatadogLogSinkRegion
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 ¶
func (o *DatadogLogSinkSinkData) GetRegion() DatadogLogSinkRegion
type DatadogLogSinkSinkType ¶
type DatadogLogSinkSinkType string
DatadogLogSinkSinkType - The type of the log sink.
const (
DatadogLogSinkSinkTypeDatadogLogs DatadogLogSinkSinkType = "datadog_logs"
)
func (DatadogLogSinkSinkType) ToPointer ¶
func (e DatadogLogSinkSinkType) ToPointer() *DatadogLogSinkSinkType
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 (*Domains) GetStatus ¶
func (o *Domains) GetStatus() ListDomainsResultStatus
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) GetDataset ¶
type Encoding ¶
type Encoding struct { // Codec to encode logs in Codec Codec `json:"codec"` }
Encoding options
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 (*Features) GetCustomDBName ¶
func (*Features) GetExternalAccess ¶
func (*Features) GetForkAddon ¶
func (*Features) GetImportDump ¶
func (*Features) GetImportLive ¶
func (*Features) GetScaleReplicas ¶
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 (o *Five) GetAuth() *LogSinkRequestSchemasSinkDataAuth
func (*Five) GetCompression ¶
func (o *Five) GetCompression() LogSinkRequestCompression
func (*Five) GetEndpoint ¶
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 (*Flags) GetPreemptible ¶
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
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 ¶
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 (o *GetDomainResultData) GetStatus() GetDomainResultStatus
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 (e GetDomainResultStatus) ToPointer() *GetDomainResultStatus
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 ¶
func (o *GetIntegrationResult) GetData() GetIntegrationResultData
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 (o *GetIntegrationResultData) GetCredentials() GetIntegrationResultCredentials
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 (o *GetLogSinksResult) GetData() GetLogSinksResultData
func (*GetLogSinksResult) GetPagination ¶
func (o *GetLogSinksResult) GetPagination() GetLogSinksResultPagination
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 (e GetLogSinksResultSinkType) ToPointer() *GetLogSinksResultSinkType
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 ¶
func (o *GetSubDomainResult) GetData() GetSubDomainResultData
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 ¶
func (o *HTTPLogSink1) GetStrategy() HTTPLogSinkSchemasSinkDataStrategy
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 (e HTTPLogSinkSchemasSinkDataStrategy) ToPointer() *HTTPLogSinkSchemasSinkDataStrategy
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 (e HTTPLogSinkSchemasStrategy) ToPointer() *HTTPLogSinkSchemasStrategy
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 (e HTTPLogSinkSinkType) ToPointer() *HTTPLogSinkSinkType
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 (e HTTPLogSinkStrategy) ToPointer() *HTTPLogSinkStrategy
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 (e HoneycombLogSinkSinkType) ToPointer() *HoneycombLogSinkSinkType
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 ¶
func (o *InvoiceDetailsResult) GetData() InvoiceDetailsResultData
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 (o *InvoiceDetailsResultSchemasDataPrice) GetCPU() float32
func (*InvoiceDetailsResultSchemasDataPrice) GetMemory ¶
func (o *InvoiceDetailsResultSchemasDataPrice) GetMemory() float32
func (*InvoiceDetailsResultSchemasDataPrice) GetStorage ¶
func (o *InvoiceDetailsResultSchemasDataPrice) GetStorage() float32
func (*InvoiceDetailsResultSchemasDataPrice) GetTotal ¶
func (o *InvoiceDetailsResultSchemasDataPrice) GetTotal() float32
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 (o *InvoiceDetailsResultSchemasDataProjectsPrice) GetCPU() float32
func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetMemory ¶
func (o *InvoiceDetailsResultSchemasDataProjectsPrice) GetMemory() float32
func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetStorage ¶
func (o *InvoiceDetailsResultSchemasDataProjectsPrice) GetStorage() float32
func (*InvoiceDetailsResultSchemasDataProjectsPrice) GetTotal ¶
func (o *InvoiceDetailsResultSchemasDataProjectsPrice) GetTotal() float32
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 (o *InvoiceDetailsResultSchemasPrice) GetCPU() float32
func (*InvoiceDetailsResultSchemasPrice) GetMemory ¶
func (o *InvoiceDetailsResultSchemasPrice) GetMemory() float32
func (*InvoiceDetailsResultSchemasPrice) GetStorage ¶
func (o *InvoiceDetailsResultSchemasPrice) GetStorage() float32
func (*InvoiceDetailsResultSchemasPrice) GetTotal ¶
func (o *InvoiceDetailsResultSchemasPrice) GetTotal() float32
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 (*Invoices) GetPeriod ¶
func (o *Invoices) GetPeriod() PastInvoicesResultPeriod
func (*Invoices) GetSubTotal ¶
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 (*Items) GetNfObjectID ¶
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 (*Job) GetPrice ¶
func (o *Job) GetPrice() *InvoiceDetailsResultSchemasDataPrice
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 (o *ListDomainsResult) GetData() ListDomainsResultData
func (*ListDomainsResult) GetPagination ¶
func (o *ListDomainsResult) GetPagination() ListDomainsResultPagination
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 (e ListDomainsResultStatus) ToPointer() *ListDomainsResultStatus
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 (o *ListIntegrationsResult) GetData() ListIntegrationsResultData
func (*ListIntegrationsResult) GetPagination ¶
func (o *ListIntegrationsResult) GetPagination() ListIntegrationsResultPagination
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 (o *ListIntegrationsResultPagination) GetCount() float32
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 (o *LogSinkDetails4) GetAuth() LogSinkDetailsSchemasAuth
func (*LogSinkDetails4) GetEncoding ¶
func (o *LogSinkDetails4) GetEncoding() *LogSinkDetailsSchemasEncoding
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 (o *LogSinkDetails5) GetAuth() *LogSinkDetailsSchemasDataAuth
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 ¶
func (o *LogSinkDetails5) GetRegion() LogSinkDetailsSchemasRegion
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 (e LogSinkDetailsAuthenticationStrategy) ToPointer() *LogSinkDetailsAuthenticationStrategy
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 (e LogSinkDetailsCodec) ToPointer() *LogSinkDetailsCodec
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 (e LogSinkDetailsCompression) ToPointer() *LogSinkDetailsCompression
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 ¶
func (o *LogSinkDetailsEncoding) GetCodec() LogSinkDetailsCodec
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 (e LogSinkDetailsRegion) ToPointer() *LogSinkDetailsRegion
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 (o *LogSinkDetailsSchemas1) GetAuthenticationStrategy() LogSinkDetailsSchemasAuthenticationStrategy
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 (o *LogSinkDetailsSchemas3) GetStrategy() LogSinkDetailsSchemasDataSinkDataStrategy
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 (e LogSinkDetailsSchemasAuthenticationStrategy) ToPointer() *LogSinkDetailsSchemasAuthenticationStrategy
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 (e LogSinkDetailsSchemasCodec) ToPointer() *LogSinkDetailsSchemasCodec
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 ¶
func (o *LogSinkDetailsSchemasData1) GetStrategy() LogSinkDetailsSchemasStrategy
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 (o *LogSinkDetailsSchemasData2) GetStrategy() LogSinkDetailsSchemasDataStrategy
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 (e LogSinkDetailsSchemasDataSinkDataStrategy) ToPointer() *LogSinkDetailsSchemasDataSinkDataStrategy
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 (e LogSinkDetailsSchemasDataStrategy) ToPointer() *LogSinkDetailsSchemasDataStrategy
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 ¶
func (o *LogSinkDetailsSchemasEncoding) GetCodec() LogSinkDetailsSchemasCodec
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 (e LogSinkDetailsSchemasRegion) ToPointer() *LogSinkDetailsSchemasRegion
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 (e LogSinkDetailsSchemasStrategy) ToPointer() *LogSinkDetailsSchemasStrategy
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 (e LogSinkDetailsSinkType) ToPointer() *LogSinkDetailsSinkType
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 (e LogSinkDetailsStrategy) ToPointer() *LogSinkDetailsStrategy
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 (o *LogSinkRequest3) GetStrategy() LogSinkRequestSchemasSinkData4Strategy
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 (e LogSinkRequestAuthenticationStrategy) ToPointer() *LogSinkRequestAuthenticationStrategy
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 (e LogSinkRequestCodec) ToPointer() *LogSinkRequestCodec
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 (e LogSinkRequestCompression) ToPointer() *LogSinkRequestCompression
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 ¶
func (o *LogSinkRequestEncoding) GetCodec() LogSinkRequestCodec
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 (e LogSinkRequestRegion) ToPointer() *LogSinkRequestRegion
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 ¶
func (o *LogSinkRequestSchemas1) GetStrategy() LogSinkRequestSchemasStrategy
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 (o *LogSinkRequestSchemas2) GetStrategy() LogSinkRequestSchemasSinkDataStrategy
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 (e LogSinkRequestSchemasAuthenticationStrategy) ToPointer() *LogSinkRequestSchemasAuthenticationStrategy
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 (e LogSinkRequestSchemasRegion) ToPointer() *LogSinkRequestSchemasRegion
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 (e LogSinkRequestSchemasSinkData4Strategy) ToPointer() *LogSinkRequestSchemasSinkData4Strategy
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 (e LogSinkRequestSchemasSinkDataStrategy) ToPointer() *LogSinkRequestSchemasSinkDataStrategy
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 (e LogSinkRequestSchemasStrategy) ToPointer() *LogSinkRequestSchemasStrategy
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 (e LogSinkRequestStrategy) ToPointer() *LogSinkRequestStrategy
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 (*LogSinks) GetDescription ¶
func (*LogSinks) GetProjects ¶
func (*LogSinks) GetRestricted ¶
func (*LogSinks) GetSinkType ¶
func (o *LogSinks) GetSinkType() GetLogSinksResultSinkType
func (*LogSinks) GetUpdatedAt ¶
func (*LogSinks) GetUseCustomLabels ¶
func (LogSinks) MarshalJSON ¶
func (*LogSinks) UnmarshalJSON ¶
type Logging ¶
type Logging struct { Loki *Loki `json:"loki,omitempty"` Mode *CreateClusterRequestMode `json:"mode,omitempty"` }
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 (o *LogioLogSinkSinkData) GetRegion() LogioLogSinkRegion
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 (e LogioLogSinkSinkType) ToPointer() *LogioLogSinkSinkType
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 (e LogtailLogSinkSinkType) ToPointer() *LogtailLogSinkSinkType
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 (*Loki) UnmarshalJSON ¶
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 (e LokiLogSinkSinkType) ToPointer() *LokiLogSinkSinkType
func (*LokiLogSinkSinkType) UnmarshalJSON ¶
func (e *LokiLogSinkSinkType) 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 (*NodePools) GetDiskSize ¶
func (*NodePools) GetDiskType ¶
func (*NodePools) GetNodeCount ¶
func (*NodePools) GetNodeType ¶
func (*NodePools) GetPreemptible ¶
func (*NodePools) GetSystemPool ¶
func (NodePools) MarshalJSON ¶
func (*NodePools) UnmarshalJSON ¶
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 ¶
type Owner ¶
type Owner struct { // The login of the repository owner. Login string `json:"login"` }
Owner - Details about the repository owner.
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 (o *PapertrailLogSink) GetSinkData() PapertrailLogSinkSinkData
func (*PapertrailLogSink) GetSinkType ¶
func (o *PapertrailLogSink) GetSinkType() PapertrailLogSinkSinkType
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 (e PapertrailLogSinkAuthenticationStrategy) ToPointer() *PapertrailLogSinkAuthenticationStrategy
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 (e PapertrailLogSinkSinkType) ToPointer() *PapertrailLogSinkSinkType
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 (o *PastInvoicesResult) GetData() PastInvoicesResultData
func (*PastInvoicesResult) GetPagination ¶
func (o *PastInvoicesResult) GetPagination() PastInvoicesResultPagination
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.
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) GetStorage ¶
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 (*Projects) GetObjectTypeTotals ¶
func (o *Projects) GetObjectTypeTotals() ObjectTypeTotals
func (*Projects) GetProjectID ¶
type Provider ¶
type Provider string
Provider - The registry provider associated with this set of credentials.
func (*Provider) UnmarshalJSON ¶
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 (*Providers) GetKubernetesVersions ¶
func (*Providers) GetNodeTypes ¶
func (*Providers) GetRegions ¶
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) UnmarshalJSON ¶
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 (o *RegistriesResult) GetData() RegistriesResultData
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 (o *RegistriesResultCredentials) GetID() string
func (*RegistriesResultCredentials) GetName ¶
func (o *RegistriesResultCredentials) GetName() string
func (*RegistriesResultCredentials) GetProvider ¶
func (o *RegistriesResultCredentials) GetProvider() RegistriesResultProvider
func (*RegistriesResultCredentials) GetRestrictions ¶
func (o *RegistriesResultCredentials) GetRestrictions() RegistriesResultRestrictions
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 (e RegistriesResultProvider) ToPointer() *RegistriesResultProvider
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 (o *Registry) GetMode() *CreateClusterRequestSchemasMode
func (*Registry) GetRegistryID ¶
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 (e RegistryResultProvider) ToPointer() *RegistryResultProvider
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 (*Replicas) GetOptions ¶
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 (*Repos) GetFullName ¶
func (*Repos) GetSelfHostedVcsID ¶
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 (o *RepositoriesResult) GetData() RepositoriesResultData
func (*RepositoriesResult) GetPagination ¶
func (o *RepositoriesResult) GetPagination() RepositoriesResultPagination
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 (e RepositoriesResultVcsService) ToPointer() *RepositoriesResultVcsService
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 (*Resources) GetStorage ¶
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 ¶
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 (*Service) GetPrice ¶
func (o *Service) GetPrice() *InvoiceDetailsResultSchemasDataProjectsPrice
type Settings ¶
type Settings struct { Builds *Builds `json:"builds,omitempty"` Logging *Logging `json:"logging,omitempty"` Registry *Registry `json:"registry,omitempty"` }
func (*Settings) GetLogging ¶
func (*Settings) GetRegistry ¶
type Seven ¶
type Seven struct { // Ingestion Key APIKey string `json:"api_key"` }
Seven - LogDNA Sink Schema.
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) GetCompression ¶
func (o *SinkData) GetCompression() Compression
func (*SinkData) GetEndpoint ¶
type SinkType ¶
type SinkType string
SinkType - The type of the log sink.
const (
SinkTypeAwsS3 SinkType = "aws_s3"
)
func (*SinkType) UnmarshalJSON ¶
type Six ¶
type Six struct { // Logtail Source Token Token string `json:"token"` }
Six - Logtail Sink Schema.
type State ¶
type State struct { State *string `json:"state,omitempty"` TransitionTime *time.Time `json:"transitionTime,omitempty"` }
func (*State) GetTransitionTime ¶
func (State) MarshalJSON ¶
func (*State) UnmarshalJSON ¶
type Status ¶
type Status struct { NextUpdateAfter *time.Time `json:"nextUpdateAfter,omitempty"` State *State `json:"state,omitempty"` }
func (*Status) GetNextUpdateAfter ¶
func (Status) MarshalJSON ¶
func (*Status) UnmarshalJSON ¶
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 (*Storage) GetOptions ¶
type Strategy ¶
type Strategy string
Strategy - The authentication strategy.
const (
StrategyBasic Strategy = "basic"
)
func (*Strategy) UnmarshalJSON ¶
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 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 ¶
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 (*Three) UnmarshalJSON ¶
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 (*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 (o *UpdateClusterRequest) GetNodePools() []UpdateClusterRequestNodePools
func (*UpdateClusterRequest) GetSettings ¶
func (o *UpdateClusterRequest) GetSettings() *UpdateClusterRequestSettings
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 (o *UpdateClusterRequestAutoscaling) GetMax() *int64
func (*UpdateClusterRequestAutoscaling) GetMin ¶
func (o *UpdateClusterRequestAutoscaling) GetMin() *int64
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 (o *UpdateClusterRequestBuilds) GetMode() *UpdateClusterRequestMode
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 (o *UpdateClusterRequestLogging) GetLoki() *UpdateClusterRequestLoki
func (*UpdateClusterRequestLogging) GetMode ¶
func (o *UpdateClusterRequestLogging) GetMode() *UpdateClusterRequestSchemasMode
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 (e UpdateClusterRequestMode) ToPointer() *UpdateClusterRequestMode
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 (o *UpdateClusterRequestNodePools) GetAutoscaling() *UpdateClusterRequestAutoscaling
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 (o *UpdateClusterRequestNodePools) GetID() *string
func (*UpdateClusterRequestNodePools) GetLabels ¶
func (o *UpdateClusterRequestNodePools) GetLabels() *UpdateClusterRequestLabels
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 (o *UpdateClusterRequestRegistry) GetMode() *UpdateClusterRequestSchemasSettingsMode
func (*UpdateClusterRequestRegistry) GetRegistryID ¶
func (o *UpdateClusterRequestRegistry) GetRegistryID() *string
type UpdateClusterRequestSchemasMode ¶
type UpdateClusterRequestSchemasMode string
const ( UpdateClusterRequestSchemasModePaas UpdateClusterRequestSchemasMode = "paas" UpdateClusterRequestSchemasModeLoki UpdateClusterRequestSchemasMode = "loki" )
func (UpdateClusterRequestSchemasMode) ToPointer ¶
func (e UpdateClusterRequestSchemasMode) ToPointer() *UpdateClusterRequestSchemasMode
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 (e UpdateClusterRequestSchemasSettingsMode) ToPointer() *UpdateClusterRequestSchemasSettingsMode
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 (o *UpdateClusterRequestSettings) GetBuilds() *UpdateClusterRequestBuilds
func (*UpdateClusterRequestSettings) GetLogging ¶
func (o *UpdateClusterRequestSettings) GetLogging() *UpdateClusterRequestLogging
func (*UpdateClusterRequestSettings) GetRegistry ¶
func (o *UpdateClusterRequestSettings) GetRegistry() *UpdateClusterRequestRegistry
type UpdateClusterResult ¶
type UpdateClusterResult struct { // Result data. Data UpdateClusterResultData `json:"data"` }
UpdateClusterResult - Response object.
func (*UpdateClusterResult) GetData ¶
func (o *UpdateClusterResult) GetData() UpdateClusterResultData
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 (o *UpdateClusterResultAutoscaling) GetMax() *int64
func (*UpdateClusterResultAutoscaling) GetMin ¶
func (o *UpdateClusterResultAutoscaling) GetMin() *int64
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 (o *UpdateClusterResultData) GetNodePools() UpdateClusterResultNodePools
func (*UpdateClusterResultData) GetProvider ¶
func (o *UpdateClusterResultData) GetProvider() *string
func (*UpdateClusterResultData) GetStatus ¶
func (o *UpdateClusterResultData) GetStatus() *UpdateClusterResultStatus
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 (o *UpdateClusterResultNodePools) GetAutoscaling() *UpdateClusterResultAutoscaling
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 (o *UpdateClusterResultNodePools) GetID() *string
func (*UpdateClusterResultNodePools) GetLabels ¶
func (o *UpdateClusterResultNodePools) GetLabels() *UpdateClusterResultLabels
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 (o *UpdateClusterResultStatus) GetState() *UpdateClusterResultState
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 (o *UpdateIntegrationRequest) GetCredentials() UpdateIntegrationRequestCredentials
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 (o *UpdateIntegrationRequestCredentials) GetAPIKey() *string
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 ¶
func (o *UpdateIntegrationResult) GetData() UpdateIntegrationResultData
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 (o *UpdateIntegrationResultCredentials) GetAPIKey() *string
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 (o *UpdateIntegrationResultData) GetCredentials() UpdateIntegrationResultCredentials
func (*UpdateIntegrationResultData) GetDescription ¶
func (o *UpdateIntegrationResultData) GetDescription() *string
func (*UpdateIntegrationResultData) GetID ¶
func (o *UpdateIntegrationResultData) GetID() string
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 ¶
func (o *UpdateRegistryType1) GetRestrictions() *UpdateRegistryType1Restrictions
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 (o *UpdateRegistryType2) GetRestrictions() *UpdateRegistryType2Restrictions
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 (o *UpdateRegistryType3) GetKeyfile() UpdateRegistryType3Keyfile
func (*UpdateRegistryType3) GetRegistryURL ¶
func (o *UpdateRegistryType3) GetRegistryURL() *string
func (*UpdateRegistryType3) GetRestrictions ¶
func (o *UpdateRegistryType3) GetRestrictions() *UpdateRegistryType3Restrictions
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 (o *UpdateRegistryType4) GetAuths() UpdateRegistryType4Auths
func (*UpdateRegistryType4) GetDescription ¶
func (o *UpdateRegistryType4) GetDescription() *string
func (*UpdateRegistryType4) GetRestrictions ¶
func (o *UpdateRegistryType4) GetRestrictions() *UpdateRegistryType4Restrictions
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 ¶
func (o *VCSProvidersResult) GetData() VCSProvidersResultData
type VCSProvidersResultData ¶
type VCSProvidersResultData struct { // The version control accounts linked to this Northflank account. VcsAccountLinks []VcsAccountLinks `json:"vcsAccountLinks"` }
VCSProvidersResultData - Result data.
func (*VCSProvidersResultData) GetVcsAccountLinks ¶
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 (e VCSProvidersResultVCSService) ToPointer() *VCSProvidersResultVCSService
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 ¶
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
Source Files
¶
- addontypesresult.go
- addregistrytype1.go
- addregistrytype2.go
- addregistrytype3.go
- addsubdomainrequest.go
- addsubdomainresult.go
- assignsubdomainrequest.go
- awslogsink.go
- branchesresult.go
- cdnrequest.go
- cloudprovidersresult.go
- clusterdetailsresult.go
- clustersresult.go
- createclusterrequest.go
- createclusterresult.go
- createdomainrequest.go
- createdomainresult.go
- createintegrationrequest.go
- createintegrationresult.go
- createlogsinkresult.go
- datadoglogsink.go
- dnalogsink.go
- dnsidresult.go
- getdomainresult.go
- getintegrationresult.go
- getlogsinksresult.go
- getsubdomainresult.go
- honeycomblogsink.go
- httplogsink.go
- invoicedetailsresult.go
- listdomainsresult.go
- listintegrationsresult.go
- logiologsink.go
- logsinkdetails.go
- logsinkrequest.go
- logtaillogsink.go
- lokilogsink.go
- papertraillogsink.go
- pastinvoicesresult.go
- registriesresult.go
- registryresult.go
- repositoriesresult.go
- schemebasicauth.go
- security.go
- successresult.go
- updateclusterrequest.go
- updateclusterresult.go
- updateintegrationrequest.go
- updateintegrationresult.go
- updateregistrytype1.go
- updateregistrytype2.go
- updateregistrytype3.go
- updateregistrytype4.go
- vcsprovidersresult.go
- vcstokenresult.go