Versions in this module Expand all Collapse all v0 v0.16.4 Feb 10, 2021 v0.16.3 Jan 14, 2021 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + AttachmentApi *AttachmentApiService + DefaultApi *DefaultApiService + FlpApi *FlpApiService + LogApi *LogApiService + RunApi *RunApiService + SubsystemApi *SubsystemApiService + TagApi *TagApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type ApiInformation struct + Name string + Version string + type ArrayOfAttachmentsResponse struct + Data *[]Attachment + type ArrayOfFlpsResponse struct + Data *[]Flp + Meta *ArrayOfFlpsResponseMeta + type ArrayOfFlpsResponseMeta struct + Page *PaginationMeta + type ArrayOfLogsResponse struct + Data *[]Log + Meta *ArrayOfLogsResponseMeta + type ArrayOfLogsResponseMeta struct + Page *PaginationMeta + type ArrayOfRunsResponse struct + Data *[]Run + Meta *ArrayOfRunsResponseMeta + type ArrayOfRunsResponseMeta struct + Page *PaginationMeta + type ArrayOfSubsystemsResponse struct + Data *[]Subsystem + Meta *ArrayOfSubsystemsResponseMeta + type ArrayOfSubsystemsResponseMeta struct + Page *PaginationMeta + type ArrayOfTagsResponse struct + Data *[]Tag + type Attachment struct + CreatedAt int64 + Encoding string + FileName string + Id int64 + LogId int64 + MimeType string + OriginalName string + Path string + Size int64 + UpdatedAt int64 + type AttachmentApiService service + func (a *AttachmentApiService) CreateAttachment(ctx context.Context, body CreateAttachments) (ArrayOfAttachmentsResponse, *http.Response, error) + func (a *AttachmentApiService) GetAttachment(ctx context.Context, attachmentId int64) (ArrayOfAttachmentsResponse, *http.Response, error) + type AttachmentResponse struct + Data *Attachment + type BasicAuth struct + Password string + UserName string + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type CreateAttachments struct + Attachments *[]Attachment + type CreateFlp struct + Hostname string + Name string + RunNumber int64 + type CreateLog struct + Attachments *[]Attachment + ParentLogId int64 + RunNumbers string + Text string + Title string + type CreateSubsystem struct + Text string + type CreateTag struct + Text string + type DefaultApiService service + func (a *DefaultApiService) GetDeployInformation(ctx context.Context) (DeployInformation, *http.Response, error) + func (a *DefaultApiService) GetServerInformation(ctx context.Context) (ApiInformation, *http.Response, error) + type DeployInformation struct + Age float64 + Start int64 + type Entity struct + CreatedAt int64 + Id int64 + UpdatedAt int64 + type ErrorSource struct + Pointer string + type Errors struct + Errors []ModelError + type FilterLogsCreatedOptions struct + From int64 + To int64 + type FilterLogsOptions struct + Author string + Created *FilterLogsCreatedOptions + Origin *LogOrigin + ParentLog int64 + RootLog int64 + Tag *FilterLogsTagOptions + Title string + type FilterLogsTagOptions struct + Operation string + Values string + type Flp struct + BytesEquipmentReadOut int64 + BytesFairMQReadOut int64 + BytesProcessed int64 + BytesRecordingReadOut int64 + CreatedAt int64 + Hostname string + Id int64 + NTimeframes int64 + Name string + UpdatedAt int64 + type FlpApiService service + func (a *FlpApiService) CreateFlp(ctx context.Context, body CreateFlp) (LogResponse, *http.Response, error) + func (a *FlpApiService) GetFlpById(ctx context.Context, flpId int64) (FlpResponse, *http.Response, error) + func (a *FlpApiService) ListFlps(ctx context.Context) (ArrayOfFlpsResponse, *http.Response, error) + func (a *FlpApiService) UpdateFlp(ctx context.Context, body UpdateFlp, flpId int64) (FlpResponse, *http.Response, error) + type FlpResponse struct + Data *Flp + type FlpSortOptions struct + Id *SortOrder + type GenericSwaggerError struct + func (e GenericSwaggerError) Body() []byte + func (e GenericSwaggerError) Error() string + func (e GenericSwaggerError) Model() interface{} + type Log struct + Attachments *[]Attachment + Author *User + CreatedAt int64 + Id int64 + Origin *LogOrigin + ParentLogId int64 + Replies int64 + RootLogId int64 + Runs []LogRuns + Subsystems *[]Subsystem + Subtype *LogSubtype + Tags *[]Tag + Text string + Title string + UpdatedAt int64 + type LogApiService service + func (a *LogApiService) CreateLog(ctx context.Context, body CreateLog) (LogResponse, *http.Response, error) + func (a *LogApiService) GetLogAttachment(ctx context.Context, logId int64, attachmentId int64) (AttachmentResponse, *http.Response, error) + func (a *LogApiService) GetLogById(ctx context.Context, logId int64) (LogResponse, *http.Response, error) + func (a *LogApiService) GetLogTree(ctx context.Context, logId int64) (LogTreeResponse, *http.Response, error) + func (a *LogApiService) ListLogAttachments(ctx context.Context, logId int64) (ArrayOfAttachmentsResponse, *http.Response, error) + func (a *LogApiService) ListLogs(ctx context.Context) (ArrayOfLogsResponse, *http.Response, error) + func (a *LogApiService) ListTagsByLogId(ctx context.Context, logId int64) (ArrayOfTagsResponse, *http.Response, error) + type LogOrigin string + const HUMAN_LogOrigin + const PROCESS_LogOrigin + type LogResponse struct + Data *Log + type LogRuns struct + Id int64 + RunNumber int64 + type LogSortOptions struct + Author *SortOrder + CreatedAt *SortOrder + Id *SortOrder + Tags *SortOrder + Title *SortOrder + type LogSubtype string + const ANNOUNCEMENT_LogSubtype + const COMMENT_LogSubtype + const INTERVENTION_LogSubtype + const RUN_LogSubtype + const SUBSYSTEM_LogSubtype + type LogTree struct + Attachments *[]Attachment + Author *User + Children *[]LogTree + CreatedAt int64 + Id int64 + Origin *LogOrigin + ParentLogId int64 + Replies int64 + RootLogId int64 + Runs []LogRuns + Subsystems *[]Subsystem + Subtype *LogSubtype + Tags *[]Tag + Text string + Title string + UpdatedAt int64 + type LogTreeResponse struct + Data *LogTree + type ModelError struct + Detail string + Source *ErrorSource + Status string + Title string + type PaginationMeta struct + PageCount int64 + TotalCount int64 + type PaginationOptions struct + Limit int32 + Offset int64 + type Run struct + ActivityId string + BytesReadOut int64 + CreatedAt int64 + Id int64 + NDetectors int64 + NEpns int64 + NFlps int64 + NSubtimeframes int64 + RunNumber int64 + RunQuality *RunQuality + RunType *RunType + TimeO2End int64 + TimeO2Start int64 + TimeTrgEnd int64 + TimeTrgStart int64 + UpdatedAt int64 + type RunApiService service + func (a *RunApiService) CreateRun(ctx context.Context, body Run) (RunResponse, *http.Response, error) + func (a *RunApiService) EndRun(ctx context.Context, body Run, runId int64) (RunResponse, *http.Response, error) + func (a *RunApiService) GetRunById(ctx context.Context, runId int64) (RunResponse, *http.Response, error) + func (a *RunApiService) ListRuns(ctx context.Context) (ArrayOfRunsResponse, *http.Response, error) + type RunOrigin string + const PROCESS_RunOrigin + type RunQuality string + const BAD_RunQuality + const GOOD_RunQuality + const UNKNOWN_RunQuality + type RunResponse struct + Data *Run + type RunSortOptions struct + Id *SortOrder + type RunType string + const COSMICS_RunType + const PHYSICS_RunType + const TECHNICAL_RunType + type SortOrder string + const ASC_SortOrder + const DESC_SortOrder + type Subsystem struct + CreatedAt int64 + Id int64 + Name string + UpdatedAt int64 + type SubsystemApiService service + func (a *SubsystemApiService) CreateSubsystem(ctx context.Context, body CreateSubsystem) (SubsystemResponse, *http.Response, error) + func (a *SubsystemApiService) DeleteSubsystem(ctx context.Context, subsystemId int64) (SubsystemResponse, *http.Response, error) + func (a *SubsystemApiService) GetSubsystem(ctx context.Context, subsystemId int64) (SubsystemResponse, *http.Response, error) + func (a *SubsystemApiService) ListSubsystems(ctx context.Context) (ArrayOfSubsystemsResponse, *http.Response, error) + type SubsystemResponse struct + Data *Subsystem + type Tag struct + CreatedAt int64 + Id int64 + Text string + UpdatedAt int64 + type TagApiService service + func (a *TagApiService) CreateTag(ctx context.Context, body CreateTag) (TagResponse, *http.Response, error) + func (a *TagApiService) DeleteTagById(ctx context.Context, tagId int64) (TagResponse, *http.Response, error) + func (a *TagApiService) GetLogsByTagId(ctx context.Context, tagId int64) (ArrayOfLogsResponse, *http.Response, error) + func (a *TagApiService) GetTagById(ctx context.Context, tagId int64) (TagResponse, *http.Response, error) + func (a *TagApiService) ListTags(ctx context.Context) (ArrayOfTagsResponse, *http.Response, error) + type TagResponse struct + Data *Tag + type UpdateFlp struct + BytesEquipmentReadOut int64 + BytesFairMQReadOut int64 + BytesProcessed int64 + BytesRecordingReadOut int64 + NTimeframes int64 + type User struct + ExternalId int64 + Id int64 + Name string