version

package
v0.0.0-...-b879bf7 Latest Latest
Warning

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

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

Documentation

Overview

Package version is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	Status_name = map[int32]string{
		0: "status_invalid",
		1: "recommended",
		2: "available",
		3: "required",
		4: "disabled",
	}
	Status_value = map[string]int32{
		"status_invalid": 0,
		"recommended":    1,
		"available":      2,
		"required":       3,
		"disabled":       4,
	}
)

Enum value maps for Status.

View Source
var File_api_version_proto protoreflect.FileDescriptor

Functions

func RegisterVersionServiceHandler

func RegisterVersionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterVersionServiceHandler registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterVersionServiceHandlerClient

func RegisterVersionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VersionServiceClient) error

RegisterVersionServiceHandlerClient registers the http handlers for service VersionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VersionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VersionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VersionServiceClient" to call the correct interceptors.

func RegisterVersionServiceHandlerFromEndpoint

func RegisterVersionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterVersionServiceHandlerFromEndpoint is same as RegisterVersionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterVersionServiceHandlerServer

func RegisterVersionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VersionServiceServer) error

RegisterVersionServiceHandlerServer registers the http handlers for service VersionService to "mux". UnaryRPC :call VersionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s *grpc.Server, srv VersionServiceServer)

Types

type ApplyRequest

