spanner

package
v1.127.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoscalingConfig_AutoscalingLimits_MaxNodes_ToProto

func AutoscalingConfig_AutoscalingLimits_MaxNodes_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MaxNodes

func AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits_ToProto

func AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits

func AutoscalingConfig_AutoscalingLimits_MinNodes_ToProto

func AutoscalingConfig_AutoscalingLimits_MinNodes_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MinNodes

func AutoscalingConfig_AutoscalingLimits_MinProcessingUnits_ToProto

func AutoscalingConfig_AutoscalingLimits_MinProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MinProcessingUnits

func AutoscalingConfig_FromProto

func AutoscalingConfig_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig) *krm.AutoscalingConfig

func AutoscalingConfig_ToProto

func AutoscalingConfig_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig) *pb.AutoscalingConfig

func Instance_FromProto

func Instance_FromProto(mapCtx *direct.MapContext, in *pb.Instance, parent *string) *krm.Instance

func Instance_ToProto

func Instance_ToProto(mapCtx *direct.MapContext, in *krm.Instance) *pb.Instance

func NewSpannerInstanceModel

func NewSpannerInstanceModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func ReplicaComputeCapacity_FromProto

func ReplicaComputeCapacity_FromProto(mapCtx *direct.MapContext, in *pb.ReplicaComputeCapacity) *krm.ReplicaComputeCapacity

func ReplicaComputeCapacity_NodeCount_ToProto

func ReplicaComputeCapacity_NodeCount_ToProto(mapCtx *direct.MapContext, m *int32) *pb.ReplicaComputeCapacity_NodeCount

func ReplicaComputeCapacity_ProcessingUnits_ToProto

func ReplicaComputeCapacity_ProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.ReplicaComputeCapacity_ProcessingUnits

func ReplicaComputeCapacity_ToProto

func ReplicaComputeCapacity_ToProto(mapCtx *direct.MapContext, in *krm.ReplicaComputeCapacity) *pb.ReplicaComputeCapacity

func ReplicaSelection_FromProto

func ReplicaSelection_FromProto(mapCtx *direct.MapContext, in *pb.ReplicaSelection) *krm.ReplicaSelection

func ReplicaSelection_ToProto

func ReplicaSelection_ToProto(mapCtx *direct.MapContext, in *krm.ReplicaSelection) *pb.ReplicaSelection

func SpannerInstanceSpec_FromProto

func SpannerInstanceSpec_FromProto(mapCtx *direct.MapContext, in *pb.Instance, configPrefix string) *krm.SpannerInstanceSpec

func SpannerInstanceSpec_ToProto

func SpannerInstanceSpec_ToProto(mapCtx *direct.MapContext, in *krm.SpannerInstanceSpec, configPrefix string) *pb.Instance

func State_FromProto

func State_FromProto(mapCtx *direct.MapContext, in *pb.Instance) *string

Types

type SpannerInstanceAdapter

type SpannerInstanceAdapter struct {
	// contains filtered or unexported fields
}

func (*SpannerInstanceAdapter) Create

func (*SpannerInstanceAdapter) Delete

Delete implements the Adapter interface.

func (*SpannerInstanceAdapter) Export

func (*SpannerInstanceAdapter) Find

func (*SpannerInstanceAdapter) SpecValidation

func (a *SpannerInstanceAdapter) SpecValidation() error

func (*SpannerInstanceAdapter) Update

Jump to

Keyboard shortcuts

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