shared

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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 (n *NekiShard) GetAuthoritative() bool

func (*NekiShard) GetConfigurationProfile added in v1.10.0

func (n *NekiShard) GetConfigurationProfile() string

func (*NekiShard) GetCreatedAt added in v1.10.0

func (n *NekiShard) GetCreatedAt() string

func (*NekiShard) GetDisplayName added in v1.10.0

func (n *NekiShard) GetDisplayName() *string

func (*NekiShard) GetID added in v1.10.0

func (n *NekiShard) GetID() string

func (*NekiShard) GetName added in v1.10.0

func (n *NekiShard) GetName() string

func (*NekiShard) GetReady added in v1.10.0

func (n *NekiShard) GetReady() bool

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 (s *Security) GetServiceToken() string

func (*Security) GetServiceTokenID

func (s *Security) GetServiceTokenID() string

Jump to

Keyboard shortcuts

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