type ApplyRequest struct {
	Product                 string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	OperatorVersion         string `protobuf:"bytes,2,opt,name=operator_version,json=operatorVersion,proto3" json:"operator_version,omitempty"`
	Apply                   string `protobuf:"bytes,3,opt,name=apply,proto3" json:"apply,omitempty"`
	DatabaseVersion         string `protobuf:"bytes,4,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"`
	KubeVersion             string `protobuf:"bytes,5,opt,name=kube_version,json=kubeVersion,proto3" json:"kube_version,omitempty"`
	Platform                string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
	PmmVersion              string `protobuf:"bytes,7,opt,name=pmm_version,json=pmmVersion,proto3" json:"pmm_version,omitempty"`
	BackupVersion           string `protobuf:"bytes,8,opt,name=backup_version,json=backupVersion,proto3" json:"backup_version,omitempty"`
	ProxysqlVersion         string `protobuf:"bytes,9,opt,name=proxysql_version,json=proxysqlVersion,proto3" json:"proxysql_version,omitempty"`
	HaproxyVersion          string `protobuf:"bytes,10,opt,name=haproxy_version,json=haproxyVersion,proto3" json:"haproxy_version,omitempty"`
	NamespaceUid            string `protobuf:"bytes,11,opt,name=namespace_uid,json=namespaceUid,proto3" json:"namespace_uid,omitempty"`
	CustomResourceUid       string `protobuf:"bytes,12,opt,name=custom_resource_uid,json=customResourceUid,proto3" json:"custom_resource_uid,omitempty"`
	LogCollectorVersion     string `protobuf:"bytes,13,opt,name=log_collector_version,json=logCollectorVersion,proto3" json:"log_collector_version,omitempty"`
	ShardingEnabled         bool   `protobuf:"varint,14,opt,name=sharding_enabled,json=shardingEnabled,proto3" json:"sharding_enabled,omitempty"`
	HashicorpVaultEnabled   bool   `` /* 128-byte string literal not displayed */
	ClusterWideEnabled      bool   `protobuf:"varint,16,opt,name=cluster_wide_enabled,json=clusterWideEnabled,proto3" json:"cluster_wide_enabled,omitempty"`
	PmmEnabled              bool   `protobuf:"varint,17,opt,name=pmm_enabled,json=pmmEnabled,proto3" json:"pmm_enabled,omitempty"`
	HelmDeployOperator      bool   `protobuf:"varint,18,opt,name=helm_deploy_operator,json=helmDeployOperator,proto3" json:"helm_deploy_operator,omitempty"`
	HelmDeployCr            bool   `protobuf:"varint,19,opt,name=helm_deploy_cr,json=helmDeployCr,proto3" json:"helm_deploy_cr,omitempty"`
	SidecarsUsed            bool   `protobuf:"varint,20,opt,name=sidecars_used,json=sidecarsUsed,proto3" json:"sidecars_used,omitempty"`
	BackupsEnabled          bool   `protobuf:"varint,21,opt,name=backups_enabled,json=backupsEnabled,proto3" json:"backups_enabled,omitempty"`
	ClusterSize             int32  `protobuf:"varint,22,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"`
	PitrEnabled             bool   `protobuf:"varint,23,opt,name=pitr_enabled,json=pitrEnabled,proto3" json:"pitr_enabled,omitempty"`
	PhysicalBackupScheduled bool   `` /* 134-byte string literal not displayed */
	Extensions              string `protobuf:"bytes,25,opt,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyRequest) Descriptor deprecated

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

Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.

func (*ApplyRequest) GetApply

func (x *ApplyRequest) GetApply() string

func (*ApplyRequest) GetBackupVersion

func (x *ApplyRequest) GetBackupVersion() string

func (*ApplyRequest) GetBackupsEnabled

func (x *ApplyRequest) GetBackupsEnabled() bool

func (*ApplyRequest) GetClusterSize

func (x *ApplyRequest) GetClusterSize() int32

func (*ApplyRequest) GetClusterWideEnabled

func (x *ApplyRequest) GetClusterWideEnabled() bool

func (*ApplyRequest) GetCustomResourceUid

func (x *ApplyRequest) GetCustomResourceUid() string

func (*ApplyRequest) GetDatabaseVersion

func (x *ApplyRequest) GetDatabaseVersion() string

func (*ApplyRequest) GetExtensions

func (x *ApplyRequest) GetExtensions() string

func (*ApplyRequest) GetHaproxyVersion

func (x *ApplyRequest) GetHaproxyVersion() string

func (*ApplyRequest) GetHashicorpVaultEnabled

func (x *ApplyRequest) GetHashicorpVaultEnabled() bool

func (*ApplyRequest) GetHelmDeployCr

func (x *ApplyRequest) GetHelmDeployCr() bool

func (*ApplyRequest) GetHelmDeployOperator

func (x *ApplyRequest) GetHelmDeployOperator() bool

func (*ApplyRequest) GetKubeVersion

func (x *ApplyRequest) GetKubeVersion() string

func (*ApplyRequest) GetLogCollectorVersion

func (x *ApplyRequest) GetLogCollectorVersion() string

func (*ApplyRequest) GetNamespaceUid

func (x *ApplyRequest) GetNamespaceUid() string

func (*ApplyRequest) GetOperatorVersion

func (x *ApplyRequest) GetOperatorVersion() string

func (*ApplyRequest) GetPhysicalBackupScheduled

func (x *ApplyRequest) GetPhysicalBackupScheduled() bool

func (*ApplyRequest) GetPitrEnabled

func (x *ApplyRequest) GetPitrEnabled() bool

func (*ApplyRequest) GetPlatform

func (x *ApplyRequest) GetPlatform() string

func (*ApplyRequest) GetPmmEnabled

func (x *ApplyRequest) GetPmmEnabled() bool

func (*ApplyRequest) GetPmmVersion

func (x *ApplyRequest) GetPmmVersion() string

func (*ApplyRequest) GetProduct

func (x *ApplyRequest) GetProduct() string

func (*ApplyRequest) GetProxysqlVersion

func (x *ApplyRequest) GetProxysqlVersion() string

func (*ApplyRequest) GetShardingEnabled

func (x *ApplyRequest) GetShardingEnabled() bool

func (*ApplyRequest) GetSidecarsUsed

func (x *ApplyRequest) GetSidecarsUsed() bool

func (*ApplyRequest) ProtoMessage

func (*ApplyRequest) ProtoMessage()

func (*ApplyRequest) ProtoReflect

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

func (*ApplyRequest) Reset

func (x *ApplyRequest) Reset()

func (*ApplyRequest) String

func (x *ApplyRequest) String() string

type MetadataRequest

type MetadataRequest struct {
	Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataRequest) Descriptor deprecated

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

Deprecated: Use MetadataRequest.ProtoReflect.Descriptor instead.

func (*MetadataRequest) GetProduct

func (x *MetadataRequest) GetProduct() string

func (*MetadataRequest) ProtoMessage

func (*MetadataRequest) ProtoMessage()

func (*MetadataRequest) ProtoReflect

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

func (*MetadataRequest) Reset

func (x *MetadataRequest) Reset()

func (*MetadataRequest) String

func (x *MetadataRequest) String() string

type MetadataResponse

type MetadataResponse struct {
	Versions []*MetadataVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*MetadataResponse) Descriptor deprecated

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

Deprecated: Use MetadataResponse.ProtoReflect.Descriptor instead.

func (*MetadataResponse) GetVersions

func (x *MetadataResponse) GetVersions() []*MetadataVersion

func (*MetadataResponse) ProtoMessage

func (*MetadataResponse) ProtoMessage()

func (*MetadataResponse) ProtoReflect

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

func (*MetadataResponse) Reset

func (x *MetadataResponse) Reset()

func (*MetadataResponse) String

func (x *MetadataResponse) String() string

type MetadataVersion

type MetadataVersion struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Recommended is the recommended version for a given component.
	Recommended map[string]string `` /* 163-byte string literal not displayed */
	// Supported holds semver constraint per component, such as ">= 1.0, < 1.4".
	Supported map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

MetadataVersion represents metadata for a given version.

func (*MetadataVersion) Descriptor deprecated

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

Deprecated: Use MetadataVersion.ProtoReflect.Descriptor instead.

func (*MetadataVersion) GetRecommended

func (x *MetadataVersion) GetRecommended() map[string]string

func (*MetadataVersion) GetSupported

func (x *MetadataVersion) GetSupported() map[string]string

func (*MetadataVersion) GetVersion

func (x *MetadataVersion) GetVersion() string

func (*MetadataVersion) ProtoMessage

func (*MetadataVersion) ProtoMessage()

func (*MetadataVersion) ProtoReflect

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

func (*MetadataVersion) Reset

func (x *MetadataVersion) Reset()

func (*MetadataVersion) String

func (x *MetadataVersion) String() string

type OperatorRequest

type OperatorRequest struct {
	Product                 string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	OperatorVersion         string `protobuf:"bytes,2,opt,name=operator_version,json=operatorVersion,proto3" json:"operator_version,omitempty"`
	DatabaseVersion         string `protobuf:"bytes,4,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"`
	KubeVersion             string `protobuf:"bytes,5,opt,name=kube_version,json=kubeVersion,proto3" json:"kube_version,omitempty"`
	Platform                string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
	PmmVersion              string `protobuf:"bytes,7,opt,name=pmm_version,json=pmmVersion,proto3" json:"pmm_version,omitempty"`
	BackupVersion           string `protobuf:"bytes,8,opt,name=backup_version,json=backupVersion,proto3" json:"backup_version,omitempty"`
	ProxysqlVersion         string `protobuf:"bytes,9,opt,name=proxysql_version,json=proxysqlVersion,proto3" json:"proxysql_version,omitempty"`
	HaproxyVersion          string `protobuf:"bytes,10,opt,name=haproxy_version,json=haproxyVersion,proto3" json:"haproxy_version,omitempty"`
	NamespaceUid            string `protobuf:"bytes,11,opt,name=namespace_uid,json=namespaceUid,proto3" json:"namespace_uid,omitempty"`
	CustomResourceUid       string `protobuf:"bytes,12,opt,name=custom_resource_uid,json=customResourceUid,proto3" json:"custom_resource_uid,omitempty"`
	LogCollectorVersion     string `protobuf:"bytes,13,opt,name=log_collector_version,json=logCollectorVersion,proto3" json:"log_collector_version,omitempty"`
	ShardingEnabled         bool   `protobuf:"varint,14,opt,name=sharding_enabled,json=shardingEnabled,proto3" json:"sharding_enabled,omitempty"`
	HashicorpVaultEnabled   bool   `` /* 128-byte string literal not displayed */
	ClusterWideEnabled      bool   `protobuf:"varint,16,opt,name=cluster_wide_enabled,json=clusterWideEnabled,proto3" json:"cluster_wide_enabled,omitempty"`
	PmmEnabled              bool   `protobuf:"varint,17,opt,name=pmm_enabled,json=pmmEnabled,proto3" json:"pmm_enabled,omitempty"`
	HelmDeployOperator      bool   `protobuf:"varint,18,opt,name=helm_deploy_operator,json=helmDeployOperator,proto3" json:"helm_deploy_operator,omitempty"`
	HelmDeployCr            bool   `protobuf:"varint,19,opt,name=helm_deploy_cr,json=helmDeployCr,proto3" json:"helm_deploy_cr,omitempty"`
	SidecarsUsed            bool   `protobuf:"varint,20,opt,name=sidecars_used,json=sidecarsUsed,proto3" json:"sidecars_used,omitempty"`
	BackupsEnabled          bool   `protobuf:"varint,21,opt,name=backups_enabled,json=backupsEnabled,proto3" json:"backups_enabled,omitempty"`
	ClusterSize             int32  `protobuf:"varint,22,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"`
	PitrEnabled             bool   `protobuf:"varint,23,opt,name=pitr_enabled,json=pitrEnabled,proto3" json:"pitr_enabled,omitempty"`
	PhysicalBackupScheduled bool   `` /* 134-byte string literal not displayed */
	Extensions              string `protobuf:"bytes,25,opt,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

func (*OperatorRequest) Descriptor deprecated

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

Deprecated: Use OperatorRequest.ProtoReflect.Descriptor instead.

func (*OperatorRequest) GetBackupVersion

func (x *OperatorRequest) GetBackupVersion() string

func (*OperatorRequest) GetBackupsEnabled

func (x *OperatorRequest) GetBackupsEnabled() bool

func (*OperatorRequest) GetClusterSize

func (x *OperatorRequest) GetClusterSize() int32

func (*OperatorRequest) GetClusterWideEnabled

func (x *OperatorRequest) GetClusterWideEnabled() bool

func (*OperatorRequest) GetCustomResourceUid

func (x *OperatorRequest) GetCustomResourceUid() string

func (*OperatorRequest) GetDatabaseVersion

func (x *OperatorRequest) GetDatabaseVersion() string

func (*OperatorRequest) GetExtensions

func (x *OperatorRequest) GetExtensions() string

func (*OperatorRequest) GetHaproxyVersion

func (x *OperatorRequest) GetHaproxyVersion() string

func (*OperatorRequest) GetHashicorpVaultEnabled

func (x *OperatorRequest) GetHashicorpVaultEnabled() bool

func (*OperatorRequest) GetHelmDeployCr

func (x *OperatorRequest) GetHelmDeployCr() bool

func (*OperatorRequest) GetHelmDeployOperator

func (x *OperatorRequest) GetHelmDeployOperator() bool

func (*OperatorRequest) GetKubeVersion

func (x *OperatorRequest) GetKubeVersion() string

func (*OperatorRequest) GetLogCollectorVersion

func (x *OperatorRequest) GetLogCollectorVersion() string

func (*OperatorRequest) GetNamespaceUid

func (x *OperatorRequest) GetNamespaceUid() string

func (*OperatorRequest) GetOperatorVersion

func (x *OperatorRequest) GetOperatorVersion() string

func (*OperatorRequest) GetPhysicalBackupScheduled

func (x *OperatorRequest) GetPhysicalBackupScheduled() bool

func (*OperatorRequest) GetPitrEnabled

func (x *OperatorRequest) GetPitrEnabled() bool

func (*OperatorRequest) GetPlatform

func (x *OperatorRequest) GetPlatform() string

func (*OperatorRequest) GetPmmEnabled

func (x *OperatorRequest) GetPmmEnabled() bool

func (*OperatorRequest) GetPmmVersion

func (x *OperatorRequest) GetPmmVersion() string

func (*OperatorRequest) GetProduct

func (x *OperatorRequest) GetProduct() string

func (*OperatorRequest) GetProxysqlVersion

func (x *OperatorRequest) GetProxysqlVersion() string

func (*OperatorRequest) GetShardingEnabled

func (x *OperatorRequest) GetShardingEnabled() bool

func (*OperatorRequest) GetSidecarsUsed

func (x *OperatorRequest) GetSidecarsUsed() bool

func (*OperatorRequest) ProtoMessage

func (*OperatorRequest) ProtoMessage()

func (*OperatorRequest) ProtoReflect

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

func (*OperatorRequest) Reset

func (x *OperatorRequest) Reset()

func (*OperatorRequest) String

func (x *OperatorRequest) String() string

type OperatorResponse

type OperatorResponse struct {
	Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*OperatorResponse) Descriptor deprecated

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

Deprecated: Use OperatorResponse.ProtoReflect.Descriptor instead.

func (*OperatorResponse) GetVersions

func (x *OperatorResponse) GetVersions() []*OperatorVersion

func (*OperatorResponse) ProtoMessage

func (*OperatorResponse) ProtoMessage()

func (*OperatorResponse) ProtoReflect

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

func (*OperatorResponse) Reset

func (x *OperatorResponse) Reset()

func (*OperatorResponse) String

func (x *OperatorResponse) String() string

type OperatorVersion

type OperatorVersion struct {
	Product  string         `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	Operator string         `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Matrix   *VersionMatrix `protobuf:"bytes,3,opt,name=matrix,proto3" json:"matrix,omitempty"`
	// contains filtered or unexported fields
}

OperatorVersion represents operator version.

func (*OperatorVersion) Descriptor deprecated

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

Deprecated: Use OperatorVersion.ProtoReflect.Descriptor instead.

func (*OperatorVersion) GetMatrix

func (x *OperatorVersion) GetMatrix() *VersionMatrix

func (*OperatorVersion) GetOperator

func (x *OperatorVersion) GetOperator() string

func (*OperatorVersion) GetProduct

func (x *OperatorVersion) GetProduct() string

func (*OperatorVersion) ProtoMessage

func (*OperatorVersion) ProtoMessage()

func (*OperatorVersion) ProtoReflect

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

func (*OperatorVersion) Reset

func (x *OperatorVersion) Reset()

func (*OperatorVersion) String

func (x *OperatorVersion) String() string

type ProductRequest

type ProductRequest struct {
	Product                 string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	DatabaseVersion         string `protobuf:"bytes,4,opt,name=database_version,json=databaseVersion,proto3" json:"database_version,omitempty"`
	KubeVersion             string `protobuf:"bytes,5,opt,name=kube_version,json=kubeVersion,proto3" json:"kube_version,omitempty"`
	Platform                string `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
	PmmVersion              string `protobuf:"bytes,7,opt,name=pmm_version,json=pmmVersion,proto3" json:"pmm_version,omitempty"`
	BackupVersion           string `protobuf:"bytes,8,opt,name=backup_version,json=backupVersion,proto3" json:"backup_version,omitempty"`
	ProxysqlVersion         string `protobuf:"bytes,9,opt,name=proxysql_version,json=proxysqlVersion,proto3" json:"proxysql_version,omitempty"`
	HaproxyVersion          string `protobuf:"bytes,10,opt,name=haproxy_version,json=haproxyVersion,proto3" json:"haproxy_version,omitempty"`
	NamespaceUid            string `protobuf:"bytes,11,opt,name=namespace_uid,json=namespaceUid,proto3" json:"namespace_uid,omitempty"`
	CustomResourceUid       string `protobuf:"bytes,12,opt,name=custom_resource_uid,json=customResourceUid,proto3" json:"custom_resource_uid,omitempty"`
	LogCollectorVersion     string `protobuf:"bytes,13,opt,name=log_collector_version,json=logCollectorVersion,proto3" json:"log_collector_version,omitempty"`
	ShardingEnabled         bool   `protobuf:"varint,14,opt,name=sharding_enabled,json=shardingEnabled,proto3" json:"sharding_enabled,omitempty"`
	HashicorpVaultEnabled   bool   `` /* 128-byte string literal not displayed */
	ClusterWideEnabled      bool   `protobuf:"varint,16,opt,name=cluster_wide_enabled,json=clusterWideEnabled,proto3" json:"cluster_wide_enabled,omitempty"`
	PmmEnabled              bool   `protobuf:"varint,17,opt,name=pmm_enabled,json=pmmEnabled,proto3" json:"pmm_enabled,omitempty"`
	HelmDeployOperator      bool   `protobuf:"varint,18,opt,name=helm_deploy_operator,json=helmDeployOperator,proto3" json:"helm_deploy_operator,omitempty"`
	HelmDeployCr            bool   `protobuf:"varint,19,opt,name=helm_deploy_cr,json=helmDeployCr,proto3" json:"helm_deploy_cr,omitempty"`
	SidecarsUsed            bool   `protobuf:"varint,20,opt,name=sidecars_used,json=sidecarsUsed,proto3" json:"sidecars_used,omitempty"`
	BackupsEnabled          bool   `protobuf:"varint,21,opt,name=backups_enabled,json=backupsEnabled,proto3" json:"backups_enabled,omitempty"`
	ClusterSize             int32  `protobuf:"varint,22,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"`
	PitrEnabled             bool   `protobuf:"varint,23,opt,name=pitr_enabled,json=pitrEnabled,proto3" json:"pitr_enabled,omitempty"`
	PhysicalBackupScheduled bool   `` /* 134-byte string literal not displayed */
	Extensions              string `protobuf:"bytes,25,opt,name=extensions,proto3" json:"extensions,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductRequest) Descriptor deprecated

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

Deprecated: Use ProductRequest.ProtoReflect.Descriptor instead.

func (*ProductRequest) GetBackupVersion

func (x *ProductRequest) GetBackupVersion() string

func (*ProductRequest) GetBackupsEnabled

func (x *ProductRequest) GetBackupsEnabled() bool

func (*ProductRequest) GetClusterSize

func (x *ProductRequest) GetClusterSize() int32

func (*ProductRequest) GetClusterWideEnabled

func (x *ProductRequest) GetClusterWideEnabled() bool

func (*ProductRequest) GetCustomResourceUid

func (x *ProductRequest) GetCustomResourceUid() string

func (*ProductRequest) GetDatabaseVersion

func (x *ProductRequest) GetDatabaseVersion() string

func (*ProductRequest) GetExtensions

func (x *ProductRequest) GetExtensions() string

func (*ProductRequest) GetHaproxyVersion

func (x *ProductRequest) GetHaproxyVersion() string

func (*ProductRequest) GetHashicorpVaultEnabled

func (x *ProductRequest) GetHashicorpVaultEnabled() bool

func (*ProductRequest) GetHelmDeployCr

func (x *ProductRequest) GetHelmDeployCr() bool

func (*ProductRequest) GetHelmDeployOperator

func (x *ProductRequest) GetHelmDeployOperator() bool

func (*ProductRequest) GetKubeVersion

func (x *ProductRequest) GetKubeVersion() string

func (*ProductRequest) GetLogCollectorVersion

func (x *ProductRequest) GetLogCollectorVersion() string

func (*ProductRequest) GetNamespaceUid

func (x *ProductRequest) GetNamespaceUid() string

func (*ProductRequest) GetPhysicalBackupScheduled

func (x *ProductRequest) GetPhysicalBackupScheduled() bool

func (*ProductRequest) GetPitrEnabled

func (x *ProductRequest) GetPitrEnabled() bool

func (*ProductRequest) GetPlatform

func (x *ProductRequest) GetPlatform() string

func (*ProductRequest) GetPmmEnabled

func (x *ProductRequest) GetPmmEnabled() bool

func (*ProductRequest) GetPmmVersion

func (x *ProductRequest) GetPmmVersion() string

func (*ProductRequest) GetProduct

func (x *ProductRequest) GetProduct() string

func (*ProductRequest) GetProxysqlVersion

func (x *ProductRequest) GetProxysqlVersion() string

func (*ProductRequest) GetShardingEnabled

func (x *ProductRequest) GetShardingEnabled() bool

func (*ProductRequest) GetSidecarsUsed

func (x *ProductRequest) GetSidecarsUsed() bool

func (*ProductRequest) ProtoMessage

func (*ProductRequest) ProtoMessage()

func (*ProductRequest) ProtoReflect

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

func (*ProductRequest) Reset

func (x *ProductRequest) Reset()

func (*ProductRequest) String

func (x *ProductRequest) String() string

type ProductResponse

type ProductResponse struct {
	Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*ProductResponse) Descriptor deprecated

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

Deprecated: Use ProductResponse.ProtoReflect.Descriptor instead.

func (*ProductResponse) GetVersions

func (x *ProductResponse) GetVersions() []*OperatorVersion

func (*ProductResponse) ProtoMessage

func (*ProductResponse) ProtoMessage()

func (*ProductResponse) ProtoReflect

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

func (*ProductResponse) Reset

func (x *ProductResponse) Reset()

func (*ProductResponse) String

func (x *ProductResponse) String() string

type Status

type Status int32

Status describes the current version status.

const (
	Status_status_invalid Status = 0
	Status_recommended    Status = 1
	Status_available      Status = 2
	Status_required       Status = 3
	Status_disabled       Status = 4
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedVersionServiceServer

type UnimplementedVersionServiceServer struct {
}

UnimplementedVersionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedVersionServiceServer) Apply

func (*UnimplementedVersionServiceServer) Metadata

func (*UnimplementedVersionServiceServer) Operator

func (*UnimplementedVersionServiceServer) Product

type Version

type Version struct {
	ImagePath      string `protobuf:"bytes,1,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"`
	ImageHash      string `protobuf:"bytes,2,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"`
	ImageHashArm64 string `protobuf:"bytes,3,opt,name=image_hash_arm64,json=imageHashArm64,proto3" json:"image_hash_arm64,omitempty"`
	Status         Status `protobuf:"varint,4,opt,name=status,proto3,enum=version.Status" json:"status,omitempty"`
	Critical       bool   `protobuf:"varint,5,opt,name=critical,proto3" json:"critical,omitempty"`
	// contains filtered or unexported fields
}

Version represents product version information.

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetCritical

func (x *Version) GetCritical() bool

func (*Version) GetImageHash

func (x *Version) GetImageHash() string

func (*Version) GetImageHashArm64

func (x *Version) GetImageHashArm64() string

func (*Version) GetImagePath

func (x *Version) GetImagePath() string

func (*Version) GetStatus

func (x *Version) GetStatus() Status

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionMatrix

type VersionMatrix struct {
	Mongod              map[string]*Version `` /* 153-byte string literal not displayed */
	Pxc                 map[string]*Version `` /* 147-byte string literal not displayed */
	Pmm                 map[string]*Version `` /* 147-byte string literal not displayed */
	Proxysql            map[string]*Version `` /* 157-byte string literal not displayed */
	Haproxy             map[string]*Version `` /* 155-byte string literal not displayed */
	Backup              map[string]*Version `` /* 153-byte string literal not displayed */
	Operator            map[string]*Version `` /* 157-byte string literal not displayed */
	LogCollector        map[string]*Version `` /* 185-byte string literal not displayed */
	Postgresql          map[string]*Version `` /* 161-byte string literal not displayed */
	Pgbackrest          map[string]*Version `` /* 162-byte string literal not displayed */
	PgbackrestRepo      map[string]*Version `` /* 192-byte string literal not displayed */
	Pgbadger            map[string]*Version `` /* 158-byte string literal not displayed */
	Pgbouncer           map[string]*Version `` /* 160-byte string literal not displayed */
	PxcOperator         map[string]*Version `` /* 183-byte string literal not displayed */
	PsmdbOperator       map[string]*Version `` /* 189-byte string literal not displayed */
	PgOperatorApiserver map[string]*Version `` /* 209-byte string literal not displayed */
	PgOperatorEvent     map[string]*Version `` /* 197-byte string literal not displayed */
	PgOperatorRmdata    map[string]*Version `` /* 200-byte string literal not displayed */
	PgOperatorScheduler map[string]*Version `` /* 209-byte string literal not displayed */
	PgOperator          map[string]*Version `` /* 180-byte string literal not displayed */
	PgOperatorDeployer  map[string]*Version `` /* 206-byte string literal not displayed */
	PsOperator          map[string]*Version `` /* 180-byte string literal not displayed */
	Mysql               map[string]*Version `` /* 152-byte string literal not displayed */
	Router              map[string]*Version `` /* 154-byte string literal not displayed */
	Orchestrator        map[string]*Version `` /* 166-byte string literal not displayed */
	Toolkit             map[string]*Version `` /* 156-byte string literal not displayed */
	Postgis             map[string]*Version `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

VersionMatrix represents set of possible product versions.

func (*VersionMatrix) Descriptor deprecated

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

Deprecated: Use VersionMatrix.ProtoReflect.Descriptor instead.

func (*VersionMatrix) GetBackup

func (x *VersionMatrix) GetBackup() map[string]*Version

func (*VersionMatrix) GetHaproxy

func (x *VersionMatrix) GetHaproxy() map[string]*Version

func (*VersionMatrix) GetLogCollector

func (x *VersionMatrix) GetLogCollector() map[string]*Version

func (*VersionMatrix) GetMongod

func (x *VersionMatrix) GetMongod() map[string]*Version

func (*VersionMatrix) GetMysql

func (x *VersionMatrix) GetMysql() map[string]*Version

func (*VersionMatrix) GetOperator

func (x *VersionMatrix) GetOperator() map[string]*Version

func (*VersionMatrix) GetOrchestrator

func (x *VersionMatrix) GetOrchestrator() map[string]*Version

func (*VersionMatrix) GetPgOperator

func (x *VersionMatrix) GetPgOperator() map[string]*Version

func (*VersionMatrix) GetPgOperatorApiserver

func (x *VersionMatrix) GetPgOperatorApiserver() map[string]*Version

func (*VersionMatrix) GetPgOperatorDeployer

func (x *VersionMatrix) GetPgOperatorDeployer() map[string]*Version

func (*VersionMatrix) GetPgOperatorEvent

func (x *VersionMatrix) GetPgOperatorEvent() map[string]*Version

func (*VersionMatrix) GetPgOperatorRmdata

func (x *VersionMatrix) GetPgOperatorRmdata() map[string]*Version

func (*VersionMatrix) GetPgOperatorScheduler

func (x *VersionMatrix) GetPgOperatorScheduler() map[string]*Version

func (*VersionMatrix) GetPgbackrest

func (x *VersionMatrix) GetPgbackrest() map[string]*Version

func (*VersionMatrix) GetPgbackrestRepo

func (x *VersionMatrix) GetPgbackrestRepo() map[string]*Version

func (*VersionMatrix) GetPgbadger

func (x *VersionMatrix) GetPgbadger() map[string]*Version

func (*VersionMatrix) GetPgbouncer

func (x *VersionMatrix) GetPgbouncer() map[string]*Version

func (*VersionMatrix) GetPmm

func (x *VersionMatrix) GetPmm() map[string]*Version

func (*VersionMatrix) GetPostgis

func (x *VersionMatrix) GetPostgis() map[string]*Version

func (*VersionMatrix) GetPostgresql

func (x *VersionMatrix) GetPostgresql() map[string]*Version

func (*VersionMatrix) GetProxysql

func (x *VersionMatrix) GetProxysql() map[string]*Version

func (*VersionMatrix) GetPsOperator

func (x *VersionMatrix) GetPsOperator() map[string]*Version

func (*VersionMatrix) GetPsmdbOperator

func (x *VersionMatrix) GetPsmdbOperator() map[string]*Version

func (*VersionMatrix) GetPxc

func (x *VersionMatrix) GetPxc() map[string]*Version

func (*VersionMatrix) GetPxcOperator

func (x *VersionMatrix) GetPxcOperator() map[string]*Version

func (*VersionMatrix) GetRouter

func (x *VersionMatrix) GetRouter() map[string]*Version

func (*VersionMatrix) GetToolkit

func (x *VersionMatrix) GetToolkit() map[string]*Version

func (*VersionMatrix) ProtoMessage

func (*VersionMatrix) ProtoMessage()

func (*VersionMatrix) ProtoReflect

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

func (*VersionMatrix) Reset

func (x *VersionMatrix) Reset()

func (*VersionMatrix) String

func (x *VersionMatrix) String() string

type VersionResponse

type VersionResponse struct {
	Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersions

func (x *VersionResponse) GetVersions() []*OperatorVersion

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

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

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type VersionServiceClient

type VersionServiceClient interface {
	// Apply provides information about specific product version and its dependencies.
	Apply(ctx context.Context, in *ApplyRequest, opts ...grpc.CallOption) (*VersionResponse, error)
	// Operator provides information about product versions and its dependencies for operator.
	Operator(ctx context.Context, in *OperatorRequest, opts ...grpc.CallOption) (*OperatorResponse, error)
	// Product provides information about product versions among all operator versions.
	Product(ctx context.Context, in *ProductRequest, opts ...grpc.CallOption) (*ProductResponse, error)
	// Metadata provides metadata information about products.
	Metadata(ctx context.Context, in *MetadataRequest, opts ...grpc.CallOption) (*MetadataResponse, error)
}

VersionServiceClient is the client API for VersionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type VersionServiceServer

type VersionServiceServer interface {
	// Apply provides information about specific product version and its dependencies.
	Apply(context.Context, *ApplyRequest) (*VersionResponse, error)
	// Operator provides information about product versions and its dependencies for operator.
	Operator(context.Context, *OperatorRequest) (*OperatorResponse, error)
	// Product provides information about product versions among all operator versions.
	Product(context.Context, *ProductRequest) (*ProductResponse, error)
	// Metadata provides metadata information about products.
	Metadata(context.Context, *MetadataRequest) (*MetadataResponse, error)
}

VersionServiceServer is the server API for VersionService service.

Jump to

Keyboard shortcuts

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