Documentation
¶
Index ¶
- func BytesToHumanReadableUnit(bytes uint64) string
- func BytesToHumanReadableUnitBinary(bytes uint64) string
- func DisplayText(item Displayable, out io.Writer, noHeaders bool, includeCols []string) error
- func FormatWebhookSecretNotice(secret string) string
- func GetActivationFunctionName(a whisk.Activation) string
- func GetActivationPackageName(a whisk.Activation) string
- func GetActivationStatus(statusCode int) string
- type AccessKeys
- type Account
- type Action
- type Activation
- type AdvancedMySQLConfiguration
- type AdvancedPostgresConfiguration
- type Agent
- type AlertPolicy
- type AppAlerts
- type AppInstanceSizes
- type AppInstances
- type AppProposeResponse
- type AppRegions
- type AppTiers
- type Apps
- type BYOIPPrefix
- type BYOIPPrefixCreate
- type BYOIPPrefixResource
- type Balance
- type BillingHistory
- type Buildpacks
- type CDN
- type Certificate
- type DatabaseBackups
- type DatabaseCA
- type DatabaseConnection
- type DatabaseDBs
- type DatabaseEvents
- type DatabaseFirewallRules
- type DatabaseKafkaTopic
- type DatabaseKafkaTopicPartitions
- type DatabaseKafkaTopics
- type DatabaseLayoutOptions
- type DatabaseMaintenanceWindow
- type DatabaseOpenSearchIndexes
- type DatabaseOptions
- type DatabasePools
- type DatabaseRegionOptions
- type DatabaseReplicas
- type DatabaseSQLModes
- type DatabaseStorageAutoscale
- type DatabaseUsers
- type DatabaseVersionOptions
- type Databases
- type DatacenterRegion
- type DedicatedInference
- type DedicatedInferenceAccelerator
- type DedicatedInferenceGPUModelConfigDisplayer
- type DedicatedInferenceList
- type DedicatedInferenceSizeDisplayer
- type DedicatedInferenceTokenDisplayer
- type Deployments
- type Displayable
- type Displayer
- type Domain
- type DomainRecord
- type Droplet
- type DropletAutoscaleHistoryEvents
- type DropletAutoscalePools
- type DropletAutoscaleResources
- type DropletBackupPolicy
- type DropletSupportedBackupPolicy
- type EvaluationDataset
- type EvaluationDatasetCreate
- type EvaluationMetric
- type Events
- type Firewall
- type Functions
- type GarbageCollection
- type GenAIDownloadURL
- type HarnessPrepayBalance
- type HostedAgentCancel
- type HostedAgentCheckpoint
- type HostedAgentConfig
- type HostedAgentConfigSummary
- type HostedAgentConnection
- type HostedAgentPrompt
- type HostedAgentPromptResult
- type HostedAgentReusableSession
- type HostedAgentSandboxExec
- type HostedAgentSandboxSize
- type HostedAgentSession
- type HostedAgentTemplate
- type HostedAgentTemplateBuild
- type HostedAgentTrigger
- type HostedAgentTriggerExecution
- type HostedAgentWebhookProvider
- type HostedAgentWorkspaceEntry
- type HostedAgentWorkspaceEntryItem
- type HostedAgentWorkspaceFile
- type HostedAgentWorkspaceUpload
- type Image
- type IndexingJob
- type IndexingJobDataSource
- type Invoice
- type InvoiceList
- type InvoiceSummary
- type JobInvocations
- type KafkaConfiguration
- type Kernel
- type Key
- type KeyGet
- type KnowledgeBase
- type KnowledgeBaseDataSource
- type KubernetesAssociatedResources
- type KubernetesClusters
- type KubernetesNodePools
- type KubernetesNodeSizes
- type KubernetesRegions
- type KubernetesVersions
- type LoadBalancer
- type MicroVM
- type MicroVMCheckpoint
- type MicroVMCreateOptions
- type Model
- type ModelEvaluationPreset
- type ModelEvaluationRun
- type ModelEvaluationRunCreate
- type ModelEvaluationRunDetail
- type MongoDBConfiguration
- type MySQLConfiguration
- type Namespaces
- type Nfs
- type NfsAccessPoint
- type NfsAction
- type NfsSnapshot
- type OneClick
- type OpenAiApiKey
- type OpensearchConfiguration
- type PartnerAttachment
- type PartnerAttachmentBgpAuthKey
- type PartnerAttachmentRegenerateServiceKey
- type PartnerAttachmentRoute
- type PartnerAttachmentServiceKey
- type PlugDesc
- type Plugin
- type PostgreSQLConfiguration
- type PrepaymentConfig
- type PrepaymentStatus
- type Project
- type ProjectResource
- type RateLimit
- type RedisConfiguration
- type Region
- type Registry
- type RegistryAvailableRegions
- type RegistryOptions
- type RegistrySubscriptionTiers
- type Repository
- type RepositoryManifest
- type RepositoryTag
- type RepositoryV2
- type ReservedIP
- type ReservedIPv6
- type Scenario
- type ScenarioLibraryEntry
- type ScenarioSet
- type Secret
- type SecretVersions
- type SecretWriteResult
- type Secrets
- type SecurityAffectedResource
- type SecurityScan
- type SecurityScans
- type SignalsAgentConsent
- type SignalsConsent
- type SignalsDeletion
- type SignalsExport
- type SignalsExportDownload
- type SignalsExportOptions
- type SignalsSession
- type SignalsSessionDialogue
- type SimulationEpisode
- type SimulationRun
- type SimulationRunDetail
- type SimulationTrajectory
- type Size
- type Snapshot
- type SpacesKey
- type Tag
- type Triggers
- type UptimeAlert
- type UptimeCheck
- type VPC
- type VPCNATGateways
- type VPCPeering
- type ValkeyConfiguration
- type VectorDBAdminCredentials
- type VectorDBBackups
- type VectorDBRestoreBackupResponse
- type VectorDBRestoreStatus
- type VectorDBs
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHumanReadableUnit ¶ added in v1.66.0
BytesToHumanReadableUnit converts byte input to a human-readable form using the largest notation possible in decimal base.
func BytesToHumanReadableUnitBinary ¶ added in v1.66.0
BytesToHumanReadableUnitBinary converts byte input to a human-readable form using the largest notation possible in binary base.
func DisplayText ¶ added in v1.32.2
DisplayText writes tabbed content to the passed in io.Writer while potentially adding or removing headers.
func FormatWebhookSecretNotice ¶ added in v1.170.0
FormatWebhookSecretNotice returns a one-time-secret warning for create/rotate.
func GetActivationFunctionName ¶ added in v1.85.0
func GetActivationFunctionName(a whisk.Activation) string
Gets the full function name for the activation.
func GetActivationPackageName ¶ added in v1.85.0
func GetActivationPackageName(a whisk.Activation) string
func GetActivationStatus ¶ added in v1.85.0
converts numeric status codes to typical string
Types ¶
type AccessKeys ¶ added in v1.152.0
type AccessKeys struct {
AccessKeys []do.AccessKey
ShowFullSecret bool // When true, shows full secret (for creation), otherwise truncates/hides
}
func (*AccessKeys) ColMap ¶ added in v1.152.0
func (ak *AccessKeys) ColMap() map[string]string
ColMap implements Displayable.
func (*AccessKeys) Cols ¶ added in v1.152.0
func (ak *AccessKeys) Cols() []string
Cols implements Displayable.
func (*AccessKeys) ForCreate ¶ added in v1.152.0
func (ak *AccessKeys) ForCreate() *AccessKeys
ForCreate returns a displayer optimized for showing newly created access keys This version shows the full secret since it's only displayed once
func (*AccessKeys) JSON ¶ added in v1.152.0
func (ak *AccessKeys) JSON(out io.Writer) error
JSON implements Displayable.
func (*AccessKeys) KV ¶ added in v1.152.0
func (ak *AccessKeys) KV() []map[string]any
KV implements Displayable.
type Activation ¶ added in v1.85.0
type Activation struct {
Activations []whisk.Activation
}
func (*Activation) ColMap ¶ added in v1.85.0
func (a *Activation) ColMap() map[string]string
ColMap implements Displayable
func (*Activation) Cols ¶ added in v1.85.0
func (a *Activation) Cols() []string
Cols implements Displayable
func (*Activation) JSON ¶ added in v1.85.0
func (a *Activation) JSON(out io.Writer) error
JSON implements Displayable
func (*Activation) KV ¶ added in v1.85.0
func (a *Activation) KV() []map[string]any
KV implements Displayable
type AdvancedMySQLConfiguration ¶ added in v1.166.0
type AdvancedMySQLConfiguration struct {
AdvancedMySQLConfig do.AdvancedMySQLConfig
}
func (*AdvancedMySQLConfiguration) ColMap ¶ added in v1.166.0
func (dc *AdvancedMySQLConfiguration) ColMap() map[string]string
func (*AdvancedMySQLConfiguration) Cols ¶ added in v1.166.0
func (dc *AdvancedMySQLConfiguration) Cols() []string
func (*AdvancedMySQLConfiguration) JSON ¶ added in v1.166.0
func (dc *AdvancedMySQLConfiguration) JSON(out io.Writer) error
func (*AdvancedMySQLConfiguration) KV ¶ added in v1.166.0
func (dc *AdvancedMySQLConfiguration) KV() []map[string]any
type AdvancedPostgresConfiguration ¶ added in v1.162.0
type AdvancedPostgresConfiguration struct {
AdvancedPostgresConfig do.AdvancedPostgresConfig
}
func (*AdvancedPostgresConfiguration) ColMap ¶ added in v1.162.0
func (dc *AdvancedPostgresConfiguration) ColMap() map[string]string
func (*AdvancedPostgresConfiguration) Cols ¶ added in v1.162.0
func (dc *AdvancedPostgresConfiguration) Cols() []string
func (*AdvancedPostgresConfiguration) JSON ¶ added in v1.162.0
func (dc *AdvancedPostgresConfiguration) JSON(out io.Writer) error
func (*AdvancedPostgresConfiguration) KV ¶ added in v1.162.0
func (dc *AdvancedPostgresConfiguration) KV() []map[string]any
type AlertPolicy ¶ added in v1.63.1
type AlertPolicy struct {
AlertPolicies do.AlertPolicies
}
func (*AlertPolicy) ColMap ¶ added in v1.63.1
func (a *AlertPolicy) ColMap() map[string]string
func (*AlertPolicy) Cols ¶ added in v1.63.1
func (a *AlertPolicy) Cols() []string
func (*AlertPolicy) KV ¶ added in v1.63.1
func (a *AlertPolicy) KV() []map[string]any
type AppInstanceSizes ¶ added in v1.50.0
type AppInstanceSizes []*godo.AppInstanceSize
func (AppInstanceSizes) ColMap ¶ added in v1.50.0
func (is AppInstanceSizes) ColMap() map[string]string
func (AppInstanceSizes) Cols ¶ added in v1.50.0
func (is AppInstanceSizes) Cols() []string
func (AppInstanceSizes) KV ¶ added in v1.50.0
func (is AppInstanceSizes) KV() []map[string]any
type AppInstances ¶ added in v1.127.0
type AppInstances []*godo.AppInstance
func (AppInstances) ColMap ¶ added in v1.127.0
func (a AppInstances) ColMap() map[string]string
func (AppInstances) Cols ¶ added in v1.127.0
func (a AppInstances) Cols() []string
func (AppInstances) KV ¶ added in v1.127.0
func (a AppInstances) KV() []map[string]any
type AppProposeResponse ¶ added in v1.59.0
type AppProposeResponse struct {
Res *godo.AppProposeResponse
}
func (AppProposeResponse) ColMap ¶ added in v1.59.0
func (r AppProposeResponse) ColMap() map[string]string
func (AppProposeResponse) Cols ¶ added in v1.59.0
func (r AppProposeResponse) Cols() []string
func (AppProposeResponse) JSON ¶ added in v1.59.0
func (r AppProposeResponse) JSON(w io.Writer) error
func (AppProposeResponse) KV ¶ added in v1.59.0
func (r AppProposeResponse) KV() []map[string]any
type AppRegions ¶ added in v1.50.0
func (AppRegions) ColMap ¶ added in v1.50.0
func (r AppRegions) ColMap() map[string]string
func (AppRegions) Cols ¶ added in v1.50.0
func (r AppRegions) Cols() []string
func (AppRegions) KV ¶ added in v1.50.0
func (r AppRegions) KV() []map[string]any
type BYOIPPrefix ¶ added in v1.132.0
type BYOIPPrefix struct {
BYOIPPrefixes do.BYOIPPrefixes
}
func (*BYOIPPrefix) ColMap ¶ added in v1.132.0
func (bp *BYOIPPrefix) ColMap() map[string]string
func (*BYOIPPrefix) Cols ¶ added in v1.132.0
func (bp *BYOIPPrefix) Cols() []string
func (*BYOIPPrefix) KV ¶ added in v1.132.0
func (bp *BYOIPPrefix) KV() []map[string]any
type BYOIPPrefixCreate ¶ added in v1.132.0
type BYOIPPrefixCreate struct {
do.BYOIPPrefixCreate
}
func (*BYOIPPrefixCreate) ColMap ¶ added in v1.132.0
func (bp *BYOIPPrefixCreate) ColMap() map[string]string
func (*BYOIPPrefixCreate) Cols ¶ added in v1.132.0
func (bp *BYOIPPrefixCreate) Cols() []string
func (*BYOIPPrefixCreate) JSON ¶ added in v1.132.0
func (bp *BYOIPPrefixCreate) JSON(out io.Writer) error
func (*BYOIPPrefixCreate) KV ¶ added in v1.132.0
func (bp *BYOIPPrefixCreate) KV() []map[string]any
type BYOIPPrefixResource ¶ added in v1.132.0
type BYOIPPrefixResource struct {
BYOIPPrefixResource do.BYOIPPrefixResources
}
func (*BYOIPPrefixResource) ColMap ¶ added in v1.132.0
func (bpr *BYOIPPrefixResource) ColMap() map[string]string
func (*BYOIPPrefixResource) Cols ¶ added in v1.132.0
func (bpr *BYOIPPrefixResource) Cols() []string
func (*BYOIPPrefixResource) JSON ¶ added in v1.132.0
func (bpr *BYOIPPrefixResource) JSON(out io.Writer) error
func (*BYOIPPrefixResource) KV ¶ added in v1.132.0
func (bpr *BYOIPPrefixResource) KV() []map[string]any
type BillingHistory ¶ added in v1.40.0
type BillingHistory struct {
*do.BillingHistory
}
func (*BillingHistory) ColMap ¶ added in v1.40.0
func (i *BillingHistory) ColMap() map[string]string
func (*BillingHistory) Cols ¶ added in v1.40.0
func (i *BillingHistory) Cols() []string
func (*BillingHistory) KV ¶ added in v1.40.0
func (i *BillingHistory) KV() []map[string]any
type Buildpacks ¶ added in v1.86.0
func (Buildpacks) ColMap ¶ added in v1.86.0
func (b Buildpacks) ColMap() map[string]string
func (Buildpacks) Cols ¶ added in v1.86.0
func (b Buildpacks) Cols() []string
func (Buildpacks) KV ¶ added in v1.86.0
func (b Buildpacks) KV() []map[string]any
type Certificate ¶
type Certificate struct {
Certificates do.Certificates
}
func (*Certificate) ColMap ¶
func (c *Certificate) ColMap() map[string]string
func (*Certificate) Cols ¶
func (c *Certificate) Cols() []string
func (*Certificate) KV ¶
func (c *Certificate) KV() []map[string]any
type DatabaseBackups ¶ added in v1.15.0
type DatabaseBackups struct {
DatabaseBackups do.DatabaseBackups
}
func (*DatabaseBackups) ColMap ¶ added in v1.15.0
func (db *DatabaseBackups) ColMap() map[string]string
func (*DatabaseBackups) Cols ¶ added in v1.15.0
func (db *DatabaseBackups) Cols() []string
func (*DatabaseBackups) JSON ¶ added in v1.15.0
func (db *DatabaseBackups) JSON(out io.Writer) error
func (*DatabaseBackups) KV ¶ added in v1.15.0
func (db *DatabaseBackups) KV() []map[string]any
type DatabaseCA ¶ added in v1.114.0
type DatabaseCA struct {
DatabaseCA do.DatabaseCA
}
func (*DatabaseCA) ColMap ¶ added in v1.114.0
func (dc *DatabaseCA) ColMap() map[string]string
func (*DatabaseCA) Cols ¶ added in v1.114.0
func (dc *DatabaseCA) Cols() []string
func (*DatabaseCA) KV ¶ added in v1.114.0
func (dc *DatabaseCA) KV() []map[string]any
type DatabaseConnection ¶ added in v1.15.0
type DatabaseConnection struct {
DatabaseConnection do.DatabaseConnection
}
func (*DatabaseConnection) ColMap ¶ added in v1.15.0
func (dc *DatabaseConnection) ColMap() map[string]string
func (*DatabaseConnection) Cols ¶ added in v1.15.0
func (dc *DatabaseConnection) Cols() []string
func (*DatabaseConnection) JSON ¶ added in v1.15.0
func (dc *DatabaseConnection) JSON(out io.Writer) error
func (*DatabaseConnection) KV ¶ added in v1.15.0
func (dc *DatabaseConnection) KV() []map[string]any
type DatabaseDBs ¶ added in v1.15.0
type DatabaseDBs struct {
DatabaseDBs do.DatabaseDBs
}
func (*DatabaseDBs) ColMap ¶ added in v1.15.0
func (db *DatabaseDBs) ColMap() map[string]string
func (*DatabaseDBs) Cols ¶ added in v1.15.0
func (db *DatabaseDBs) Cols() []string
func (*DatabaseDBs) KV ¶ added in v1.15.0
func (db *DatabaseDBs) KV() []map[string]any
type DatabaseEvents ¶ added in v1.106.0
type DatabaseEvents struct {
DatabaseEvents do.DatabaseEvents
}
func (*DatabaseEvents) ColMap ¶ added in v1.106.0
func (dr *DatabaseEvents) ColMap() map[string]string
func (*DatabaseEvents) Cols ¶ added in v1.106.0
func (dr *DatabaseEvents) Cols() []string
func (*DatabaseEvents) KV ¶ added in v1.106.0
func (dr *DatabaseEvents) KV() []map[string]any
type DatabaseFirewallRules ¶ added in v1.56.0
type DatabaseFirewallRules struct {
DatabaseFirewallRules do.DatabaseFirewallRules
}
func (*DatabaseFirewallRules) ColMap ¶ added in v1.56.0
func (dr *DatabaseFirewallRules) ColMap() map[string]string
func (*DatabaseFirewallRules) Cols ¶ added in v1.56.0
func (dr *DatabaseFirewallRules) Cols() []string
func (*DatabaseFirewallRules) JSON ¶ added in v1.56.0
func (dr *DatabaseFirewallRules) JSON(out io.Writer) error
func (*DatabaseFirewallRules) KV ¶ added in v1.56.0
func (dr *DatabaseFirewallRules) KV() []map[string]any
type DatabaseKafkaTopic ¶ added in v1.101.0
type DatabaseKafkaTopic struct {
DatabaseTopic do.DatabaseTopic
}
func (*DatabaseKafkaTopic) ColMap ¶ added in v1.101.0
func (dt *DatabaseKafkaTopic) ColMap() map[string]string
func (*DatabaseKafkaTopic) Cols ¶ added in v1.101.0
func (dt *DatabaseKafkaTopic) Cols() []string
func (*DatabaseKafkaTopic) JSON ¶ added in v1.101.0
func (dt *DatabaseKafkaTopic) JSON(out io.Writer) error
func (*DatabaseKafkaTopic) KV ¶ added in v1.101.0
func (dt *DatabaseKafkaTopic) KV() []map[string]any
type DatabaseKafkaTopicPartitions ¶ added in v1.101.0
type DatabaseKafkaTopicPartitions struct {
DatabaseTopicPartitions []*godo.TopicPartition
}
func (*DatabaseKafkaTopicPartitions) ColMap ¶ added in v1.101.0
func (dp *DatabaseKafkaTopicPartitions) ColMap() map[string]string
func (*DatabaseKafkaTopicPartitions) Cols ¶ added in v1.101.0
func (dp *DatabaseKafkaTopicPartitions) Cols() []string
func (*DatabaseKafkaTopicPartitions) JSON ¶ added in v1.101.0
func (dp *DatabaseKafkaTopicPartitions) JSON(out io.Writer) error
func (*DatabaseKafkaTopicPartitions) KV ¶ added in v1.101.0
func (dp *DatabaseKafkaTopicPartitions) KV() []map[string]any
type DatabaseKafkaTopics ¶ added in v1.101.0
type DatabaseKafkaTopics struct {
DatabaseTopics do.DatabaseTopics
}
func (*DatabaseKafkaTopics) ColMap ¶ added in v1.101.0
func (dt *DatabaseKafkaTopics) ColMap() map[string]string
func (*DatabaseKafkaTopics) Cols ¶ added in v1.101.0
func (dt *DatabaseKafkaTopics) Cols() []string
func (*DatabaseKafkaTopics) JSON ¶ added in v1.101.0
func (dt *DatabaseKafkaTopics) JSON(out io.Writer) error
func (*DatabaseKafkaTopics) KV ¶ added in v1.101.0
func (dt *DatabaseKafkaTopics) KV() []map[string]any
type DatabaseLayoutOptions ¶ added in v1.79.0
type DatabaseLayoutOptions struct {
Layouts []godo.DatabaseLayout
}
func (*DatabaseLayoutOptions) ColMap ¶ added in v1.79.0
func (dbl *DatabaseLayoutOptions) ColMap() map[string]string
func (*DatabaseLayoutOptions) Cols ¶ added in v1.79.0
func (dbl *DatabaseLayoutOptions) Cols() []string
func (*DatabaseLayoutOptions) JSON ¶ added in v1.79.0
func (dbl *DatabaseLayoutOptions) JSON(out io.Writer) error
func (*DatabaseLayoutOptions) KV ¶ added in v1.79.0
func (dbl *DatabaseLayoutOptions) KV() []map[string]any
type DatabaseMaintenanceWindow ¶ added in v1.15.0
type DatabaseMaintenanceWindow struct {
DatabaseMaintenanceWindow do.DatabaseMaintenanceWindow
}
func (*DatabaseMaintenanceWindow) ColMap ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) ColMap() map[string]string
func (*DatabaseMaintenanceWindow) Cols ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) Cols() []string
func (*DatabaseMaintenanceWindow) JSON ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) JSON(out io.Writer) error
func (*DatabaseMaintenanceWindow) KV ¶ added in v1.15.0
func (dmw *DatabaseMaintenanceWindow) KV() []map[string]any
type DatabaseOpenSearchIndexes ¶ added in v1.112.0
type DatabaseOpenSearchIndexes struct {
DatabaseIndexes do.DatabaseIndexes
}
func (*DatabaseOpenSearchIndexes) ColMap ¶ added in v1.112.0
func (dt *DatabaseOpenSearchIndexes) ColMap() map[string]string
func (*DatabaseOpenSearchIndexes) Cols ¶ added in v1.112.0
func (dt *DatabaseOpenSearchIndexes) Cols() []string
func (*DatabaseOpenSearchIndexes) JSON ¶ added in v1.112.0
func (dt *DatabaseOpenSearchIndexes) JSON(out io.Writer) error
func (*DatabaseOpenSearchIndexes) KV ¶ added in v1.112.0
func (dt *DatabaseOpenSearchIndexes) KV() []map[string]any
type DatabaseOptions ¶ added in v1.79.0
type DatabaseOptions struct {
DatabaseOptions do.DatabaseOptions
}
func (*DatabaseOptions) ColMap ¶ added in v1.79.0
func (do *DatabaseOptions) ColMap() map[string]string
func (*DatabaseOptions) Cols ¶ added in v1.79.0
func (do *DatabaseOptions) Cols() []string
func (*DatabaseOptions) JSON ¶ added in v1.79.0
func (do *DatabaseOptions) JSON(out io.Writer) error
func (*DatabaseOptions) KV ¶ added in v1.79.0
func (do *DatabaseOptions) KV() []map[string]any
type DatabasePools ¶ added in v1.15.0
type DatabasePools struct {
DatabasePools do.DatabasePools
}
func (*DatabasePools) ColMap ¶ added in v1.15.0
func (dp *DatabasePools) ColMap() map[string]string
func (*DatabasePools) Cols ¶ added in v1.15.0
func (dp *DatabasePools) Cols() []string
func (*DatabasePools) KV ¶ added in v1.15.0
func (dp *DatabasePools) KV() []map[string]any
type DatabaseRegionOptions ¶ added in v1.79.0
func (*DatabaseRegionOptions) ColMap ¶ added in v1.79.0
func (dbr *DatabaseRegionOptions) ColMap() map[string]string
func (*DatabaseRegionOptions) Cols ¶ added in v1.79.0
func (dbr *DatabaseRegionOptions) Cols() []string
func (*DatabaseRegionOptions) JSON ¶ added in v1.79.0
func (dbr *DatabaseRegionOptions) JSON(out io.Writer) error
func (*DatabaseRegionOptions) KV ¶ added in v1.79.0
func (dbr *DatabaseRegionOptions) KV() []map[string]any
type DatabaseReplicas ¶ added in v1.15.0
type DatabaseReplicas struct {
DatabaseReplicas do.DatabaseReplicas
Short bool
}
func (*DatabaseReplicas) ColMap ¶ added in v1.15.0
func (dr *DatabaseReplicas) ColMap() map[string]string
func (*DatabaseReplicas) Cols ¶ added in v1.15.0
func (dr *DatabaseReplicas) Cols() []string
func (*DatabaseReplicas) JSON ¶ added in v1.15.0
func (dr *DatabaseReplicas) JSON(out io.Writer) error
func (*DatabaseReplicas) KV ¶ added in v1.15.0
func (dr *DatabaseReplicas) KV() []map[string]any
type DatabaseSQLModes ¶ added in v1.35.0
type DatabaseSQLModes struct {
DatabaseSQLModes []string
}
func (*DatabaseSQLModes) ColMap ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) ColMap() map[string]string
func (*DatabaseSQLModes) Cols ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) Cols() []string
func (*DatabaseSQLModes) JSON ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) JSON(out io.Writer) error
func (*DatabaseSQLModes) KV ¶ added in v1.35.0
func (dsm *DatabaseSQLModes) KV() []map[string]any
type DatabaseStorageAutoscale ¶ added in v1.160.1
type DatabaseStorageAutoscale struct {
DatabaseStorageAutoscale do.DatabaseStorageAutoscale
}
func (*DatabaseStorageAutoscale) ColMap ¶ added in v1.160.1
func (dsa *DatabaseStorageAutoscale) ColMap() map[string]string
func (*DatabaseStorageAutoscale) Cols ¶ added in v1.160.1
func (dsa *DatabaseStorageAutoscale) Cols() []string
func (*DatabaseStorageAutoscale) JSON ¶ added in v1.160.1
func (dsa *DatabaseStorageAutoscale) JSON(out io.Writer) error
func (*DatabaseStorageAutoscale) KV ¶ added in v1.160.1
func (dsa *DatabaseStorageAutoscale) KV() []map[string]any
type DatabaseUsers ¶ added in v1.15.0
type DatabaseUsers struct {
DatabaseUsers do.DatabaseUsers
}
func (*DatabaseUsers) ColMap ¶ added in v1.15.0
func (du *DatabaseUsers) ColMap() map[string]string
func (*DatabaseUsers) Cols ¶ added in v1.15.0
func (du *DatabaseUsers) Cols() []string
func (*DatabaseUsers) KV ¶ added in v1.15.0
func (du *DatabaseUsers) KV() []map[string]any
type DatabaseVersionOptions ¶ added in v1.79.0
func (*DatabaseVersionOptions) ColMap ¶ added in v1.79.0
func (dbv *DatabaseVersionOptions) ColMap() map[string]string
func (*DatabaseVersionOptions) Cols ¶ added in v1.79.0
func (dbv *DatabaseVersionOptions) Cols() []string
func (*DatabaseVersionOptions) JSON ¶ added in v1.79.0
func (dbv *DatabaseVersionOptions) JSON(out io.Writer) error
func (*DatabaseVersionOptions) KV ¶ added in v1.79.0
func (dbv *DatabaseVersionOptions) KV() []map[string]any
type DatacenterRegion ¶ added in v1.139.0
type DatacenterRegion struct {
DatacenterRegions do.DatacenterRegions
}
func (*DatacenterRegion) ColMap ¶ added in v1.139.0
func (d *DatacenterRegion) ColMap() map[string]string
func (*DatacenterRegion) Cols ¶ added in v1.139.0
func (d *DatacenterRegion) Cols() []string
func (*DatacenterRegion) JSON ¶ added in v1.139.0
func (d *DatacenterRegion) JSON(out io.Writer) error
func (*DatacenterRegion) KV ¶ added in v1.139.0
func (d *DatacenterRegion) KV() []map[string]any
type DedicatedInference ¶ added in v1.153.0
type DedicatedInference struct {
DedicatedInferences do.DedicatedInferences
}
DedicatedInference wraps a slice of dedicated inference endpoints for display.
func (*DedicatedInference) ColMap ¶ added in v1.153.0
func (d *DedicatedInference) ColMap() map[string]string
func (*DedicatedInference) Cols ¶ added in v1.153.0
func (d *DedicatedInference) Cols() []string
func (*DedicatedInference) JSON ¶ added in v1.153.0
func (d *DedicatedInference) JSON(out io.Writer) error
func (*DedicatedInference) KV ¶ added in v1.153.0
func (d *DedicatedInference) KV() []map[string]any
type DedicatedInferenceAccelerator ¶ added in v1.153.0
type DedicatedInferenceAccelerator struct {
DedicatedInferenceAcceleratorInfos do.DedicatedInferenceAcceleratorInfos
}
DedicatedInferenceAccelerator wraps a slice of accelerator info for display.
func (*DedicatedInferenceAccelerator) ColMap ¶ added in v1.153.0
func (d *DedicatedInferenceAccelerator) ColMap() map[string]string
func (*DedicatedInferenceAccelerator) Cols ¶ added in v1.153.0
func (d *DedicatedInferenceAccelerator) Cols() []string
func (*DedicatedInferenceAccelerator) JSON ¶ added in v1.153.0
func (d *DedicatedInferenceAccelerator) JSON(out io.Writer) error
func (*DedicatedInferenceAccelerator) KV ¶ added in v1.153.0
func (d *DedicatedInferenceAccelerator) KV() []map[string]any
type DedicatedInferenceGPUModelConfigDisplayer ¶ added in v1.154.0
type DedicatedInferenceGPUModelConfigDisplayer struct {
DedicatedInferenceGPUModelConfigs do.DedicatedInferenceGPUModelConfigs
}
DedicatedInferenceGPUModelConfigDisplayer wraps a slice of GPU model configs for display.
func (*DedicatedInferenceGPUModelConfigDisplayer) ColMap ¶ added in v1.154.0
func (d *DedicatedInferenceGPUModelConfigDisplayer) ColMap() map[string]string
func (*DedicatedInferenceGPUModelConfigDisplayer) Cols ¶ added in v1.154.0
func (d *DedicatedInferenceGPUModelConfigDisplayer) Cols() []string
func (*DedicatedInferenceGPUModelConfigDisplayer) JSON ¶ added in v1.154.0
func (d *DedicatedInferenceGPUModelConfigDisplayer) JSON(out io.Writer) error
func (*DedicatedInferenceGPUModelConfigDisplayer) KV ¶ added in v1.154.0
func (d *DedicatedInferenceGPUModelConfigDisplayer) KV() []map[string]any
type DedicatedInferenceList ¶ added in v1.154.0
type DedicatedInferenceList struct {
DedicatedInferenceListItems do.DedicatedInferenceListItems
}
DedicatedInferenceList wraps a slice of dedicated inference list items for display.
func (*DedicatedInferenceList) ColMap ¶ added in v1.154.0
func (d *DedicatedInferenceList) ColMap() map[string]string
func (*DedicatedInferenceList) Cols ¶ added in v1.154.0
func (d *DedicatedInferenceList) Cols() []string
func (*DedicatedInferenceList) JSON ¶ added in v1.154.0
func (d *DedicatedInferenceList) JSON(out io.Writer) error
func (*DedicatedInferenceList) KV ¶ added in v1.154.0
func (d *DedicatedInferenceList) KV() []map[string]any
type DedicatedInferenceSizeDisplayer ¶ added in v1.154.0
type DedicatedInferenceSizeDisplayer struct {
DedicatedInferenceSizes do.DedicatedInferenceSizes
}
DedicatedInferenceSizeDisplayer wraps a slice of dedicated inference sizes for display.
func (*DedicatedInferenceSizeDisplayer) ColMap ¶ added in v1.154.0
func (d *DedicatedInferenceSizeDisplayer) ColMap() map[string]string
func (*DedicatedInferenceSizeDisplayer) Cols ¶ added in v1.154.0
func (d *DedicatedInferenceSizeDisplayer) Cols() []string
func (*DedicatedInferenceSizeDisplayer) JSON ¶ added in v1.154.0
func (d *DedicatedInferenceSizeDisplayer) JSON(out io.Writer) error
func (*DedicatedInferenceSizeDisplayer) KV ¶ added in v1.154.0
func (d *DedicatedInferenceSizeDisplayer) KV() []map[string]any
type DedicatedInferenceTokenDisplayer ¶ added in v1.154.0
type DedicatedInferenceTokenDisplayer struct {
DedicatedInferenceTokens []do.DedicatedInferenceToken
}
DedicatedInferenceTokenDisplayer wraps a slice of dedicated inference tokens for display.
func (*DedicatedInferenceTokenDisplayer) ColMap ¶ added in v1.154.0
func (d *DedicatedInferenceTokenDisplayer) ColMap() map[string]string
func (*DedicatedInferenceTokenDisplayer) Cols ¶ added in v1.154.0
func (d *DedicatedInferenceTokenDisplayer) Cols() []string
func (*DedicatedInferenceTokenDisplayer) JSON ¶ added in v1.154.0
func (d *DedicatedInferenceTokenDisplayer) JSON(out io.Writer) error
func (*DedicatedInferenceTokenDisplayer) KV ¶ added in v1.154.0
func (d *DedicatedInferenceTokenDisplayer) KV() []map[string]any
type Deployments ¶ added in v1.46.0
type Deployments []*godo.Deployment
func (Deployments) ColMap ¶ added in v1.46.0
func (d Deployments) ColMap() map[string]string
func (Deployments) Cols ¶ added in v1.46.0
func (d Deployments) Cols() []string
func (Deployments) KV ¶ added in v1.46.0
func (d Deployments) KV() []map[string]any
type Displayable ¶
type Displayable interface {
Cols() []string
ColMap() map[string]string
KV() []map[string]any
JSON(io.Writer) error
}
Displayable is a displayable entity. These are used for printing results.
type Displayer ¶
type Displayer struct {
OutputType string
ColumnList string
NoHeaders bool
Item Displayable
Out io.Writer
}
Displayer has the display options, the item to display, and where to display to
type DomainRecord ¶
type DomainRecord struct {
DomainRecords do.DomainRecords
Short bool
}
func (*DomainRecord) ColMap ¶
func (dr *DomainRecord) ColMap() map[string]string
func (*DomainRecord) Cols ¶
func (dr *DomainRecord) Cols() []string
func (*DomainRecord) KV ¶
func (dr *DomainRecord) KV() []map[string]any
type DropletAutoscaleHistoryEvents ¶ added in v1.118.0
type DropletAutoscaleHistoryEvents struct {
History []*godo.DropletAutoscaleHistoryEvent `json:"history"`
}
func (*DropletAutoscaleHistoryEvents) ColMap ¶ added in v1.118.0
func (d *DropletAutoscaleHistoryEvents) ColMap() map[string]string
func (*DropletAutoscaleHistoryEvents) Cols ¶ added in v1.118.0
func (d *DropletAutoscaleHistoryEvents) Cols() []string
func (*DropletAutoscaleHistoryEvents) JSON ¶ added in v1.118.0
func (d *DropletAutoscaleHistoryEvents) JSON(out io.Writer) error
func (*DropletAutoscaleHistoryEvents) KV ¶ added in v1.118.0
func (d *DropletAutoscaleHistoryEvents) KV() []map[string]any
type DropletAutoscalePools ¶ added in v1.118.0
type DropletAutoscalePools struct {
AutoscalePools []*godo.DropletAutoscalePool `json:"autoscale_pools"`
}
func (*DropletAutoscalePools) ColMap ¶ added in v1.118.0
func (d *DropletAutoscalePools) ColMap() map[string]string
func (*DropletAutoscalePools) Cols ¶ added in v1.118.0
func (d *DropletAutoscalePools) Cols() []string
func (*DropletAutoscalePools) JSON ¶ added in v1.118.0
func (d *DropletAutoscalePools) JSON(out io.Writer) error
func (*DropletAutoscalePools) KV ¶ added in v1.118.0
func (d *DropletAutoscalePools) KV() []map[string]any
type DropletAutoscaleResources ¶ added in v1.118.0
type DropletAutoscaleResources struct {
Droplets []*godo.DropletAutoscaleResource `json:"droplets"`
}
func (*DropletAutoscaleResources) ColMap ¶ added in v1.118.0
func (d *DropletAutoscaleResources) ColMap() map[string]string
func (*DropletAutoscaleResources) Cols ¶ added in v1.118.0
func (d *DropletAutoscaleResources) Cols() []string
func (*DropletAutoscaleResources) JSON ¶ added in v1.118.0
func (d *DropletAutoscaleResources) JSON(out io.Writer) error
func (*DropletAutoscaleResources) KV ¶ added in v1.118.0
func (d *DropletAutoscaleResources) KV() []map[string]any
type DropletBackupPolicy ¶ added in v1.118.0
type DropletBackupPolicy struct {
DropletBackupPolicies []do.DropletBackupPolicy
}
func (*DropletBackupPolicy) ColMap ¶ added in v1.118.0
func (d *DropletBackupPolicy) ColMap() map[string]string
func (*DropletBackupPolicy) Cols ¶ added in v1.118.0
func (d *DropletBackupPolicy) Cols() []string
func (*DropletBackupPolicy) JSON ¶ added in v1.118.0
func (d *DropletBackupPolicy) JSON(out io.Writer) error
func (*DropletBackupPolicy) KV ¶ added in v1.118.0
func (d *DropletBackupPolicy) KV() []map[string]any
type DropletSupportedBackupPolicy ¶ added in v1.118.0
type DropletSupportedBackupPolicy struct {
DropletSupportedBackupPolicies []do.DropletSupportedBackupPolicy
}
func (*DropletSupportedBackupPolicy) ColMap ¶ added in v1.118.0
func (d *DropletSupportedBackupPolicy) ColMap() map[string]string
func (*DropletSupportedBackupPolicy) Cols ¶ added in v1.118.0
func (d *DropletSupportedBackupPolicy) Cols() []string
func (*DropletSupportedBackupPolicy) JSON ¶ added in v1.118.0
func (d *DropletSupportedBackupPolicy) JSON(out io.Writer) error
func (*DropletSupportedBackupPolicy) KV ¶ added in v1.118.0
func (d *DropletSupportedBackupPolicy) KV() []map[string]any
type EvaluationDataset ¶ added in v1.178.0
type EvaluationDataset struct {
EvaluationDatasets do.EvaluationDatasets
}
EvaluationDataset displays evaluation datasets.
func (*EvaluationDataset) ColMap ¶ added in v1.178.0
func (v *EvaluationDataset) ColMap() map[string]string
func (*EvaluationDataset) Cols ¶ added in v1.178.0
func (v *EvaluationDataset) Cols() []string
func (*EvaluationDataset) JSON ¶ added in v1.178.0
func (v *EvaluationDataset) JSON(out io.Writer) error
func (*EvaluationDataset) KV ¶ added in v1.178.0
func (v *EvaluationDataset) KV() []map[string]any
type EvaluationDatasetCreate ¶ added in v1.178.0
type EvaluationDatasetCreate struct {
Create *do.EvaluationDatasetCreate
}
EvaluationDatasetCreate displays the UUID of a newly created evaluation dataset.
func (*EvaluationDatasetCreate) ColMap ¶ added in v1.178.0
func (v *EvaluationDatasetCreate) ColMap() map[string]string
func (*EvaluationDatasetCreate) Cols ¶ added in v1.178.0
func (v *EvaluationDatasetCreate) Cols() []string
func (*EvaluationDatasetCreate) JSON ¶ added in v1.178.0
func (v *EvaluationDatasetCreate) JSON(out io.Writer) error
func (*EvaluationDatasetCreate) KV ¶ added in v1.178.0
func (v *EvaluationDatasetCreate) KV() []map[string]any
type EvaluationMetric ¶ added in v1.178.0
type EvaluationMetric struct {
Metrics do.EvaluationMetrics
}
EvaluationMetric displays model evaluation metrics.
func (*EvaluationMetric) ColMap ¶ added in v1.178.0
func (v *EvaluationMetric) ColMap() map[string]string
func (*EvaluationMetric) Cols ¶ added in v1.178.0
func (v *EvaluationMetric) Cols() []string
func (*EvaluationMetric) JSON ¶ added in v1.178.0
func (v *EvaluationMetric) JSON(out io.Writer) error
func (*EvaluationMetric) KV ¶ added in v1.178.0
func (v *EvaluationMetric) KV() []map[string]any
type Functions ¶ added in v1.78.0
Functions is the type of the displayer for functions list
func (*Functions) ColMap ¶ added in v1.78.0
ColMap is the displayer ColMap method specialized for functions list
func (*Functions) Cols ¶ added in v1.78.0
Cols is the displayer Cols method specialized for functions list
type GarbageCollection ¶ added in v1.50.0
type GarbageCollection struct {
GarbageCollections []do.GarbageCollection
}
func (*GarbageCollection) ColMap ¶ added in v1.50.0
func (g *GarbageCollection) ColMap() map[string]string
func (*GarbageCollection) Cols ¶ added in v1.50.0
func (g *GarbageCollection) Cols() []string
func (*GarbageCollection) JSON ¶ added in v1.50.0
func (g *GarbageCollection) JSON(out io.Writer) error
func (*GarbageCollection) KV ¶ added in v1.50.0
func (g *GarbageCollection) KV() []map[string]any
type GenAIDownloadURL ¶ added in v1.168.0
type GenAIDownloadURL struct {
DownloadURL *do.GenAIDownloadURL
}
GenAIDownloadURL displays a presigned download URL for an evaluation file, such as a scenario set file or an episode trajectory.
func (*GenAIDownloadURL) ColMap ¶ added in v1.168.0
func (v *GenAIDownloadURL) ColMap() map[string]string
func (*GenAIDownloadURL) Cols ¶ added in v1.168.0
func (v *GenAIDownloadURL) Cols() []string
func (*GenAIDownloadURL) JSON ¶ added in v1.168.0
func (v *GenAIDownloadURL) JSON(out io.Writer) error
func (*GenAIDownloadURL) KV ¶ added in v1.168.0
func (v *GenAIDownloadURL) KV() []map[string]any
type HarnessPrepayBalance ¶ added in v1.170.0
type HarnessPrepayBalance struct {
Config *do.PrepaymentConfig
Status *do.PrepaymentStatus
// NoPermission records that the token lacks billing:read. It is a
// user-actionable state, not an error, so it is displayed rather than
// returned.
NoPermission bool
}
HarnessPrepayBalance renders the team's prepayment balance and gate state.
Config may be nil when the token could not read billing; the table then reports the gate state as unknown rather than implying a healthy zero.
func (*HarnessPrepayBalance) ColMap ¶ added in v1.170.0
func (b *HarnessPrepayBalance) ColMap() map[string]string
func (*HarnessPrepayBalance) Cols ¶ added in v1.170.0
func (b *HarnessPrepayBalance) Cols() []string
func (*HarnessPrepayBalance) JSON ¶ added in v1.170.0
func (b *HarnessPrepayBalance) JSON(out io.Writer) error
func (*HarnessPrepayBalance) KV ¶ added in v1.170.0
func (b *HarnessPrepayBalance) KV() []map[string]any
type HostedAgentCancel ¶ added in v1.177.0
type HostedAgentCancel struct {
SessionID string `json:"session_id"`
RunID string `json:"run_id,omitempty"`
Outcome string `json:"outcome"`
}
HostedAgentCancel renders the result of `doctl harness-runtime cancel`: the outcome and the turn it was aimed at, which the server resolves when no run id was given. RunID is empty when an unnamed cancel found nothing running.
func (*HostedAgentCancel) ColMap ¶ added in v1.177.0
func (h *HostedAgentCancel) ColMap() map[string]string
func (*HostedAgentCancel) Cols ¶ added in v1.177.0
func (h *HostedAgentCancel) Cols() []string
func (*HostedAgentCancel) JSON ¶ added in v1.177.0
func (h *HostedAgentCancel) JSON(out io.Writer) error
func (*HostedAgentCancel) KV ¶ added in v1.177.0
func (h *HostedAgentCancel) KV() []map[string]any
type HostedAgentCheckpoint ¶ added in v1.170.0
type HostedAgentCheckpoint struct {
Checkpoints []godo.HostedAgentCheckpoint
Single bool
}
HostedAgentCheckpoint wraps one or more session checkpoints for display.
func (*HostedAgentCheckpoint) ColMap ¶ added in v1.170.0
func (h *HostedAgentCheckpoint) ColMap() map[string]string
func (*HostedAgentCheckpoint) Cols ¶ added in v1.170.0
func (h *HostedAgentCheckpoint) Cols() []string
func (*HostedAgentCheckpoint) JSON ¶ added in v1.170.0
func (h *HostedAgentCheckpoint) JSON(out io.Writer) error
func (*HostedAgentCheckpoint) KV ¶ added in v1.170.0
func (h *HostedAgentCheckpoint) KV() []map[string]any
type HostedAgentConfig ¶ added in v1.170.0
type HostedAgentConfig struct {
Configs []godo.HostedAgentConfig
Single bool
}
HostedAgentConfig renders full Agent Configs, backing `doctl harness-runtime config get` and `... create`. Set Single=true so those verbs emit a bare JSON object; the list verb uses HostedAgentConfigSummary instead.
func (*HostedAgentConfig) ColMap ¶ added in v1.170.0
func (h *HostedAgentConfig) ColMap() map[string]string
func (*HostedAgentConfig) Cols ¶ added in v1.170.0
func (h *HostedAgentConfig) Cols() []string
func (*HostedAgentConfig) JSON ¶ added in v1.170.0
func (h *HostedAgentConfig) JSON(out io.Writer) error
func (*HostedAgentConfig) KV ¶ added in v1.170.0
func (h *HostedAgentConfig) KV() []map[string]any
type HostedAgentConfigSummary ¶ added in v1.170.0
type HostedAgentConfigSummary struct {
Configs []godo.HostedAgentConfigSummary
}
HostedAgentConfigSummary renders the list view of Agent Configs (no manifest or credential slots), backing `doctl harness-runtime config list`.
func (*HostedAgentConfigSummary) ColMap ¶ added in v1.170.0
func (h *HostedAgentConfigSummary) ColMap() map[string]string
func (*HostedAgentConfigSummary) Cols ¶ added in v1.170.0
func (h *HostedAgentConfigSummary) Cols() []string
func (*HostedAgentConfigSummary) JSON ¶ added in v1.170.0
func (h *HostedAgentConfigSummary) JSON(out io.Writer) error
func (*HostedAgentConfigSummary) KV ¶ added in v1.170.0
func (h *HostedAgentConfigSummary) KV() []map[string]any
type HostedAgentConnection ¶ added in v1.184.0
type HostedAgentConnection struct {
Connections []godo.HostedAgentConnection
Single bool
}
HostedAgentConnection renders external-provider connections for `doctl harness-runtime connections`. Actor leads the table because the actor is what a manifest secret slot binds to; no token is ever shown.
func (*HostedAgentConnection) ColMap ¶ added in v1.184.0
func (h *HostedAgentConnection) ColMap() map[string]string
func (*HostedAgentConnection) Cols ¶ added in v1.184.0
func (h *HostedAgentConnection) Cols() []string
func (*HostedAgentConnection) JSON ¶ added in v1.184.0
func (h *HostedAgentConnection) JSON(out io.Writer) error
func (*HostedAgentConnection) KV ¶ added in v1.184.0
func (h *HostedAgentConnection) KV() []map[string]any
type HostedAgentPrompt ¶ added in v1.170.0
type HostedAgentPrompt struct {
Prompts []*HostedAgentPromptResult
Single bool
}
HostedAgentPrompt renders the result of `doctl harness-runtime prompt`. Set Single=true so the verb emits a bare JSON object rather than a one-element array, matching the sandbox exec displayer.
func (*HostedAgentPrompt) ColMap ¶ added in v1.170.0
func (h *HostedAgentPrompt) ColMap() map[string]string
func (*HostedAgentPrompt) Cols ¶ added in v1.170.0
func (h *HostedAgentPrompt) Cols() []string
func (*HostedAgentPrompt) JSON ¶ added in v1.170.0
func (h *HostedAgentPrompt) JSON(out io.Writer) error
func (*HostedAgentPrompt) KV ¶ added in v1.170.0
func (h *HostedAgentPrompt) KV() []map[string]any
type HostedAgentPromptResult ¶ added in v1.170.0
type HostedAgentPromptResult struct {
SessionID string `json:"session_id"`
RunID string `json:"run_id"`
Text string `json:"text"`
Reasoning string `json:"reasoning,omitempty"`
Status string `json:"status"`
TotalTokensIn int64 `json:"total_tokens_in,omitempty"`
TotalTokensOut int64 `json:"total_tokens_out,omitempty"`
RunCostMicros int64 `json:"run_cost_micros,omitempty"`
Error string `json:"error,omitempty"`
}
HostedAgentPromptResult is one headless prompt run: the answer the agent produced, plus the accounting for the run that produced it. There is no godo type for this — it is assembled from the run's events rather than returned by a single call.
type HostedAgentReusableSession ¶ added in v1.170.0
type HostedAgentReusableSession struct {
Sessions []do.HostedAgentReusableSession
}
HostedAgentReusableSession wraps paused sessions for the reuse picker.
func (*HostedAgentReusableSession) ColMap ¶ added in v1.170.0
func (h *HostedAgentReusableSession) ColMap() map[string]string
func (*HostedAgentReusableSession) Cols ¶ added in v1.170.0
func (h *HostedAgentReusableSession) Cols() []string
func (*HostedAgentReusableSession) JSON ¶ added in v1.170.0
func (h *HostedAgentReusableSession) JSON(out io.Writer) error
func (*HostedAgentReusableSession) KV ¶ added in v1.170.0
func (h *HostedAgentReusableSession) KV() []map[string]any
type HostedAgentSandboxExec ¶ added in v1.170.0
type HostedAgentSandboxExec struct {
Execs []*godo.HostedAgentSandboxExecResponse
Single bool
}
HostedAgentSandboxExec renders the result of `doctl harness-runtime exec` under `-o json`, or under `--format`. By default the command passes the guest's stdout and stderr straight through instead, so it composes in a pipeline; only a caller who asked for a document or for columns gets these.
Single is always set by the exec verb (one command, one result), but the field is kept explicit rather than unwrapping on len==1, so the JSON container type never changes with the row count (MARSOHS-869/887).
func (*HostedAgentSandboxExec) ColMap ¶ added in v1.170.0
func (h *HostedAgentSandboxExec) ColMap() map[string]string
func (*HostedAgentSandboxExec) Cols ¶ added in v1.170.0
func (h *HostedAgentSandboxExec) Cols() []string
func (*HostedAgentSandboxExec) JSON ¶ added in v1.170.0
func (h *HostedAgentSandboxExec) JSON(out io.Writer) error
func (*HostedAgentSandboxExec) KV ¶ added in v1.170.0
func (h *HostedAgentSandboxExec) KV() []map[string]any
type HostedAgentSandboxSize ¶ added in v1.170.0
type HostedAgentSandboxSize struct {
Sizes []godo.HostedAgentSandboxSize
}
HostedAgentSandboxSize renders the sandbox size catalog for `doctl harness-runtime sizes list`.
func (*HostedAgentSandboxSize) ColMap ¶ added in v1.170.0
func (h *HostedAgentSandboxSize) ColMap() map[string]string
func (*HostedAgentSandboxSize) Cols ¶ added in v1.170.0
func (h *HostedAgentSandboxSize) Cols() []string
func (*HostedAgentSandboxSize) JSON ¶ added in v1.170.0
func (h *HostedAgentSandboxSize) JSON(out io.Writer) error
func (*HostedAgentSandboxSize) KV ¶ added in v1.170.0
func (h *HostedAgentSandboxSize) KV() []map[string]any
type HostedAgentSession ¶ added in v1.170.0
type HostedAgentSession struct {
Sessions []do.HostedAgentSession
Single bool
}
HostedAgentSession wraps one or more hosted-agent sessions for display. The same struct backs `doctl harness-runtime start`, `... show`, and `... list` — a slice of len 1 vs len N is the only difference between them. Set Single=true for get/create verbs so JSON output is a bare object; leave false (default) for list so JSON output is always an array.
func (*HostedAgentSession) ColMap ¶ added in v1.170.0
func (h *HostedAgentSession) ColMap() map[string]string
func (*HostedAgentSession) Cols ¶ added in v1.170.0
func (h *HostedAgentSession) Cols() []string
func (*HostedAgentSession) JSON ¶ added in v1.170.0
func (h *HostedAgentSession) JSON(out io.Writer) error
func (*HostedAgentSession) KV ¶ added in v1.170.0
func (h *HostedAgentSession) KV() []map[string]any
type HostedAgentTemplate ¶ added in v1.170.0
type HostedAgentTemplate struct {
Templates []godo.HostedAgentTemplate
Single bool
}
HostedAgentTemplate wraps team custom sandbox templates for display.
func (*HostedAgentTemplate) ColMap ¶ added in v1.170.0
func (h *HostedAgentTemplate) ColMap() map[string]string
func (*HostedAgentTemplate) Cols ¶ added in v1.170.0
func (h *HostedAgentTemplate) Cols() []string
func (*HostedAgentTemplate) JSON ¶ added in v1.170.0
func (h *HostedAgentTemplate) JSON(out io.Writer) error
func (*HostedAgentTemplate) KV ¶ added in v1.170.0
func (h *HostedAgentTemplate) KV() []map[string]any
type HostedAgentTemplateBuild ¶ added in v1.170.0
type HostedAgentTemplateBuild struct {
Builds []godo.HostedAgentTemplateBuild
Single bool
}
HostedAgentTemplateBuild wraps template build history for display.
func (*HostedAgentTemplateBuild) ColMap ¶ added in v1.170.0
func (h *HostedAgentTemplateBuild) ColMap() map[string]string
func (*HostedAgentTemplateBuild) Cols ¶ added in v1.170.0
func (h *HostedAgentTemplateBuild) Cols() []string
func (*HostedAgentTemplateBuild) JSON ¶ added in v1.170.0
func (h *HostedAgentTemplateBuild) JSON(out io.Writer) error
func (*HostedAgentTemplateBuild) KV ¶ added in v1.170.0
func (h *HostedAgentTemplateBuild) KV() []map[string]any
type HostedAgentTrigger ¶ added in v1.170.0
type HostedAgentTrigger struct {
Triggers []do.HostedAgentTrigger
Single bool
}
HostedAgentTrigger wraps one or more hosted-agent triggers for display. Set Single=true for get/create/update/status verbs so JSON output is a bare object; leave it false (default) for list verbs so JSON output is always an array regardless of row count.
func (*HostedAgentTrigger) ColMap ¶ added in v1.170.0
func (h *HostedAgentTrigger) ColMap() map[string]string
func (*HostedAgentTrigger) Cols ¶ added in v1.170.0
func (h *HostedAgentTrigger) Cols() []string
func (*HostedAgentTrigger) JSON ¶ added in v1.170.0
func (h *HostedAgentTrigger) JSON(out io.Writer) error
func (*HostedAgentTrigger) KV ¶ added in v1.170.0
func (h *HostedAgentTrigger) KV() []map[string]any
type HostedAgentTriggerExecution ¶ added in v1.170.0
type HostedAgentTriggerExecution struct {
Executions []do.HostedAgentTriggerExecution
Single bool
}
HostedAgentTriggerExecution wraps trigger execution rows for display. Set Single=true for get-execution so JSON output is a bare object; leave false (default) for list-executions so JSON output is always an array.
func (*HostedAgentTriggerExecution) ColMap ¶ added in v1.170.0
func (h *HostedAgentTriggerExecution) ColMap() map[string]string
func (*HostedAgentTriggerExecution) Cols ¶ added in v1.170.0
func (h *HostedAgentTriggerExecution) Cols() []string
func (*HostedAgentTriggerExecution) JSON ¶ added in v1.170.0
func (h *HostedAgentTriggerExecution) JSON(out io.Writer) error
func (*HostedAgentTriggerExecution) KV ¶ added in v1.170.0
func (h *HostedAgentTriggerExecution) KV() []map[string]any
type HostedAgentWebhookProvider ¶ added in v1.170.0
type HostedAgentWebhookProvider struct {
Providers []do.HostedAgentWebhookProvider
}
HostedAgentWebhookProvider wraps webhook provider registry entries.
func (*HostedAgentWebhookProvider) ColMap ¶ added in v1.170.0
func (h *HostedAgentWebhookProvider) ColMap() map[string]string
func (*HostedAgentWebhookProvider) Cols ¶ added in v1.170.0
func (h *HostedAgentWebhookProvider) Cols() []string
func (*HostedAgentWebhookProvider) JSON ¶ added in v1.170.0
func (h *HostedAgentWebhookProvider) JSON(out io.Writer) error
func (*HostedAgentWebhookProvider) KV ¶ added in v1.170.0
func (h *HostedAgentWebhookProvider) KV() []map[string]any
type HostedAgentWorkspaceEntry ¶ added in v1.170.0
type HostedAgentWorkspaceEntry struct {
Entries []HostedAgentWorkspaceEntryItem
}
HostedAgentWorkspaceEntry renders the listing produced by `doctl harness-runtime files ls`. Entries is the only field so an empty listing still emits `[]` under `-o json`.
func (*HostedAgentWorkspaceEntry) ColMap ¶ added in v1.170.0
func (h *HostedAgentWorkspaceEntry) ColMap() map[string]string
func (*HostedAgentWorkspaceEntry) Cols ¶ added in v1.170.0
func (h *HostedAgentWorkspaceEntry) Cols() []string
func (*HostedAgentWorkspaceEntry) JSON ¶ added in v1.170.0
func (h *HostedAgentWorkspaceEntry) JSON(out io.Writer) error
func (*HostedAgentWorkspaceEntry) KV ¶ added in v1.170.0
func (h *HostedAgentWorkspaceEntry) KV() []map[string]any
type HostedAgentWorkspaceEntryItem ¶ added in v1.170.0
type HostedAgentWorkspaceEntryItem struct {
// Type is a friendly label for the entry kind: dir, file, symlink, and so on.
Type string `json:"type"`
// SizeBytes is the entry's apparent size, as reported by the guest.
SizeBytes int64 `json:"size_bytes"`
// ModifiedAt is the entry's mtime.
ModifiedAt time.Time `json:"modified_at"`
// Path is the entry's path as the guest resolved it, ready to be passed
// back to `ls`, `cat`, `download`, or `exec --workdir`.
Path string `json:"path"`
}
HostedAgentWorkspaceEntryItem is one directory entry in a workspace listing. The listing is assembled client-side from a sandbox exec, so there is no godo wire type to wrap.
type HostedAgentWorkspaceFile ¶ added in v1.170.0
type HostedAgentWorkspaceFile struct {
Path string `json:"path"`
Content string `json:"content"`
SizeBytes int `json:"size_bytes"`
}
HostedAgentWorkspaceFile renders the result of `doctl harness-runtime files cat` under `-o json`, or under `--format`. By default the command writes the file's bytes straight through instead, so it composes in a pipeline.
func (*HostedAgentWorkspaceFile) ColMap ¶ added in v1.170.0
func (h *HostedAgentWorkspaceFile) ColMap() map[string]string
func (*HostedAgentWorkspaceFile) Cols ¶ added in v1.170.0
func (h *HostedAgentWorkspaceFile) Cols() []string
func (*HostedAgentWorkspaceFile) JSON ¶ added in v1.170.0
func (h *HostedAgentWorkspaceFile) JSON(out io.Writer) error
func (*HostedAgentWorkspaceFile) KV ¶ added in v1.170.0
func (h *HostedAgentWorkspaceFile) KV() []map[string]any
type HostedAgentWorkspaceUpload ¶ added in v1.170.0
type HostedAgentWorkspaceUpload struct {
Uploads []*godo.HostedAgentWorkspaceUploadResponse
Single bool
}
HostedAgentWorkspaceUpload renders the result of `doctl harness-runtime upload`. Upload is single-file-only today (Uploads always has exactly one element), so JSON() defaults to list semantics (always an array) like every other list-shaped displayer; set Single=true if a future bare-object verb needs it (see MARSOHS-869/887 — a bare len==1 unwrap silently changes the container type based on row count, breaking callers that range or count the result).
func (*HostedAgentWorkspaceUpload) ColMap ¶ added in v1.170.0
func (h *HostedAgentWorkspaceUpload) ColMap() map[string]string
func (*HostedAgentWorkspaceUpload) Cols ¶ added in v1.170.0
func (h *HostedAgentWorkspaceUpload) Cols() []string
func (*HostedAgentWorkspaceUpload) JSON ¶ added in v1.170.0
func (h *HostedAgentWorkspaceUpload) JSON(out io.Writer) error
func (*HostedAgentWorkspaceUpload) KV ¶ added in v1.170.0
func (h *HostedAgentWorkspaceUpload) KV() []map[string]any
type IndexingJob ¶ added in v1.147.0
type IndexingJob struct {
IndexingJobs do.IndexingJobs
}
IndexingJob displayer
func (*IndexingJob) ColMap ¶ added in v1.147.0
func (v *IndexingJob) ColMap() map[string]string
func (*IndexingJob) Cols ¶ added in v1.147.0
func (v *IndexingJob) Cols() []string
func (*IndexingJob) KV ¶ added in v1.147.0
func (v *IndexingJob) KV() []map[string]any
type IndexingJobDataSource ¶ added in v1.147.0
type IndexingJobDataSource struct {
IndexingJobDataSources do.IndexingJobDataSources
}
IndexingJobDataSource displayer
func (*IndexingJobDataSource) ColMap ¶ added in v1.147.0
func (v *IndexingJobDataSource) ColMap() map[string]string
func (*IndexingJobDataSource) Cols ¶ added in v1.147.0
func (v *IndexingJobDataSource) Cols() []string
func (*IndexingJobDataSource) JSON ¶ added in v1.147.0
func (v *IndexingJobDataSource) JSON(out io.Writer) error
func (*IndexingJobDataSource) KV ¶ added in v1.147.0
func (v *IndexingJobDataSource) KV() []map[string]any
type InvoiceList ¶ added in v1.39.0
type InvoiceList struct {
*do.InvoiceList
}
func (*InvoiceList) ColMap ¶ added in v1.39.0
func (i *InvoiceList) ColMap() map[string]string
func (*InvoiceList) Cols ¶ added in v1.39.0
func (i *InvoiceList) Cols() []string
func (*InvoiceList) KV ¶ added in v1.39.0
func (i *InvoiceList) KV() []map[string]any
type InvoiceSummary ¶ added in v1.39.0
type InvoiceSummary struct {
*do.InvoiceSummary
}
func (*InvoiceSummary) ColMap ¶ added in v1.39.0
func (i *InvoiceSummary) ColMap() map[string]string
func (*InvoiceSummary) Cols ¶ added in v1.39.0
func (i *InvoiceSummary) Cols() []string
func (*InvoiceSummary) KV ¶ added in v1.39.0
func (i *InvoiceSummary) KV() []map[string]any
type JobInvocations ¶ added in v1.146.0
type JobInvocations []*godo.JobInvocation
func (JobInvocations) ColMap ¶ added in v1.146.0
func (ji JobInvocations) ColMap() map[string]string
func (JobInvocations) Cols ¶ added in v1.146.0
func (ji JobInvocations) Cols() []string
func (JobInvocations) KV ¶ added in v1.146.0
func (ji JobInvocations) KV() []map[string]any
type KafkaConfiguration ¶ added in v1.115.0
type KafkaConfiguration struct {
KafkaConfig do.KafkaConfig
}
func (*KafkaConfiguration) ColMap ¶ added in v1.115.0
func (dc *KafkaConfiguration) ColMap() map[string]string
func (*KafkaConfiguration) Cols ¶ added in v1.115.0
func (dc *KafkaConfiguration) Cols() []string
func (*KafkaConfiguration) JSON ¶ added in v1.115.0
func (dc *KafkaConfiguration) JSON(out io.Writer) error
func (*KafkaConfiguration) KV ¶ added in v1.115.0
func (dc *KafkaConfiguration) KV() []map[string]any
type KeyGet ¶ added in v1.49.0
KeyGet is used to display the SSH Key results from a `get` operation. This separate displayer is required in order to include the public key in this operation.
type KnowledgeBase ¶ added in v1.133.0
type KnowledgeBase struct {
KnowledgeBases do.KnowledgeBases
}
func (*KnowledgeBase) ColMap ¶ added in v1.133.0
func (v *KnowledgeBase) ColMap() map[string]string
func (*KnowledgeBase) Cols ¶ added in v1.133.0
func (v *KnowledgeBase) Cols() []string
func (*KnowledgeBase) KV ¶ added in v1.133.0
func (v *KnowledgeBase) KV() []map[string]any
type KnowledgeBaseDataSource ¶ added in v1.133.0
type KnowledgeBaseDataSource struct {
KnowledgeBaseDataSources do.KnowledgeBaseDataSources
}
func (*KnowledgeBaseDataSource) ColMap ¶ added in v1.133.0
func (v *KnowledgeBaseDataSource) ColMap() map[string]string
func (*KnowledgeBaseDataSource) Cols ¶ added in v1.133.0
func (v *KnowledgeBaseDataSource) Cols() []string
func (*KnowledgeBaseDataSource) JSON ¶ added in v1.133.0
func (v *KnowledgeBaseDataSource) JSON(out io.Writer) error
func (*KnowledgeBaseDataSource) KV ¶ added in v1.133.0
func (v *KnowledgeBaseDataSource) KV() []map[string]any
type KubernetesAssociatedResources ¶ added in v1.56.0
type KubernetesAssociatedResources struct {
KubernetesAssociatedResources *do.KubernetesAssociatedResources
}
func (*KubernetesAssociatedResources) ColMap ¶ added in v1.56.0
func (ar *KubernetesAssociatedResources) ColMap() map[string]string
func (*KubernetesAssociatedResources) Cols ¶ added in v1.56.0
func (ar *KubernetesAssociatedResources) Cols() []string
func (*KubernetesAssociatedResources) JSON ¶ added in v1.56.0
func (ar *KubernetesAssociatedResources) JSON(out io.Writer) error
func (*KubernetesAssociatedResources) KV ¶ added in v1.56.0
func (ar *KubernetesAssociatedResources) KV() []map[string]any
type KubernetesClusters ¶ added in v1.12.0
type KubernetesClusters struct {
KubernetesClusters do.KubernetesClusters
Short bool
}
func (*KubernetesClusters) ColMap ¶ added in v1.12.0
func (clusters *KubernetesClusters) ColMap() map[string]string
func (*KubernetesClusters) Cols ¶ added in v1.12.0
func (clusters *KubernetesClusters) Cols() []string
func (*KubernetesClusters) JSON ¶ added in v1.12.0
func (clusters *KubernetesClusters) JSON(out io.Writer) error
func (*KubernetesClusters) KV ¶ added in v1.12.0
func (clusters *KubernetesClusters) KV() []map[string]any
type KubernetesNodePools ¶ added in v1.12.0
type KubernetesNodePools struct {
KubernetesNodePools do.KubernetesNodePools
}
func (*KubernetesNodePools) ColMap ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) ColMap() map[string]string
func (*KubernetesNodePools) Cols ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) Cols() []string
func (*KubernetesNodePools) JSON ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) JSON(out io.Writer) error
func (*KubernetesNodePools) KV ¶ added in v1.12.0
func (nodePools *KubernetesNodePools) KV() []map[string]any
type KubernetesNodeSizes ¶ added in v1.12.1
type KubernetesNodeSizes struct {
KubernetesNodeSizes do.KubernetesNodeSizes
}
func (*KubernetesNodeSizes) ColMap ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) ColMap() map[string]string
func (*KubernetesNodeSizes) Cols ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) Cols() []string
func (*KubernetesNodeSizes) JSON ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) JSON(out io.Writer) error
func (*KubernetesNodeSizes) KV ¶ added in v1.12.1
func (nodeSizes *KubernetesNodeSizes) KV() []map[string]any
type KubernetesRegions ¶ added in v1.12.1
type KubernetesRegions struct {
KubernetesRegions do.KubernetesRegions
}
func (*KubernetesRegions) ColMap ¶ added in v1.12.1
func (regions *KubernetesRegions) ColMap() map[string]string
func (*KubernetesRegions) Cols ¶ added in v1.12.1
func (regions *KubernetesRegions) Cols() []string
func (*KubernetesRegions) JSON ¶ added in v1.12.1
func (regions *KubernetesRegions) JSON(out io.Writer) error
func (*KubernetesRegions) KV ¶ added in v1.12.1
func (regions *KubernetesRegions) KV() []map[string]any
type KubernetesVersions ¶ added in v1.12.0
type KubernetesVersions struct {
KubernetesVersions do.KubernetesVersions
}
func (*KubernetesVersions) ColMap ¶ added in v1.12.0
func (versions *KubernetesVersions) ColMap() map[string]string
func (*KubernetesVersions) Cols ¶ added in v1.12.0
func (versions *KubernetesVersions) Cols() []string
func (*KubernetesVersions) JSON ¶ added in v1.12.0
func (versions *KubernetesVersions) JSON(out io.Writer) error
func (*KubernetesVersions) KV ¶ added in v1.12.0
func (versions *KubernetesVersions) KV() []map[string]any
type LoadBalancer ¶
type LoadBalancer struct {
LoadBalancers do.LoadBalancers
}
func (*LoadBalancer) ColMap ¶
func (lb *LoadBalancer) ColMap() map[string]string
func (*LoadBalancer) Cols ¶
func (lb *LoadBalancer) Cols() []string
func (*LoadBalancer) KV ¶
func (lb *LoadBalancer) KV() []map[string]any
type MicroVMCheckpoint ¶ added in v1.173.0
type MicroVMCheckpoint struct {
Checkpoints do.MicroVMCheckpoints
}
func (*MicroVMCheckpoint) ColMap ¶ added in v1.173.0
func (c *MicroVMCheckpoint) ColMap() map[string]string
func (*MicroVMCheckpoint) Cols ¶ added in v1.173.0
func (c *MicroVMCheckpoint) Cols() []string
func (*MicroVMCheckpoint) JSON ¶ added in v1.173.0
func (c *MicroVMCheckpoint) JSON(out io.Writer) error
func (*MicroVMCheckpoint) KV ¶ added in v1.173.0
func (c *MicroVMCheckpoint) KV() []map[string]any
type MicroVMCreateOptions ¶ added in v1.173.0
type MicroVMCreateOptions struct {
Options *godo.MicroVMCreateOptions
}
func (*MicroVMCreateOptions) ColMap ¶ added in v1.173.0
func (o *MicroVMCreateOptions) ColMap() map[string]string
func (*MicroVMCreateOptions) Cols ¶ added in v1.173.0
func (o *MicroVMCreateOptions) Cols() []string
func (*MicroVMCreateOptions) JSON ¶ added in v1.173.0
func (o *MicroVMCreateOptions) JSON(out io.Writer) error
func (*MicroVMCreateOptions) KV ¶ added in v1.173.0
func (o *MicroVMCreateOptions) KV() []map[string]any
type ModelEvaluationPreset ¶ added in v1.178.0
type ModelEvaluationPreset struct {
Presets do.ModelEvaluationPresets
}
ModelEvaluationPreset displays saved model evaluation presets.
func (*ModelEvaluationPreset) ColMap ¶ added in v1.178.0
func (v *ModelEvaluationPreset) ColMap() map[string]string
func (*ModelEvaluationPreset) Cols ¶ added in v1.178.0
func (v *ModelEvaluationPreset) Cols() []string
func (*ModelEvaluationPreset) JSON ¶ added in v1.178.0
func (v *ModelEvaluationPreset) JSON(out io.Writer) error
func (*ModelEvaluationPreset) KV ¶ added in v1.178.0
func (v *ModelEvaluationPreset) KV() []map[string]any
type ModelEvaluationRun ¶ added in v1.178.0
type ModelEvaluationRun struct {
ModelEvaluationRuns do.ModelEvaluationRuns
}
ModelEvaluationRun displays model evaluation run summaries.
func (*ModelEvaluationRun) ColMap ¶ added in v1.178.0
func (v *ModelEvaluationRun) ColMap() map[string]string
func (*ModelEvaluationRun) Cols ¶ added in v1.178.0
func (v *ModelEvaluationRun) Cols() []string
func (*ModelEvaluationRun) JSON ¶ added in v1.178.0
func (v *ModelEvaluationRun) JSON(out io.Writer) error
func (*ModelEvaluationRun) KV ¶ added in v1.178.0
func (v *ModelEvaluationRun) KV() []map[string]any
type ModelEvaluationRunCreate ¶ added in v1.178.0
type ModelEvaluationRunCreate struct {
Create *do.ModelEvaluationRunCreate
}
ModelEvaluationRunCreate displays the UUID of a newly created evaluation run.
func (*ModelEvaluationRunCreate) ColMap ¶ added in v1.178.0
func (v *ModelEvaluationRunCreate) ColMap() map[string]string
func (*ModelEvaluationRunCreate) Cols ¶ added in v1.178.0
func (v *ModelEvaluationRunCreate) Cols() []string
func (*ModelEvaluationRunCreate) JSON ¶ added in v1.178.0
func (v *ModelEvaluationRunCreate) JSON(out io.Writer) error
func (*ModelEvaluationRunCreate) KV ¶ added in v1.178.0
func (v *ModelEvaluationRunCreate) KV() []map[string]any
type ModelEvaluationRunDetail ¶ added in v1.178.0
type ModelEvaluationRunDetail struct {
Detail *do.ModelEvaluationRunDetail
}
ModelEvaluationRunDetail displays a model evaluation run with status, overall score, and progress. Per-prompt results are only included in the JSON output.
func (*ModelEvaluationRunDetail) ColMap ¶ added in v1.178.0
func (v *ModelEvaluationRunDetail) ColMap() map[string]string
func (*ModelEvaluationRunDetail) Cols ¶ added in v1.178.0
func (v *ModelEvaluationRunDetail) Cols() []string
func (*ModelEvaluationRunDetail) JSON ¶ added in v1.178.0
func (v *ModelEvaluationRunDetail) JSON(out io.Writer) error
func (*ModelEvaluationRunDetail) KV ¶ added in v1.178.0
func (v *ModelEvaluationRunDetail) KV() []map[string]any
type MongoDBConfiguration ¶ added in v1.115.0
type MongoDBConfiguration struct {
MongoDBConfig do.MongoDBConfig
}
func (*MongoDBConfiguration) ColMap ¶ added in v1.115.0
func (dc *MongoDBConfiguration) ColMap() map[string]string
func (*MongoDBConfiguration) Cols ¶ added in v1.115.0
func (dc *MongoDBConfiguration) Cols() []string
func (*MongoDBConfiguration) JSON ¶ added in v1.115.0
func (dc *MongoDBConfiguration) JSON(out io.Writer) error
func (*MongoDBConfiguration) KV ¶ added in v1.115.0
func (dc *MongoDBConfiguration) KV() []map[string]any
type MySQLConfiguration ¶ added in v1.100.0
type MySQLConfiguration struct {
MySQLConfiguration do.MySQLConfig
}
func (*MySQLConfiguration) ColMap ¶ added in v1.100.0
func (dc *MySQLConfiguration) ColMap() map[string]string
func (*MySQLConfiguration) Cols ¶ added in v1.100.0
func (dc *MySQLConfiguration) Cols() []string
func (*MySQLConfiguration) JSON ¶ added in v1.100.0
func (dc *MySQLConfiguration) JSON(out io.Writer) error
func (*MySQLConfiguration) KV ¶ added in v1.100.0
func (dc *MySQLConfiguration) KV() []map[string]any
type Namespaces ¶ added in v1.80.0
type Namespaces struct {
Info []do.OutputNamespace
}
Namespaces is the type of the displayer for namespaces list
func (*Namespaces) ColMap ¶ added in v1.80.0
func (i *Namespaces) ColMap() map[string]string
ColMap is the displayer ColMap method specialized for namespaces list
func (*Namespaces) Cols ¶ added in v1.80.0
func (i *Namespaces) Cols() []string
Cols is the displayer Cols method specialized for namespaces list
func (*Namespaces) JSON ¶ added in v1.80.0
func (i *Namespaces) JSON(out io.Writer) error
JSON is the displayer JSON method specialized for namespaces list
func (*Namespaces) KV ¶ added in v1.80.0
func (i *Namespaces) KV() []map[string]any
KV is the displayer KV method specialized for namespaces list
type NfsAccessPoint ¶ added in v1.164.0
type NfsAccessPoint struct {
NfsAccessPoints []do.NfsAccessPoint
}
func (*NfsAccessPoint) ColMap ¶ added in v1.164.0
func (n *NfsAccessPoint) ColMap() map[string]string
func (*NfsAccessPoint) Cols ¶ added in v1.164.0
func (n *NfsAccessPoint) Cols() []string
func (*NfsAccessPoint) KV ¶ added in v1.164.0
func (n *NfsAccessPoint) KV() []map[string]any
type NfsSnapshot ¶ added in v1.146.0
type NfsSnapshot struct {
NfsSnapshots []do.NfsSnapshot
}
func (*NfsSnapshot) ColMap ¶ added in v1.146.0
func (n *NfsSnapshot) ColMap() map[string]string
func (*NfsSnapshot) Cols ¶ added in v1.146.0
func (n *NfsSnapshot) Cols() []string
func (*NfsSnapshot) KV ¶ added in v1.146.0
func (n *NfsSnapshot) KV() []map[string]any
type OneClick ¶ added in v1.44.0
OneClick is the struct with the OneClickService on it.
type OpenAiApiKey ¶ added in v1.136.0
type OpenAiApiKey struct {
OpenAiApiKeys do.OpenAiApiKeys
}
func (*OpenAiApiKey) ColMap ¶ added in v1.136.0
func (o *OpenAiApiKey) ColMap() map[string]string
func (*OpenAiApiKey) Cols ¶ added in v1.136.0
func (o *OpenAiApiKey) Cols() []string
func (*OpenAiApiKey) KV ¶ added in v1.136.0
func (o *OpenAiApiKey) KV() []map[string]any
type OpensearchConfiguration ¶ added in v1.116.0
type OpensearchConfiguration struct {
OpensearchConfig do.OpensearchConfig
}
func (*OpensearchConfiguration) ColMap ¶ added in v1.116.0
func (dc *OpensearchConfiguration) ColMap() map[string]string
func (*OpensearchConfiguration) Cols ¶ added in v1.116.0
func (dc *OpensearchConfiguration) Cols() []string
func (*OpensearchConfiguration) JSON ¶ added in v1.116.0
func (dc *OpensearchConfiguration) JSON(out io.Writer) error
func (*OpensearchConfiguration) KV ¶ added in v1.116.0
func (dc *OpensearchConfiguration) KV() []map[string]any
type PartnerAttachment ¶ added in v1.125.0
type PartnerAttachment struct {
PartnerAttachments do.PartnerAttachments
}
func (*PartnerAttachment) ColMap ¶ added in v1.125.0
func (v *PartnerAttachment) ColMap() map[string]string
func (*PartnerAttachment) Cols ¶ added in v1.125.0
func (v *PartnerAttachment) Cols() []string
func (*PartnerAttachment) JSON ¶ added in v1.125.0
func (v *PartnerAttachment) JSON(out io.Writer) error
func (*PartnerAttachment) KV ¶ added in v1.125.0
func (v *PartnerAttachment) KV() []map[string]any
type PartnerAttachmentBgpAuthKey ¶ added in v1.125.0
type PartnerAttachmentBgpAuthKey struct {
Key do.PartnerAttachmentBGPAuthKey
}
func (*PartnerAttachmentBgpAuthKey) ColMap ¶ added in v1.125.0
func (v *PartnerAttachmentBgpAuthKey) ColMap() map[string]string
func (*PartnerAttachmentBgpAuthKey) Cols ¶ added in v1.125.0
func (v *PartnerAttachmentBgpAuthKey) Cols() []string
func (*PartnerAttachmentBgpAuthKey) JSON ¶ added in v1.125.0
func (v *PartnerAttachmentBgpAuthKey) JSON(out io.Writer) error
func (*PartnerAttachmentBgpAuthKey) KV ¶ added in v1.125.0
func (v *PartnerAttachmentBgpAuthKey) KV() []map[string]any
type PartnerAttachmentRegenerateServiceKey ¶ added in v1.125.0
type PartnerAttachmentRegenerateServiceKey struct {
RegenerateKey do.PartnerAttachmentRegenerateServiceKey
}
func (*PartnerAttachmentRegenerateServiceKey) ColMap ¶ added in v1.125.0
func (v *PartnerAttachmentRegenerateServiceKey) ColMap() map[string]string
func (*PartnerAttachmentRegenerateServiceKey) Cols ¶ added in v1.125.0
func (v *PartnerAttachmentRegenerateServiceKey) Cols() []string
func (*PartnerAttachmentRegenerateServiceKey) JSON ¶ added in v1.125.0
func (v *PartnerAttachmentRegenerateServiceKey) JSON(out io.Writer) error
func (*PartnerAttachmentRegenerateServiceKey) KV ¶ added in v1.125.0
func (v *PartnerAttachmentRegenerateServiceKey) KV() []map[string]any
type PartnerAttachmentRoute ¶ added in v1.125.0
type PartnerAttachmentRoute struct {
PartnerAttachmentRoutes do.PartnerAttachmentRoutes
}
func (*PartnerAttachmentRoute) ColMap ¶ added in v1.125.0
func (v *PartnerAttachmentRoute) ColMap() map[string]string
func (*PartnerAttachmentRoute) Cols ¶ added in v1.125.0
func (v *PartnerAttachmentRoute) Cols() []string
func (*PartnerAttachmentRoute) JSON ¶ added in v1.125.0
func (v *PartnerAttachmentRoute) JSON(out io.Writer) error
func (*PartnerAttachmentRoute) KV ¶ added in v1.125.0
func (v *PartnerAttachmentRoute) KV() []map[string]any
type PartnerAttachmentServiceKey ¶ added in v1.125.0
type PartnerAttachmentServiceKey struct {
Key do.PartnerAttachmentServiceKey
}
func (*PartnerAttachmentServiceKey) ColMap ¶ added in v1.125.0
func (v *PartnerAttachmentServiceKey) ColMap() map[string]string
func (*PartnerAttachmentServiceKey) Cols ¶ added in v1.125.0
func (v *PartnerAttachmentServiceKey) Cols() []string
func (*PartnerAttachmentServiceKey) JSON ¶ added in v1.125.0
func (v *PartnerAttachmentServiceKey) JSON(out io.Writer) error
func (*PartnerAttachmentServiceKey) KV ¶ added in v1.125.0
func (v *PartnerAttachmentServiceKey) KV() []map[string]any
type PostgreSQLConfiguration ¶ added in v1.100.0
type PostgreSQLConfiguration struct {
PostgreSQLConfig do.PostgreSQLConfig
}
func (*PostgreSQLConfiguration) ColMap ¶ added in v1.100.0
func (dc *PostgreSQLConfiguration) ColMap() map[string]string
func (*PostgreSQLConfiguration) Cols ¶ added in v1.100.0
func (dc *PostgreSQLConfiguration) Cols() []string
func (*PostgreSQLConfiguration) JSON ¶ added in v1.100.0
func (dc *PostgreSQLConfiguration) JSON(out io.Writer) error
func (*PostgreSQLConfiguration) KV ¶ added in v1.100.0
func (dc *PostgreSQLConfiguration) KV() []map[string]any
type PrepaymentConfig ¶ added in v1.169.0
type PrepaymentConfig struct {
*do.PrepaymentConfigResponse
}
func (*PrepaymentConfig) ColMap ¶ added in v1.169.0
func (p *PrepaymentConfig) ColMap() map[string]string
func (*PrepaymentConfig) Cols ¶ added in v1.169.0
func (p *PrepaymentConfig) Cols() []string
func (*PrepaymentConfig) JSON ¶ added in v1.169.0
func (p *PrepaymentConfig) JSON(out io.Writer) error
func (*PrepaymentConfig) KV ¶ added in v1.169.0
func (p *PrepaymentConfig) KV() []map[string]any
type PrepaymentStatus ¶ added in v1.169.0
type PrepaymentStatus struct {
*do.PrepaymentStatusResponse
}
func (*PrepaymentStatus) ColMap ¶ added in v1.169.0
func (p *PrepaymentStatus) ColMap() map[string]string
func (*PrepaymentStatus) Cols ¶ added in v1.169.0
func (p *PrepaymentStatus) Cols() []string
func (*PrepaymentStatus) JSON ¶ added in v1.169.0
func (p *PrepaymentStatus) JSON(out io.Writer) error
func (*PrepaymentStatus) KV ¶ added in v1.169.0
func (p *PrepaymentStatus) KV() []map[string]any
type ProjectResource ¶
type ProjectResource struct {
ProjectResources do.ProjectResources
}
func (*ProjectResource) ColMap ¶
func (p *ProjectResource) ColMap() map[string]string
func (*ProjectResource) Cols ¶
func (p *ProjectResource) Cols() []string
func (*ProjectResource) KV ¶
func (p *ProjectResource) KV() []map[string]any
type RedisConfiguration ¶ added in v1.100.0
type RedisConfiguration struct {
RedisConfig do.RedisConfig
}
func (*RedisConfiguration) ColMap ¶ added in v1.100.0
func (dc *RedisConfiguration) ColMap() map[string]string
func (*RedisConfiguration) Cols ¶ added in v1.100.0
func (dc *RedisConfiguration) Cols() []string
func (*RedisConfiguration) JSON ¶ added in v1.100.0
func (dc *RedisConfiguration) JSON(out io.Writer) error
func (*RedisConfiguration) KV ¶ added in v1.100.0
func (dc *RedisConfiguration) KV() []map[string]any
type RegistryAvailableRegions ¶ added in v1.71.0
type RegistryAvailableRegions struct {
Regions []string
}
func (*RegistryAvailableRegions) ColMap ¶ added in v1.71.0
func (t *RegistryAvailableRegions) ColMap() map[string]string
func (*RegistryAvailableRegions) Cols ¶ added in v1.71.0
func (t *RegistryAvailableRegions) Cols() []string
func (*RegistryAvailableRegions) JSON ¶ added in v1.71.0
func (t *RegistryAvailableRegions) JSON(out io.Writer) error
func (*RegistryAvailableRegions) KV ¶ added in v1.71.0
func (t *RegistryAvailableRegions) KV() []map[string]any
type RegistryOptions ¶ added in v1.142.0
type RegistryOptions struct {
Options *godo.RegistryOptions
}
func (*RegistryOptions) ColMap ¶ added in v1.142.0
func (r *RegistryOptions) ColMap() map[string]string
func (*RegistryOptions) Cols ¶ added in v1.142.0
func (r *RegistryOptions) Cols() []string
func (*RegistryOptions) JSON ¶ added in v1.142.0
func (r *RegistryOptions) JSON(out io.Writer) error
func (*RegistryOptions) KV ¶ added in v1.142.0
func (r *RegistryOptions) KV() []map[string]any
type RegistrySubscriptionTiers ¶ added in v1.51.0
type RegistrySubscriptionTiers struct {
SubscriptionTiers []do.RegistrySubscriptionTier
}
func (*RegistrySubscriptionTiers) ColMap ¶ added in v1.51.0
func (t *RegistrySubscriptionTiers) ColMap() map[string]string
func (*RegistrySubscriptionTiers) Cols ¶ added in v1.51.0
func (t *RegistrySubscriptionTiers) Cols() []string
func (*RegistrySubscriptionTiers) JSON ¶ added in v1.51.0
func (t *RegistrySubscriptionTiers) JSON(out io.Writer) error
func (*RegistrySubscriptionTiers) KV ¶ added in v1.51.0
func (t *RegistrySubscriptionTiers) KV() []map[string]any
type Repository ¶ added in v1.42.0
type Repository struct {
Repositories []do.Repository
}
func (*Repository) ColMap ¶ added in v1.42.0
func (r *Repository) ColMap() map[string]string
func (*Repository) Cols ¶ added in v1.42.0
func (r *Repository) Cols() []string
func (*Repository) KV ¶ added in v1.42.0
func (r *Repository) KV() []map[string]any
type RepositoryManifest ¶ added in v1.68.0
type RepositoryManifest struct {
Manifests []do.RepositoryManifest
}
func (*RepositoryManifest) ColMap ¶ added in v1.68.0
func (r *RepositoryManifest) ColMap() map[string]string
func (*RepositoryManifest) Cols ¶ added in v1.68.0
func (r *RepositoryManifest) Cols() []string
func (*RepositoryManifest) JSON ¶ added in v1.68.0
func (r *RepositoryManifest) JSON(out io.Writer) error
func (*RepositoryManifest) KV ¶ added in v1.68.0
func (r *RepositoryManifest) KV() []map[string]any
type RepositoryTag ¶ added in v1.42.0
type RepositoryTag struct {
Tags []do.RepositoryTag
}
func (*RepositoryTag) ColMap ¶ added in v1.42.0
func (r *RepositoryTag) ColMap() map[string]string
func (*RepositoryTag) Cols ¶ added in v1.42.0
func (r *RepositoryTag) Cols() []string
func (*RepositoryTag) KV ¶ added in v1.42.0
func (r *RepositoryTag) KV() []map[string]any
type RepositoryV2 ¶ added in v1.68.0
type RepositoryV2 struct {
Repositories []do.RepositoryV2
}
func (*RepositoryV2) ColMap ¶ added in v1.68.0
func (r *RepositoryV2) ColMap() map[string]string
func (*RepositoryV2) Cols ¶ added in v1.68.0
func (r *RepositoryV2) Cols() []string
func (*RepositoryV2) KV ¶ added in v1.68.0
func (r *RepositoryV2) KV() []map[string]any
type ReservedIP ¶ added in v1.77.0
type ReservedIP struct {
ReservedIPs do.ReservedIPs
}
func (*ReservedIP) ColMap ¶ added in v1.77.0
func (rip *ReservedIP) ColMap() map[string]string
func (*ReservedIP) Cols ¶ added in v1.77.0
func (rip *ReservedIP) Cols() []string
func (*ReservedIP) KV ¶ added in v1.77.0
func (rip *ReservedIP) KV() []map[string]any
type ReservedIPv6 ¶ added in v1.120.0
type ReservedIPv6 struct {
ReservedIPv6s do.ReservedIPv6s
}
func (*ReservedIPv6) ColMap ¶ added in v1.120.0
func (rip *ReservedIPv6) ColMap() map[string]string
func (*ReservedIPv6) Cols ¶ added in v1.120.0
func (rip *ReservedIPv6) Cols() []string
func (*ReservedIPv6) KV ¶ added in v1.120.0
func (rip *ReservedIPv6) KV() []map[string]any
type Scenario ¶ added in v1.168.0
Scenario displays scenarios within a scenario set or library entry.
type ScenarioLibraryEntry ¶ added in v1.168.0
type ScenarioLibraryEntry struct {
Entries do.ScenarioLibraryEntries
}
ScenarioLibraryEntry displays entries from the platform scenario library.
func (*ScenarioLibraryEntry) ColMap ¶ added in v1.168.0
func (v *ScenarioLibraryEntry) ColMap() map[string]string
func (*ScenarioLibraryEntry) Cols ¶ added in v1.168.0
func (v *ScenarioLibraryEntry) Cols() []string
func (*ScenarioLibraryEntry) JSON ¶ added in v1.168.0
func (v *ScenarioLibraryEntry) JSON(out io.Writer) error
func (*ScenarioLibraryEntry) KV ¶ added in v1.168.0
func (v *ScenarioLibraryEntry) KV() []map[string]any
type ScenarioSet ¶ added in v1.168.0
type ScenarioSet struct {
ScenarioSets do.ScenarioSets
}
ScenarioSet displays evaluation scenario sets.
func (*ScenarioSet) ColMap ¶ added in v1.168.0
func (v *ScenarioSet) ColMap() map[string]string
func (*ScenarioSet) Cols ¶ added in v1.168.0
func (v *ScenarioSet) Cols() []string
func (*ScenarioSet) KV ¶ added in v1.168.0
func (v *ScenarioSet) KV() []map[string]any
type Secret ¶ added in v1.164.0
Secret is the displayer for a single secret and its key-value pairs.
type SecretVersions ¶ added in v1.164.0
type SecretVersions struct {
Versions do.SecretVersions
}
SecretVersions is the displayer for secret version history.
func (*SecretVersions) ColMap ¶ added in v1.164.0
func (s *SecretVersions) ColMap() map[string]string
func (*SecretVersions) Cols ¶ added in v1.164.0
func (s *SecretVersions) Cols() []string
func (*SecretVersions) KV ¶ added in v1.164.0
func (s *SecretVersions) KV() []map[string]any
type SecretWriteResult ¶ added in v1.164.0
type SecretWriteResult struct {
Result do.SecretWriteResult
}
SecretWriteResult is the displayer for create/update responses.
func (*SecretWriteResult) ColMap ¶ added in v1.164.0
func (s *SecretWriteResult) ColMap() map[string]string
func (*SecretWriteResult) Cols ¶ added in v1.164.0
func (s *SecretWriteResult) Cols() []string
func (*SecretWriteResult) JSON ¶ added in v1.164.0
func (s *SecretWriteResult) JSON(out io.Writer) error
func (*SecretWriteResult) KV ¶ added in v1.164.0
func (s *SecretWriteResult) KV() []map[string]any
type SecurityAffectedResource ¶ added in v1.151.0
type SecurityAffectedResource struct {
AffectedResources do.AffectedResources
}
func (*SecurityAffectedResource) ColMap ¶ added in v1.151.0
func (s *SecurityAffectedResource) ColMap() map[string]string
func (*SecurityAffectedResource) Cols ¶ added in v1.151.0
func (s *SecurityAffectedResource) Cols() []string
func (*SecurityAffectedResource) JSON ¶ added in v1.151.0
func (s *SecurityAffectedResource) JSON(out io.Writer) error
func (*SecurityAffectedResource) KV ¶ added in v1.151.0
func (s *SecurityAffectedResource) KV() []map[string]any
type SecurityScan ¶ added in v1.151.0
A SecurityScan is the displayer for showing the results of a single CSPM scan.
func (*SecurityScan) ColMap ¶ added in v1.151.0
func (s *SecurityScan) ColMap() map[string]string
func (*SecurityScan) Cols ¶ added in v1.151.0
func (s *SecurityScan) Cols() []string
func (*SecurityScan) KV ¶ added in v1.151.0
func (s *SecurityScan) KV() []map[string]any
type SecurityScans ¶ added in v1.151.0
SecurityScans is the displayer for showing the results of multiple CSPM scans.
func (*SecurityScans) ColMap ¶ added in v1.151.0
func (s *SecurityScans) ColMap() map[string]string
func (*SecurityScans) Cols ¶ added in v1.151.0
func (s *SecurityScans) Cols() []string
func (*SecurityScans) KV ¶ added in v1.151.0
func (s *SecurityScans) KV() []map[string]any
type SignalsAgentConsent ¶ added in v1.179.0
type SignalsAgentConsent struct {
Consents []do.SignalsAgentConsent
}
SignalsAgentConsent displays a single agent consent record (from get).
func (*SignalsAgentConsent) ColMap ¶ added in v1.179.0
func (d *SignalsAgentConsent) ColMap() map[string]string
func (*SignalsAgentConsent) Cols ¶ added in v1.179.0
func (d *SignalsAgentConsent) Cols() []string
func (*SignalsAgentConsent) JSON ¶ added in v1.179.0
func (d *SignalsAgentConsent) JSON(out io.Writer) error
func (*SignalsAgentConsent) KV ¶ added in v1.179.0
func (d *SignalsAgentConsent) KV() []map[string]any
type SignalsConsent ¶ added in v1.179.0
type SignalsConsent struct {
Consents do.SignalsConsents
}
SignalsConsent displays Signals consent records (from list/set, and from get for team-level inference consent).
func (*SignalsConsent) ColMap ¶ added in v1.179.0
func (d *SignalsConsent) ColMap() map[string]string
func (*SignalsConsent) Cols ¶ added in v1.179.0
func (d *SignalsConsent) Cols() []string
func (*SignalsConsent) KV ¶ added in v1.179.0
func (d *SignalsConsent) KV() []map[string]any
type SignalsDeletion ¶ added in v1.181.0
type SignalsDeletion struct {
Deletions do.SignalsDeletions
}
SignalsDeletion displays Signals deletion jobs.
func (*SignalsDeletion) ColMap ¶ added in v1.181.0
func (d *SignalsDeletion) ColMap() map[string]string
func (*SignalsDeletion) Cols ¶ added in v1.181.0
func (d *SignalsDeletion) Cols() []string
func (*SignalsDeletion) JSON ¶ added in v1.181.0
func (d *SignalsDeletion) JSON(out io.Writer) error
func (*SignalsDeletion) KV ¶ added in v1.181.0
func (d *SignalsDeletion) KV() []map[string]any
type SignalsExport ¶ added in v1.179.0
type SignalsExport struct {
Exports do.SignalsExports
}
SignalsExport displays Signals export records.
func (*SignalsExport) ColMap ¶ added in v1.179.0
func (d *SignalsExport) ColMap() map[string]string
func (*SignalsExport) Cols ¶ added in v1.179.0
func (d *SignalsExport) Cols() []string
func (*SignalsExport) KV ¶ added in v1.179.0
func (d *SignalsExport) KV() []map[string]any
type SignalsExportDownload ¶ added in v1.179.0
type SignalsExportDownload struct {
Download do.SignalsExportDownload
}
SignalsExportDownload displays a pre-signed download URL.
func (*SignalsExportDownload) ColMap ¶ added in v1.179.0
func (d *SignalsExportDownload) ColMap() map[string]string
func (*SignalsExportDownload) Cols ¶ added in v1.179.0
func (d *SignalsExportDownload) Cols() []string
func (*SignalsExportDownload) JSON ¶ added in v1.179.0
func (d *SignalsExportDownload) JSON(out io.Writer) error
func (*SignalsExportDownload) KV ¶ added in v1.179.0
func (d *SignalsExportDownload) KV() []map[string]any
type SignalsExportOptions ¶ added in v1.179.0
type SignalsExportOptions struct {
Options do.SignalsExportOptions
}
SignalsExportOptions displays GET /exports/options.
func (*SignalsExportOptions) ColMap ¶ added in v1.179.0
func (d *SignalsExportOptions) ColMap() map[string]string
func (*SignalsExportOptions) Cols ¶ added in v1.179.0
func (d *SignalsExportOptions) Cols() []string
func (*SignalsExportOptions) JSON ¶ added in v1.179.0
func (d *SignalsExportOptions) JSON(out io.Writer) error
func (*SignalsExportOptions) KV ¶ added in v1.179.0
func (d *SignalsExportOptions) KV() []map[string]any
type SignalsSession ¶ added in v1.179.0
type SignalsSession struct {
Sessions do.SignalsSessions
}
SignalsSession displays Signals session records.
func (*SignalsSession) ColMap ¶ added in v1.179.0
func (d *SignalsSession) ColMap() map[string]string
func (*SignalsSession) Cols ¶ added in v1.179.0
func (d *SignalsSession) Cols() []string
func (*SignalsSession) KV ¶ added in v1.179.0
func (d *SignalsSession) KV() []map[string]any
type SignalsSessionDialogue ¶ added in v1.179.0
type SignalsSessionDialogue struct {
Dialogues do.SignalsSessionDialogues
}
SignalsSessionDialogue displays Signals session dialogue records.
func (*SignalsSessionDialogue) ColMap ¶ added in v1.179.0
func (d *SignalsSessionDialogue) ColMap() map[string]string
func (*SignalsSessionDialogue) Cols ¶ added in v1.179.0
func (d *SignalsSessionDialogue) Cols() []string
func (*SignalsSessionDialogue) JSON ¶ added in v1.179.0
func (d *SignalsSessionDialogue) JSON(out io.Writer) error
func (*SignalsSessionDialogue) KV ¶ added in v1.179.0
func (d *SignalsSessionDialogue) KV() []map[string]any
type SimulationEpisode ¶ added in v1.183.0
type SimulationEpisode struct {
Episodes do.SimulationEpisodes
}
SimulationEpisode displays episodes within a simulation run.
func (*SimulationEpisode) ColMap ¶ added in v1.183.0
func (v *SimulationEpisode) ColMap() map[string]string
func (*SimulationEpisode) Cols ¶ added in v1.183.0
func (v *SimulationEpisode) Cols() []string
func (*SimulationEpisode) JSON ¶ added in v1.183.0
func (v *SimulationEpisode) JSON(out io.Writer) error
func (*SimulationEpisode) KV ¶ added in v1.183.0
func (v *SimulationEpisode) KV() []map[string]any
type SimulationRun ¶ added in v1.168.0
type SimulationRun struct {
SimulationRuns do.SimulationRuns
}
SimulationRun displays evaluation simulation runs.
func (*SimulationRun) ColMap ¶ added in v1.168.0
func (v *SimulationRun) ColMap() map[string]string
func (*SimulationRun) Cols ¶ added in v1.168.0
func (v *SimulationRun) Cols() []string
func (*SimulationRun) KV ¶ added in v1.168.0
func (v *SimulationRun) KV() []map[string]any
type SimulationRunDetail ¶ added in v1.168.0
type SimulationRunDetail struct {
Detail *do.SimulationRunDetail
}
SimulationRunDetail displays a simulation run alongside its verdict rollups. The per-scenario results are only included in the JSON output.
func (*SimulationRunDetail) ColMap ¶ added in v1.168.0
func (v *SimulationRunDetail) ColMap() map[string]string
func (*SimulationRunDetail) Cols ¶ added in v1.168.0
func (v *SimulationRunDetail) Cols() []string
func (*SimulationRunDetail) JSON ¶ added in v1.168.0
func (v *SimulationRunDetail) JSON(out io.Writer) error
func (*SimulationRunDetail) KV ¶ added in v1.168.0
func (v *SimulationRunDetail) KV() []map[string]any
type SimulationTrajectory ¶ added in v1.168.0
type SimulationTrajectory struct {
Trajectory *do.SimulationTrajectory
}
SimulationTrajectory displays the trajectory of a single episode. The full message history is only included in the JSON output.
func (*SimulationTrajectory) ColMap ¶ added in v1.168.0
func (v *SimulationTrajectory) ColMap() map[string]string
func (*SimulationTrajectory) Cols ¶ added in v1.168.0
func (v *SimulationTrajectory) Cols() []string
func (*SimulationTrajectory) JSON ¶ added in v1.168.0
func (v *SimulationTrajectory) JSON(out io.Writer) error
func (*SimulationTrajectory) KV ¶ added in v1.168.0
func (v *SimulationTrajectory) KV() []map[string]any
type SpacesKey ¶ added in v1.124.0
type Triggers ¶ added in v1.82.0
type Triggers struct {
List []do.ServerlessTrigger
}
Triggers is the type of the displayer for triggers list
func (*Triggers) ColMap ¶ added in v1.82.0
ColMap is the displayer ColMap method specialized for triggers list
func (*Triggers) Cols ¶ added in v1.82.0
Cols is the displayer Cols method specialized for triggers list
type UptimeAlert ¶ added in v1.100.0
type UptimeAlert struct {
UptimeAlerts []do.UptimeAlert
}
func (*UptimeAlert) ColMap ¶ added in v1.100.0
func (ua *UptimeAlert) ColMap() map[string]string
func (*UptimeAlert) Cols ¶ added in v1.100.0
func (uc *UptimeAlert) Cols() []string
func (*UptimeAlert) KV ¶ added in v1.100.0
func (ua *UptimeAlert) KV() []map[string]any
type UptimeCheck ¶ added in v1.97.0
type UptimeCheck struct {
UptimeChecks []do.UptimeCheck
}
func (*UptimeCheck) ColMap ¶ added in v1.97.0
func (uc *UptimeCheck) ColMap() map[string]string
func (*UptimeCheck) Cols ¶ added in v1.97.0
func (uc *UptimeCheck) Cols() []string
func (*UptimeCheck) KV ¶ added in v1.97.0
func (uc *UptimeCheck) KV() []map[string]any
type VPCNATGateways ¶ added in v1.131.0
type VPCNATGateways struct {
VPCNATGateways []*godo.VPCNATGateway `json:"vpc_nat_gateways"`
}
func (*VPCNATGateways) ColMap ¶ added in v1.131.0
func (e *VPCNATGateways) ColMap() map[string]string
func (*VPCNATGateways) Cols ¶ added in v1.131.0
func (e *VPCNATGateways) Cols() []string
func (*VPCNATGateways) KV ¶ added in v1.131.0
func (e *VPCNATGateways) KV() []map[string]any
type VPCPeering ¶ added in v1.107.0
type VPCPeering struct {
VPCPeerings do.VPCPeerings
}
func (*VPCPeering) ColMap ¶ added in v1.107.0
func (v *VPCPeering) ColMap() map[string]string
func (*VPCPeering) Cols ¶ added in v1.107.0
func (v *VPCPeering) Cols() []string
func (*VPCPeering) KV ¶ added in v1.107.0
func (v *VPCPeering) KV() []map[string]any
type ValkeyConfiguration ¶ added in v1.136.0
type ValkeyConfiguration struct {
ValkeyConfig do.ValkeyConfig
}
func (*ValkeyConfiguration) ColMap ¶ added in v1.136.0
func (dc *ValkeyConfiguration) ColMap() map[string]string
func (*ValkeyConfiguration) Cols ¶ added in v1.136.0
func (dc *ValkeyConfiguration) Cols() []string
func (*ValkeyConfiguration) JSON ¶ added in v1.136.0
func (dc *ValkeyConfiguration) JSON(out io.Writer) error
func (*ValkeyConfiguration) KV ¶ added in v1.136.0
func (dc *ValkeyConfiguration) KV() []map[string]any
type VectorDBAdminCredentials ¶ added in v1.163.0
type VectorDBAdminCredentials struct {
VectorDBAdminCredentials do.VectorDBAdminCredentials
}
func (*VectorDBAdminCredentials) ColMap ¶ added in v1.163.0
func (vc *VectorDBAdminCredentials) ColMap() map[string]string
func (*VectorDBAdminCredentials) Cols ¶ added in v1.163.0
func (vc *VectorDBAdminCredentials) Cols() []string
func (*VectorDBAdminCredentials) JSON ¶ added in v1.163.0
func (vc *VectorDBAdminCredentials) JSON(out io.Writer) error
func (*VectorDBAdminCredentials) KV ¶ added in v1.163.0
func (vc *VectorDBAdminCredentials) KV() []map[string]any
type VectorDBBackups ¶ added in v1.163.0
type VectorDBBackups struct {
VectorDBBackups do.VectorDBBackups
}
func (*VectorDBBackups) ColMap ¶ added in v1.163.0
func (vb *VectorDBBackups) ColMap() map[string]string
func (*VectorDBBackups) Cols ¶ added in v1.163.0
func (vb *VectorDBBackups) Cols() []string
func (*VectorDBBackups) JSON ¶ added in v1.163.0
func (vb *VectorDBBackups) JSON(out io.Writer) error
func (*VectorDBBackups) KV ¶ added in v1.163.0
func (vb *VectorDBBackups) KV() []map[string]any
type VectorDBRestoreBackupResponse ¶ added in v1.163.0
type VectorDBRestoreBackupResponse struct {
VectorDBRestoreBackupResponse do.VectorDBRestoreBackupResponse
}
func (*VectorDBRestoreBackupResponse) ColMap ¶ added in v1.163.0
func (vr *VectorDBRestoreBackupResponse) ColMap() map[string]string
func (*VectorDBRestoreBackupResponse) Cols ¶ added in v1.163.0
func (vr *VectorDBRestoreBackupResponse) Cols() []string
func (*VectorDBRestoreBackupResponse) JSON ¶ added in v1.163.0
func (vr *VectorDBRestoreBackupResponse) JSON(out io.Writer) error
func (*VectorDBRestoreBackupResponse) KV ¶ added in v1.163.0
func (vr *VectorDBRestoreBackupResponse) KV() []map[string]any
type VectorDBRestoreStatus ¶ added in v1.163.0
type VectorDBRestoreStatus struct {
VectorDBRestoreStatus do.VectorDBRestoreStatus
}
func (*VectorDBRestoreStatus) ColMap ¶ added in v1.163.0
func (vs *VectorDBRestoreStatus) ColMap() map[string]string
func (*VectorDBRestoreStatus) Cols ¶ added in v1.163.0
func (vs *VectorDBRestoreStatus) Cols() []string
func (*VectorDBRestoreStatus) JSON ¶ added in v1.163.0
func (vs *VectorDBRestoreStatus) JSON(out io.Writer) error
func (*VectorDBRestoreStatus) KV ¶ added in v1.163.0
func (vs *VectorDBRestoreStatus) KV() []map[string]any
Source Files
¶
- 1_click.go
- access_keys.go
- account.go
- action.go
- activations.go
- agent_triggers.go
- apps.go
- balance.go
- billing_history.go
- byoip_prefix.go
- cdn.go
- certificate.go
- database.go
- dedicated_inference.go
- domain.go
- droplet.go
- droplet_autoscale.go
- droplet_backup_policies.go
- droplet_supported_backup_policies.go
- evaluation.go
- evaluation_simulations.go
- firewall.go
- functions.go
- gradientai.go
- harness_prepay.go
- hosted_agents.go
- image.go
- invoice.go
- invoice_list.go
- invoice_summary.go
- kernel.go
- key.go
- kubernetes.go
- load_balancer.go
- microvm.go
- monitoring.go
- namespaces.go
- nfs.go
- output.go
- partner_network_connect.go
- plugin.go
- prepayment.go
- project.go
- rate_limit.go
- region.go
- registry.go
- reserved_ip.go
- reserved_ipv6.go
- secrets.go
- security.go
- signals_consent.go
- signals_deletion.go
- signals_export.go
- signals_session.go
- size.go
- snapshot.go
- spaces_keys.go
- tag.go
- triggers.go
- uptime_alert.go
- uptime_check.go
- util.go
- vector_database.go
- volume.go
- vpc.go
- vpc_nat_gateway.go
- vpc_peering.go