Documentation
¶
Index ¶
- type ACMService
- func (s *ACMService) CreateTask(ctx context.Context, scope commonDto.Scope, params *dto.CreateACMTaskRequest) (*dto.ACMTaskResponse, error)
- func (s *ACMService) ListTaskExecutions(ctx context.Context, scope commonDto.Scope, ...) (*dto.ACMExecutionsListResponse, error)
- func (s *ACMService) TriggerTaskExecution(ctx context.Context, scope commonDto.Scope, ...) (*dto.ACMExecution, error)
- type ExternalFactoryProvider
- type ExternalProvider
- func (p *ExternalProvider) BuildServiceURL(config *config.McpServerConfig, ...) string
- func (p *ExternalProvider) ConfigureAuth(ctx context.Context, cfg *nextgen.Configuration, ...) error
- func (p *ExternalProvider) CreateClient(ctx context.Context, config *config.McpServerConfig, ...) (*commonlicense.CustomLicensesApiService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACMService ¶
type ACMService struct {
Client *commonClient.Client
}
ACMService provides methods to interact with the Autonomous Code Maintenance API
func (*ACMService) CreateTask ¶
func (s *ACMService) CreateTask(ctx context.Context, scope commonDto.Scope, params *dto.CreateACMTaskRequest) (*dto.ACMTaskResponse, error)
CreateTask creates a new autonomous code maintenance task
func (*ACMService) ListTaskExecutions ¶
func (s *ACMService) ListTaskExecutions(ctx context.Context, scope commonDto.Scope, params *dto.GetACMExecutionsRequest) (*dto.ACMExecutionsListResponse, error)
ListTaskExecutions lists executions of an autonomous code maintenance task
func (*ACMService) TriggerTaskExecution ¶
func (s *ACMService) TriggerTaskExecution(ctx context.Context, scope commonDto.Scope, params *dto.TriggerACMTaskExecutionRequest) (*dto.ACMExecution, error)
TriggerTaskExecution triggers execution of an autonomous code maintenance task
type ExternalFactoryProvider ¶
type ExternalFactoryProvider struct{}
func (*ExternalFactoryProvider) CreateLicenseClient ¶
func (p *ExternalFactoryProvider) CreateLicenseClient(ctx context.Context, factory *clientfactory.ClientFactory) (*commonlicense.CustomLicensesApiService, error)
CreateLicenseClient creates a license client using the standard configuration This method encapsulates the common license client creation logic used across the application It reuses a single client instance if already created
type ExternalProvider ¶
type ExternalProvider struct{}
ExternalProvider implements LicenseClientProvider for external mode
func (*ExternalProvider) BuildServiceURL ¶
func (p *ExternalProvider) BuildServiceURL(config *config.McpServerConfig, internalBaseURL, externalBaseURL, externalPathPrefix string) string
func (*ExternalProvider) ConfigureAuth ¶
func (p *ExternalProvider) ConfigureAuth(ctx context.Context, cfg *nextgen.Configuration, config *config.McpServerConfig, secret string) error
func (*ExternalProvider) CreateClient ¶
func (p *ExternalProvider) CreateClient(ctx context.Context, config *config.McpServerConfig, licenseBaseURL, baseURL, path, secret string) (*commonlicense.CustomLicensesApiService, error)
Click to show internal directories.
Click to hide internal directories.