cockroach

package
v0.0.440 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_library_oss_cockroach_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterIntent

type ClusterIntent struct {

	// If set, overrides the server package used to instantiate the local database cluster.
	Server *schema.PackageRef `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// If set, overrides the root password used to access the cluster.
	PasswordSecret *schema.PackageRef `protobuf:"bytes,2,opt,name=password_secret,json=passwordSecret,proto3" json:"password_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterIntent) Descriptor deprecated

func (*ClusterIntent) Descriptor() ([]byte, []int)

Deprecated: Use ClusterIntent.ProtoReflect.Descriptor instead.

func (*ClusterIntent) GetPasswordSecret

func (x *ClusterIntent) GetPasswordSecret() *schema.PackageRef

func (*ClusterIntent) GetServer

func (x *ClusterIntent) GetServer() *schema.PackageRef

func (*ClusterIntent) ProtoMessage

func (*ClusterIntent) ProtoMessage()

func (*ClusterIntent) ProtoReflect

func (x *ClusterIntent) ProtoReflect() protoreflect.Message

func (*ClusterIntent) Reset

func (x *ClusterIntent) Reset()

func (*ClusterIntent) String

func (x *ClusterIntent) String() string

type DatabaseIntent

type DatabaseIntent struct {

	// The database name is applied as is (e.g. it is case-sensitive).
	Name                             string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Schema                           []*schema.FileContents `protobuf:"bytes,2,rep,name=schema,proto3" json:"schema,omitempty"`
	SkipSchemaInitializationIfExists bool                   `` /* 164-byte string literal not displayed */
	Regions                          []string               `protobuf:"bytes,4,rep,name=regions,proto3" json:"regions,omitempty"`
	SurvivalGoal                     string                 `protobuf:"bytes,5,opt,name=survival_goal,json=survivalGoal,proto3" json:"survival_goal,omitempty"`
	// Postgres helpers are unsupported on CockroachDB
	EnableTracing bool `protobuf:"varint,6,opt,name=enable_tracing,json=enableTracing,proto3" json:"enable_tracing,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseIntent) Descriptor deprecated

func (*DatabaseIntent) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseIntent.ProtoReflect.Descriptor instead.

func (*DatabaseIntent) GetEnableTracing

func (x *DatabaseIntent) GetEnableTracing() bool

func (*DatabaseIntent) GetName

func (x *DatabaseIntent) GetName() string

func (*DatabaseIntent) GetRegions

func (x *DatabaseIntent) GetRegions() []string

func (*DatabaseIntent) GetSchema

func (x *DatabaseIntent) GetSchema() []*schema.FileContents

func (*DatabaseIntent) GetSkipSchemaInitializationIfExists

func (x *DatabaseIntent) GetSkipSchemaInitializationIfExists() bool

func (*DatabaseIntent) GetSurvivalGoal

func (x *DatabaseIntent) GetSurvivalGoal() string

func (*DatabaseIntent) ProtoMessage

func (*DatabaseIntent) ProtoMessage()

func (*DatabaseIntent) ProtoReflect

func (x *DatabaseIntent) ProtoReflect() protoreflect.Message

func (*DatabaseIntent) Reset

func (x *DatabaseIntent) Reset()

func (*DatabaseIntent) String

func (x *DatabaseIntent) String() string

Directories

Path Synopsis
prepare
cluster command
clusterinstance command
database command

Jump to

Keyboard shortcuts

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