package mysqlpb

import "github.com/google/trillian/storage/mysql/mysqlpb"

Package mysqlpb contains protobuf definitions used by the mysql implementation.

Index

Variables

var File_options_proto protoreflect.FileDescriptor

Types

type StorageOptions

type StorageOptions struct {

	// subtreeRevisions being explicitly set to false will skip writing subtree revisions.
	// https://github.com/google/trillian/pull/3201
	SubtreeRevisions bool `protobuf:"varint,1,opt,name=subtreeRevisions,proto3" json:"subtreeRevisions,omitempty"`
	// contains filtered or unexported fields
}

StorageOptions contains configuration parameters for MySQL implementation of the storage backend. This is envisioned only to be used for changes that would be breaking, but need to support old behaviour for backwards compatibility.

func (*StorageOptions) Descriptor

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

Deprecated: Use StorageOptions.ProtoReflect.Descriptor instead.

func (*StorageOptions) GetSubtreeRevisions

func (x *StorageOptions) GetSubtreeRevisions() bool

func (*StorageOptions) ProtoMessage

func (*StorageOptions) ProtoMessage()

func (*StorageOptions) ProtoReflect

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

func (*StorageOptions) Reset

func (x *StorageOptions) Reset()

func (*StorageOptions) String

func (x *StorageOptions) String() string

Source Files

gen.go options.pb.go

Version
v1.7.1 (latest)
Published
Jan 9, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
5 days ago

Tools for package owners.