Documentation ¶
Index ¶
- func NewResourceManager(db repo_interface.Repository, ...) interfaces.ResourceInterface
- type ResourceManager
- func (m *ResourceManager) DeleteProjectAttributes(ctx context.Context, request admin.ProjectAttributesDeleteRequest) (*admin.ProjectAttributesDeleteResponse, error)
- func (m *ResourceManager) DeleteProjectDomainAttributes(ctx context.Context, request admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error)
- func (m *ResourceManager) DeleteWorkflowAttributes(ctx context.Context, request admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error)
- func (m *ResourceManager) GetProjectAttributes(ctx context.Context, request admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error)
- func (m *ResourceManager) GetProjectAttributesBase(ctx context.Context, request admin.ProjectAttributesGetRequest) (*admin.ProjectAttributesGetResponse, error)
- func (m *ResourceManager) GetProjectDomainAttributes(ctx context.Context, request admin.ProjectDomainAttributesGetRequest) (*admin.ProjectDomainAttributesGetResponse, error)
- func (m *ResourceManager) GetResource(ctx context.Context, request interfaces.ResourceRequest) (*interfaces.ResourceResponse, error)
- func (m *ResourceManager) GetWorkflowAttributes(ctx context.Context, request admin.WorkflowAttributesGetRequest) (*admin.WorkflowAttributesGetResponse, error)
- func (m *ResourceManager) ListAll(ctx context.Context, request admin.ListMatchableAttributesRequest) (*admin.ListMatchableAttributesResponse, error)
- func (m *ResourceManager) UpdateProjectAttributes(ctx context.Context, request admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error)
- func (m *ResourceManager) UpdateProjectDomainAttributes(ctx context.Context, request admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error)
- func (m *ResourceManager) UpdateWorkflowAttributes(ctx context.Context, request admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResourceManager ¶
func NewResourceManager(db repo_interface.Repository, config runtimeInterfaces.ApplicationConfiguration) interfaces.ResourceInterface
Types ¶
type ResourceManager ¶
type ResourceManager struct {
// contains filtered or unexported fields
}
func (*ResourceManager) DeleteProjectAttributes ¶ added in v1.1.46
func (m *ResourceManager) DeleteProjectAttributes(ctx context.Context, request admin.ProjectAttributesDeleteRequest) ( *admin.ProjectAttributesDeleteResponse, error)
func (*ResourceManager) DeleteProjectDomainAttributes ¶
func (m *ResourceManager) DeleteProjectDomainAttributes(ctx context.Context, request admin.ProjectDomainAttributesDeleteRequest) (*admin.ProjectDomainAttributesDeleteResponse, error)
func (*ResourceManager) DeleteWorkflowAttributes ¶
func (m *ResourceManager) DeleteWorkflowAttributes(ctx context.Context, request admin.WorkflowAttributesDeleteRequest) (*admin.WorkflowAttributesDeleteResponse, error)
func (*ResourceManager) GetProjectAttributes ¶ added in v1.1.46
func (m *ResourceManager) GetProjectAttributes(ctx context.Context, request admin.ProjectAttributesGetRequest) ( *admin.ProjectAttributesGetResponse, error)
GetProjectAttributes combines the call to the database to get the Project level settings with Admin server level configuration. Note this merge is only done for WorkflowExecutionConfig This code should be removed pending implementation of a complete settings implementation.
func (*ResourceManager) GetProjectAttributesBase ¶ added in v1.1.46
func (m *ResourceManager) GetProjectAttributesBase(ctx context.Context, request admin.ProjectAttributesGetRequest) ( *admin.ProjectAttributesGetResponse, error)
func (*ResourceManager) GetProjectDomainAttributes ¶
func (m *ResourceManager) GetProjectDomainAttributes( ctx context.Context, request admin.ProjectDomainAttributesGetRequest) ( *admin.ProjectDomainAttributesGetResponse, error)
func (*ResourceManager) GetResource ¶
func (m *ResourceManager) GetResource(ctx context.Context, request interfaces.ResourceRequest) (*interfaces.ResourceResponse, error)
func (*ResourceManager) GetWorkflowAttributes ¶
func (m *ResourceManager) GetWorkflowAttributes( ctx context.Context, request admin.WorkflowAttributesGetRequest) ( *admin.WorkflowAttributesGetResponse, error)
func (*ResourceManager) ListAll ¶
func (m *ResourceManager) ListAll(ctx context.Context, request admin.ListMatchableAttributesRequest) ( *admin.ListMatchableAttributesResponse, error)
func (*ResourceManager) UpdateProjectAttributes ¶ added in v1.1.46
func (m *ResourceManager) UpdateProjectAttributes(ctx context.Context, request admin.ProjectAttributesUpdateRequest) ( *admin.ProjectAttributesUpdateResponse, error)
func (*ResourceManager) UpdateProjectDomainAttributes ¶
func (m *ResourceManager) UpdateProjectDomainAttributes( ctx context.Context, request admin.ProjectDomainAttributesUpdateRequest) ( *admin.ProjectDomainAttributesUpdateResponse, error)
func (*ResourceManager) UpdateWorkflowAttributes ¶
func (m *ResourceManager) UpdateWorkflowAttributes( ctx context.Context, request admin.WorkflowAttributesUpdateRequest) ( *admin.WorkflowAttributesUpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.