Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NekiShard ¶ added in v1.10.0
type NekiShard struct {
// The ID of the shard
ID string `json:"id"`
// The name of the shard
Name string `json:"name"`
// The display name of the shard
DisplayName *string `json:"display_name"`
// The name of the shard configuration profile
ConfigurationProfile string `json:"configuration_profile"`
// When the shard was created
CreatedAt string `json:"created_at"`
// Whether the shard has been created on the cluster
Ready bool `json:"ready"`
// Whether the shard is the authoritative shard of the cluster
Authoritative bool `json:"authoritative"`
}
func (*NekiShard) GetAuthoritative ¶ added in v1.10.0
func (*NekiShard) GetConfigurationProfile ¶ added in v1.10.0
func (*NekiShard) GetCreatedAt ¶ added in v1.10.0
func (*NekiShard) GetDisplayName ¶ added in v1.10.0
type Security ¶
type Security struct {
// PlanetScale Service Token
ServiceToken string `json:"service_token" security:"scheme,type=http,subtype=custom,name=service_token"`
// PlanetScale Service Token ID
ServiceTokenID string `json:"service_token_id" security:"scheme,type=http,subtype=custom,name=service_token_id"`
}
func (*Security) GetServiceToken ¶
func (*Security) GetServiceTokenID ¶
Click to show internal directories.
Click to hide internal directories.