presenters

package
v0.0.0-...-9b598c7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KindConnector is a string identifier for the type dbapi.Connector
	KindConnector = "Connector"
	// KindConnectorAdminView is a string identifier for the type admin.ConnectorAdminView
	KindConnectorAdminView = "ConnectorAdminView"
	// KindConnectorCluster is a string identifier for the type dbapi.ConnectorCluster
	KindConnectorCluster = "ConnectorCluster"
	// KindConnectorDeployment is a string identifier for the type dbapi.ConnectorDeployment
	KindConnectorDeployment = "ConnectorDeployment"
	// KindConnectorDeploymentAdminView is a string identifier for the type admin.ConnectorDeploymentAdminView
	KindConnectorDeploymentAdminView = "ConnectorDeploymentAdminView"
	// KindConnectorNamespace is a string identifier for the type dbapi.ConnectorNamespace
	KindConnectorNamespace = "ConnectorNamespace"
	// KindConnectorType is a string identifier for the type dbapi.ConnectorType
	KindConnectorType = "ConnectorType"
	// ConnectorTypeAdminView is a string identifier for the type admin.ConnectorTypeAdminView
	ConnectorTypeAdminView = "ConnectorTypeAdminView"
	// KindError is a string identifier for the type api.ServiceError
	KindError = "Error"
)

Variables

Functions

func ConvertClusterAnnotations

func ConvertClusterAnnotations(id string, annotations map[string]string) []dbapi.ConnectorClusterAnnotation

func ConvertConditions

func ConvertConditions(in []private.MetaV1Condition) []dbapi.Condition

func ConvertConnector

func ConvertConnector(from public.Connector) (*dbapi.Connector, *errors.ServiceError)

func ConvertConnectorAnnotations

func ConvertConnectorAnnotations(id string, annotations map[string]string) []dbapi.ConnectorAnnotation

func ConvertConnectorClusterRequest

func ConvertConnectorClusterRequest(id string, from public.ConnectorClusterRequest, userID, orgID string) *dbapi.ConnectorCluster

func ConvertConnectorNamespaceEvalRequest

func ConvertConnectorNamespaceEvalRequest(namespaceRequest *public.ConnectorNamespaceEvalRequest, userID string) *dbapi.ConnectorNamespace

func ConvertConnectorNamespaceRequest

func ConvertConnectorNamespaceRequest(namespaceRequest *public.ConnectorNamespaceRequest,
	userID string, organisationID string) (*dbapi.ConnectorNamespace, *errors.ServiceError)

func ConvertConnectorNamespaceWithTenantRequest

func ConvertConnectorNamespaceWithTenantRequest(namespaceRequest *admin.ConnectorNamespaceWithTenantRequest) (*dbapi.ConnectorNamespace, *errors.ServiceError)

func ConvertConnectorRequest

func ConvertConnectorRequest(id string, from public.ConnectorRequest) (*dbapi.Connector, *errors.ServiceError)

func ConvertConnectorType

func ConvertConnectorType(from public.ConnectorType) (*dbapi.ConnectorType, error)

func ConvertNamespaceAnnotations

func ConvertNamespaceAnnotations(namespaceId string, annotations map[string]string) []dbapi.ConnectorNamespaceAnnotation

func ConvertTypeAnnotations

func ConvertTypeAnnotations(id string, annotations map[string]string) []dbapi.ConnectorTypeAnnotation

func PresentAddonParameter

func PresentAddonParameter(from ocm.Parameter) public.AddonParameter

func PresentAdminConditions

func PresentAdminConditions(in []dbapi.Condition) []admin.MetaV1Condition

func PresentClusterAnnotations

func PresentClusterAnnotations(annotations []dbapi.ConnectorClusterAnnotation) map[string]string

func PresentConnector

func PresentConnector(from *dbapi.Connector) (public.Connector, *errors.ServiceError)

func PresentConnectorAnnotations

func PresentConnectorAnnotations(annotations []dbapi.ConnectorAnnotation) map[string]string

func PresentConnectorCluster

func PresentConnectorCluster(from *dbapi.ConnectorCluster) public.ConnectorCluster

func PresentConnectorDeployment

func PresentConnectorDeployment(from dbapi.ConnectorDeployment, resolvedSecrets bool) (private.ConnectorDeployment, *errors.ServiceError)

func PresentConnectorNamespace

func PresentConnectorNamespace(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) public.ConnectorNamespace

func PresentConnectorType

func PresentConnectorType(from *dbapi.ConnectorType) (*public.ConnectorType, error)

func PresentNamespaceAnnotations

func PresentNamespaceAnnotations(annotations []dbapi.ConnectorNamespaceAnnotation) map[string]string

func PresentPrivateConnectorNamespace

func PresentPrivateConnectorNamespace(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) admin.ConnectorNamespace

func PresentReference

func PresentReference(id, obj interface{}) compat.ObjectReference

func PresentTypeAnnotations

func PresentTypeAnnotations(annotations []dbapi.ConnectorTypeAnnotation) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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