Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertClusterAnnotations(id string, annotations map[string]string) []dbapi.ConnectorClusterAnnotation
- func ConvertConditions(in []private.MetaV1Condition) []dbapi.Condition
- func ConvertConnector(from public.Connector) (*dbapi.Connector, *errors.ServiceError)
- func ConvertConnectorAnnotations(id string, annotations map[string]string) []dbapi.ConnectorAnnotation
- func ConvertConnectorClusterRequest(id string, from public.ConnectorClusterRequest, userID, orgID string) *dbapi.ConnectorCluster
- func ConvertConnectorClusterStatus(from private.ConnectorClusterStatus) dbapi.ConnectorClusterStatus
- func ConvertConnectorDeploymentStatus(from private.ConnectorDeploymentStatus) (dbapi.ConnectorDeploymentStatus, *errors.ServiceError)
- func ConvertConnectorNamespaceDeploymentStatus(from private.ConnectorNamespaceDeploymentStatus) *dbapi.ConnectorNamespaceStatus
- func ConvertConnectorNamespaceEvalRequest(namespaceRequest *public.ConnectorNamespaceEvalRequest, userID string) *dbapi.ConnectorNamespace
- func ConvertConnectorNamespaceRequest(namespaceRequest *public.ConnectorNamespaceRequest, userID string, ...) (*dbapi.ConnectorNamespace, *errors.ServiceError)
- func ConvertConnectorNamespaceWithTenantRequest(namespaceRequest *admin.ConnectorNamespaceWithTenantRequest) (*dbapi.ConnectorNamespace, *errors.ServiceError)
- func ConvertConnectorRequest(id string, from public.ConnectorRequest) (*dbapi.Connector, *errors.ServiceError)
- func ConvertConnectorType(from public.ConnectorType) (*dbapi.ConnectorType, error)
- func ConvertNamespaceAnnotations(namespaceId string, annotations map[string]string) []dbapi.ConnectorNamespaceAnnotation
- func ConvertOperatorStatus(in []private.ConnectorClusterStatusOperators) []dbapi.OperatorStatus
- func ConvertTypeAnnotations(id string, annotations map[string]string) []dbapi.ConnectorTypeAnnotation
- func PresentAddonParameter(from ocm.Parameter) public.AddonParameter
- func PresentAdminConditions(in []dbapi.Condition) []admin.MetaV1Condition
- func PresentAdminOperators(in []dbapi.OperatorStatus) []admin.ConnectorClusterAdminStatusOperators
- func PresentClusterAnnotations(annotations []dbapi.ConnectorClusterAnnotation) map[string]string
- func PresentConnector(from *dbapi.Connector) (public.Connector, *errors.ServiceError)
- func PresentConnectorAdminView(from *dbapi.ConnectorWithConditions) (admin.ConnectorAdminView, *errors.ServiceError)
- func PresentConnectorAnnotations(annotations []dbapi.ConnectorAnnotation) map[string]string
- func PresentConnectorCluster(from *dbapi.ConnectorCluster) public.ConnectorCluster
- func PresentConnectorClusterAdminStatus(from dbapi.ConnectorClusterStatus) admin.ConnectorClusterAdminStatus
- func PresentConnectorDeployment(from dbapi.ConnectorDeployment, resolvedSecrets bool) (private.ConnectorDeployment, *errors.ServiceError)
- func PresentConnectorDeploymentAdminView(from dbapi.ConnectorDeployment, clusterId string) (admin.ConnectorDeploymentAdminView, *errors.ServiceError)
- func PresentConnectorNamespace(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) public.ConnectorNamespace
- func PresentConnectorNamespaceDeployment(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) private.ConnectorNamespaceDeployment
- func PresentConnectorType(from *dbapi.ConnectorType) (*public.ConnectorType, error)
- func PresentConnectorTypeAdminView(from dbapi.ConnectorCatalogEntry) (*admin.ConnectorTypeAdminView, *errors.ServiceError)
- func PresentConnectorTypeLabelCount(from *dbapi.ConnectorTypeLabelCount) (*public.ConnectorTypeLabelCount, error)
- func PresentConnectorWithError(from *dbapi.ConnectorWithConditions) (public.Connector, *errors.ServiceError)
- func PresentNamespaceAnnotations(annotations []dbapi.ConnectorNamespaceAnnotation) map[string]string
- func PresentPrivateConnectorCluster(from *dbapi.ConnectorCluster) private.ConnectorClusterAdminView
- func PresentPrivateConnectorNamespace(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) admin.ConnectorNamespace
- func PresentReference(id, obj interface{}) compat.ObjectReference
- func PresentTypeAnnotations(annotations []dbapi.ConnectorTypeAnnotation) map[string]string
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 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 ConvertConnectorClusterStatus ¶
func ConvertConnectorClusterStatus(from private.ConnectorClusterStatus) dbapi.ConnectorClusterStatus
func ConvertConnectorDeploymentStatus ¶
func ConvertConnectorDeploymentStatus(from private.ConnectorDeploymentStatus) (dbapi.ConnectorDeploymentStatus, *errors.ServiceError)
func ConvertConnectorNamespaceDeploymentStatus ¶
func ConvertConnectorNamespaceDeploymentStatus(from private.ConnectorNamespaceDeploymentStatus) *dbapi.ConnectorNamespaceStatus
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 ConvertOperatorStatus ¶
func ConvertOperatorStatus(in []private.ConnectorClusterStatusOperators) []dbapi.OperatorStatus
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 PresentAdminOperators ¶
func PresentAdminOperators(in []dbapi.OperatorStatus) []admin.ConnectorClusterAdminStatusOperators
func PresentClusterAnnotations ¶
func PresentClusterAnnotations(annotations []dbapi.ConnectorClusterAnnotation) map[string]string
func PresentConnector ¶
func PresentConnectorAdminView ¶
func PresentConnectorAdminView(from *dbapi.ConnectorWithConditions) (admin.ConnectorAdminView, *errors.ServiceError)
func PresentConnectorAnnotations ¶
func PresentConnectorAnnotations(annotations []dbapi.ConnectorAnnotation) map[string]string
func PresentConnectorCluster ¶
func PresentConnectorCluster(from *dbapi.ConnectorCluster) public.ConnectorCluster
func PresentConnectorClusterAdminStatus ¶
func PresentConnectorClusterAdminStatus(from dbapi.ConnectorClusterStatus) admin.ConnectorClusterAdminStatus
func PresentConnectorDeployment ¶
func PresentConnectorDeployment(from dbapi.ConnectorDeployment, resolvedSecrets bool) (private.ConnectorDeployment, *errors.ServiceError)
func PresentConnectorDeploymentAdminView ¶
func PresentConnectorDeploymentAdminView(from dbapi.ConnectorDeployment, clusterId string) (admin.ConnectorDeploymentAdminView, *errors.ServiceError)
func PresentConnectorNamespace ¶
func PresentConnectorNamespace(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) public.ConnectorNamespace
func PresentConnectorNamespaceDeployment ¶
func PresentConnectorNamespaceDeployment(namespace *dbapi.ConnectorNamespace, quotaConfig *config.ConnectorsQuotaConfig) private.ConnectorNamespaceDeployment
func PresentConnectorType ¶
func PresentConnectorType(from *dbapi.ConnectorType) (*public.ConnectorType, error)
func PresentConnectorTypeAdminView ¶
func PresentConnectorTypeAdminView(from dbapi.ConnectorCatalogEntry) (*admin.ConnectorTypeAdminView, *errors.ServiceError)
func PresentConnectorTypeLabelCount ¶
func PresentConnectorTypeLabelCount(from *dbapi.ConnectorTypeLabelCount) (*public.ConnectorTypeLabelCount, error)
func PresentConnectorWithError ¶
func PresentConnectorWithError(from *dbapi.ConnectorWithConditions) (public.Connector, *errors.ServiceError)
func PresentNamespaceAnnotations ¶
func PresentNamespaceAnnotations(annotations []dbapi.ConnectorNamespaceAnnotation) map[string]string
func PresentPrivateConnectorCluster ¶
func PresentPrivateConnectorCluster(from *dbapi.ConnectorCluster) private.ConnectorClusterAdminView
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.
Click to show internal directories.
Click to hide internal directories.