Documentation ¶
Index ¶
- Variables
- type Backend
- func (b *Backend) Apply(ctx context.Context, req *pbVersion.ApplyRequest) (*pbVersion.VersionResponse, error)
- func (b *Backend) GetReleaseNotes(ctx context.Context, req *pbVersion.GetReleaseNotesRequest) (*pbVersion.GetReleaseNotesResponse, error)
- func (b *Backend) Metadata(ctx context.Context, req *pbVersion.MetadataRequest) (*pbVersion.MetadataResponse, error)
- func (b *Backend) MetadataV2(ctx context.Context, req *pbVersion.MetadataRequest) (*pbVersion.MetadataV2Response, error)
- func (b *Backend) Operator(ctx context.Context, req *pbVersion.OperatorRequest) (*pbVersion.OperatorResponse, error)
- func (b *Backend) Product(ctx context.Context, req *pbVersion.ProductRequest) (*pbVersion.ProductResponse, error)
- type Deps
- type Metadata
- type ReleaseNotes
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("requested resource was not found")
View Source
var ( // JsonPbMarshaller is the marshaller used for serializing protobuf messages. // If needed, this variable can be reassigned with a different marshaller with the same Marshal() signature. JsonPbMarshaller grpc_logging.JsonPbMarshaler = &jsonpb.Marshaler{} )
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { pbVersion.UnimplementedVersionServiceServer // contains filtered or unexported fields }
Backend implements the protobuf interface.
func (*Backend) Apply ¶
func (b *Backend) Apply(ctx context.Context, req *pbVersion.ApplyRequest) (*pbVersion.VersionResponse, error)
func (*Backend) GetReleaseNotes ¶
func (b *Backend) GetReleaseNotes(ctx context.Context, req *pbVersion.GetReleaseNotesRequest) (*pbVersion.GetReleaseNotesResponse, error)
func (*Backend) Metadata ¶
func (b *Backend) Metadata(ctx context.Context, req *pbVersion.MetadataRequest) (*pbVersion.MetadataResponse, error)
func (*Backend) MetadataV2 ¶
func (b *Backend) MetadataV2(ctx context.Context, req *pbVersion.MetadataRequest) (*pbVersion.MetadataV2Response, error)
func (*Backend) Operator ¶
func (b *Backend) Operator(ctx context.Context, req *pbVersion.OperatorRequest) (*pbVersion.OperatorResponse, error)
func (*Backend) Product ¶
func (b *Backend) Product(ctx context.Context, req *pbVersion.ProductRequest) (*pbVersion.ProductResponse, error)
type Deps ¶
type Deps struct { Backup map[string]interface{} `json:"backup,omitempty"` PMM map[string]interface{} `json:"pmm,omitempty"` ProxySQL map[string]interface{} `json:"proxy_sql,omitempty"` Haproxy map[string]interface{} `json:"haproxy,omitempty"` LogCollector map[string]interface{} `json:"logCollector,omitempty"` PgBackrest map[string]interface{} `json:"pgbackrest,omitempty"` PgBackrestRepo map[string]interface{} `json:"pgbackrest_repo,omitempty"` Pgbadger map[string]interface{} `json:"pgbadger,omitempty"` Pgbouncer map[string]interface{} `json:"pgbouncer,omitempty"` Postgis map[string]interface{} `json:"postgis,omitempty"` Orchestrator map[string]interface{} `json:"orchestrator,omitempty"` Router map[string]interface{} `json:"router,omitempty"` Toolkit map[string]interface{} `json:"toolkit,omitempty"` }
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
type ReleaseNotes ¶
type ReleaseNotes struct {
// contains filtered or unexported fields
}
func NewReleaseNotes ¶
func NewReleaseNotes(fs fs.FS) *ReleaseNotes
func (*ReleaseNotes) GetReleaseNote ¶
func (r *ReleaseNotes) GetReleaseNote(product, version string) (*pbVersion.GetReleaseNotesResponse, error)
Click to show internal directories.
Click to hide internal directories.