Documentation ¶
Index ¶
- func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_FromProto(mapCtx *direct.MapContext, ...) *krm.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides
- func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_ToProto(mapCtx *direct.MapContext, ...) *pb.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides
- func AutoscalingConfig_AsymmetricAutoscalingOption_FromProto(mapCtx *direct.MapContext, ...) *krm.AutoscalingConfig_AsymmetricAutoscalingOption
- func AutoscalingConfig_AsymmetricAutoscalingOption_ToProto(mapCtx *direct.MapContext, ...) *pb.AutoscalingConfig_AsymmetricAutoscalingOption
- func AutoscalingConfig_AutoscalingLimits_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AutoscalingLimits) *krm.AutoscalingConfig_AutoscalingLimits
- func AutoscalingConfig_AutoscalingLimits_MaxNodes_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MaxNodes
- func AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits
- func AutoscalingConfig_AutoscalingLimits_MinNodes_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MinNodes
- func AutoscalingConfig_AutoscalingLimits_MinProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.AutoscalingConfig_AutoscalingLimits_MinProcessingUnits
- func AutoscalingConfig_AutoscalingLimits_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AutoscalingLimits) *pb.AutoscalingConfig_AutoscalingLimits
- func AutoscalingConfig_AutoscalingTargets_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AutoscalingTargets) *krm.AutoscalingConfig_AutoscalingTargets
- func AutoscalingConfig_AutoscalingTargets_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AutoscalingTargets) *pb.AutoscalingConfig_AutoscalingTargets
- func AutoscalingConfig_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig) *krm.AutoscalingConfig
- func AutoscalingConfig_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig) *pb.AutoscalingConfig
- func Instance_FromProto(mapCtx *direct.MapContext, in *pb.Instance, parent *string) *krm.Instance
- func Instance_ToProto(mapCtx *direct.MapContext, in *krm.Instance) *pb.Instance
- func NewSpannerInstanceModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- func ReplicaComputeCapacity_FromProto(mapCtx *direct.MapContext, in *pb.ReplicaComputeCapacity) *krm.ReplicaComputeCapacity
- func ReplicaComputeCapacity_NodeCount_ToProto(mapCtx *direct.MapContext, m *int32) *pb.ReplicaComputeCapacity_NodeCount
- func ReplicaComputeCapacity_ProcessingUnits_ToProto(mapCtx *direct.MapContext, m *int32) *pb.ReplicaComputeCapacity_ProcessingUnits
- func ReplicaComputeCapacity_ToProto(mapCtx *direct.MapContext, in *krm.ReplicaComputeCapacity) *pb.ReplicaComputeCapacity
- func ReplicaSelection_FromProto(mapCtx *direct.MapContext, in *pb.ReplicaSelection) *krm.ReplicaSelection
- func ReplicaSelection_ToProto(mapCtx *direct.MapContext, in *krm.ReplicaSelection) *pb.ReplicaSelection
- func SpannerInstanceSpec_FromProto(mapCtx *direct.MapContext, in *pb.Instance, configPrefix string) *krm.SpannerInstanceSpec
- func SpannerInstanceSpec_ToProto(mapCtx *direct.MapContext, in *krm.SpannerInstanceSpec, configPrefix string) *pb.Instance
- func State_FromProto(mapCtx *direct.MapContext, in *pb.Instance) *string
- type SpannerInstanceAdapter
- func (a *SpannerInstanceAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
- func (a *SpannerInstanceAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
- func (a *SpannerInstanceAdapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
- func (a *SpannerInstanceAdapter) Find(ctx context.Context) (bool, error)
- func (a *SpannerInstanceAdapter) SpecValidation() error
- func (a *SpannerInstanceAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_FromProto ¶
func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) *krm.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides
func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_ToProto ¶
func AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) *pb.AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides
func AutoscalingConfig_AsymmetricAutoscalingOption_FromProto ¶
func AutoscalingConfig_AsymmetricAutoscalingOption_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AsymmetricAutoscalingOption) *krm.AutoscalingConfig_AsymmetricAutoscalingOption
func AutoscalingConfig_AsymmetricAutoscalingOption_ToProto ¶
func AutoscalingConfig_AsymmetricAutoscalingOption_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AsymmetricAutoscalingOption) *pb.AutoscalingConfig_AsymmetricAutoscalingOption
func AutoscalingConfig_AutoscalingLimits_FromProto ¶
func AutoscalingConfig_AutoscalingLimits_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AutoscalingLimits) *krm.AutoscalingConfig_AutoscalingLimits
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_AutoscalingLimits_ToProto ¶
func AutoscalingConfig_AutoscalingLimits_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AutoscalingLimits) *pb.AutoscalingConfig_AutoscalingLimits
func AutoscalingConfig_AutoscalingTargets_FromProto ¶
func AutoscalingConfig_AutoscalingTargets_FromProto(mapCtx *direct.MapContext, in *pb.AutoscalingConfig_AutoscalingTargets) *krm.AutoscalingConfig_AutoscalingTargets
func AutoscalingConfig_AutoscalingTargets_ToProto ¶
func AutoscalingConfig_AutoscalingTargets_ToProto(mapCtx *direct.MapContext, in *krm.AutoscalingConfig_AutoscalingTargets) *pb.AutoscalingConfig_AutoscalingTargets
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_ToProto ¶
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 (a *SpannerInstanceAdapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
func (*SpannerInstanceAdapter) Delete ¶
func (a *SpannerInstanceAdapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
Delete implements the Adapter interface.
func (*SpannerInstanceAdapter) Export ¶
func (a *SpannerInstanceAdapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
func (*SpannerInstanceAdapter) Find ¶
func (a *SpannerInstanceAdapter) Find(ctx context.Context) (bool, error)
func (*SpannerInstanceAdapter) SpecValidation ¶
func (a *SpannerInstanceAdapter) SpecValidation() error
func (*SpannerInstanceAdapter) Update ¶
func (a *SpannerInstanceAdapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
Click to show internal directories.
Click to hide internal directories.