Documentation ¶
Index ¶
- type ArtifactoryData
- func (s *ArtifactoryData) ArtifactoryValidations(ctx context.Context, serverId string) error
- func (s *ArtifactoryData) GetConfig(ctx context.Context, serverId string) (*model.Config, error)
- func (s *ArtifactoryData) GetLastPageMarker() int64
- func (s *ArtifactoryData) GetLogData(ctx context.Context, serverId string) (logData model.Data, err error)
- func (s *ArtifactoryData) GetLogFileName() string
- func (s *ArtifactoryData) GetLogsRefreshRate() time.Duration
- func (s *ArtifactoryData) GetNodeId() string
- func (s *ArtifactoryData) SetLastPageMarker(pageMarker int64)
- func (s *ArtifactoryData) SetLogFileName(logFileName string)
- func (s *ArtifactoryData) SetLogsRefreshRate(logsRefreshRate time.Duration)
- func (s *ArtifactoryData) SetNodeId(nodeId string)
- type DistributionData
- func (s *DistributionData) DistributionValidations(ctx context.Context, serverId string) error
- func (s *DistributionData) GetConfig(ctx context.Context, serverId string) (*model.Config, error)
- func (s *DistributionData) GetLastPageMarker() int64
- func (s *DistributionData) GetLogData(ctx context.Context, serverId string) (logData model.Data, err error)
- func (s *DistributionData) GetLogFileName() string
- func (s *DistributionData) GetLogsRefreshRate() time.Duration
- func (s *DistributionData) GetNodeId() string
- func (s *DistributionData) SetLastPageMarker(pageMarker int64)
- func (s *DistributionData) SetLogFileName(logFileName string)
- func (s *DistributionData) SetLogsRefreshRate(logsRefreshRate time.Duration)
- func (s *DistributionData) SetNodeId(nodeId string)
- type McData
- func (s *McData) GetConfig(ctx context.Context, serverId string) (*model.Config, error)
- func (s *McData) GetLastPageMarker() int64
- func (s *McData) GetLogData(ctx context.Context, serverId string) (logData model.Data, err error)
- func (s *McData) GetLogFileName() string
- func (s *McData) GetLogsRefreshRate() time.Duration
- func (s *McData) GetNodeId() string
- func (s *McData) SetLastPageMarker(pageMarker int64)
- func (s *McData) SetLogFileName(logFileName string)
- func (s *McData) SetLogsRefreshRate(logsRefreshRate time.Duration)
- func (s *McData) SetNodeId(nodeId string)
- type PipelinesData
- func (s *PipelinesData) GetConfig(ctx context.Context, serverId string) (*model.Config, error)
- func (s *PipelinesData) GetLastPageMarker() int64
- func (s *PipelinesData) GetLogData(ctx context.Context, serverId string) (logData model.Data, err error)
- func (s *PipelinesData) GetLogFileName() string
- func (s *PipelinesData) GetLogsRefreshRate() time.Duration
- func (s *PipelinesData) GetNodeId() string
- func (s *PipelinesData) PipelinesValidations(ctx context.Context, serverId string) error
- func (s *PipelinesData) SetLastPageMarker(pageMarker int64)
- func (s *PipelinesData) SetLogFileName(logFileName string)
- func (s *PipelinesData) SetLogsRefreshRate(logsRefreshRate time.Duration)
- func (s *PipelinesData) SetNodeId(nodeId string)
- type ServiceLayer
- type XrayData
- func (s *XrayData) GetConfig(ctx context.Context, serverId string) (*model.Config, error)
- func (s *XrayData) GetLastPageMarker() int64
- func (s *XrayData) GetLogData(ctx context.Context, serverId string) (logData model.Data, err error)
- func (s *XrayData) GetLogFileName() string
- func (s *XrayData) GetLogsRefreshRate() time.Duration
- func (s *XrayData) GetNodeId() string
- func (s *XrayData) SetLastPageMarker(pageMarker int64)
- func (s *XrayData) SetLogFileName(logFileName string)
- func (s *XrayData) SetLogsRefreshRate(logsRefreshRate time.Duration)
- func (s *XrayData) SetNodeId(nodeId string)
- func (s *XrayData) XrayValidations(ctx context.Context, serverId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactoryData ¶
type ArtifactoryData struct {
// contains filtered or unexported fields
}
func (*ArtifactoryData) ArtifactoryValidations ¶
func (s *ArtifactoryData) ArtifactoryValidations(ctx context.Context, serverId string) error
func (*ArtifactoryData) GetLastPageMarker ¶
func (s *ArtifactoryData) GetLastPageMarker() int64
func (*ArtifactoryData) GetLogData ¶
func (*ArtifactoryData) GetLogFileName ¶
func (s *ArtifactoryData) GetLogFileName() string
func (*ArtifactoryData) GetLogsRefreshRate ¶
func (s *ArtifactoryData) GetLogsRefreshRate() time.Duration
func (*ArtifactoryData) GetNodeId ¶
func (s *ArtifactoryData) GetNodeId() string
func (*ArtifactoryData) SetLastPageMarker ¶
func (s *ArtifactoryData) SetLastPageMarker(pageMarker int64)
func (*ArtifactoryData) SetLogFileName ¶
func (s *ArtifactoryData) SetLogFileName(logFileName string)
func (*ArtifactoryData) SetLogsRefreshRate ¶
func (s *ArtifactoryData) SetLogsRefreshRate(logsRefreshRate time.Duration)
func (*ArtifactoryData) SetNodeId ¶
func (s *ArtifactoryData) SetNodeId(nodeId string)
type DistributionData ¶
type DistributionData struct {
// contains filtered or unexported fields
}
func (*DistributionData) DistributionValidations ¶
func (s *DistributionData) DistributionValidations(ctx context.Context, serverId string) error
func (*DistributionData) GetLastPageMarker ¶
func (s *DistributionData) GetLastPageMarker() int64
func (*DistributionData) GetLogData ¶
func (*DistributionData) GetLogFileName ¶
func (s *DistributionData) GetLogFileName() string
func (*DistributionData) GetLogsRefreshRate ¶
func (s *DistributionData) GetLogsRefreshRate() time.Duration
func (*DistributionData) GetNodeId ¶
func (s *DistributionData) GetNodeId() string
func (*DistributionData) SetLastPageMarker ¶
func (s *DistributionData) SetLastPageMarker(pageMarker int64)
func (*DistributionData) SetLogFileName ¶
func (s *DistributionData) SetLogFileName(logFileName string)
func (*DistributionData) SetLogsRefreshRate ¶
func (s *DistributionData) SetLogsRefreshRate(logsRefreshRate time.Duration)
func (*DistributionData) SetNodeId ¶
func (s *DistributionData) SetNodeId(nodeId string)
type McData ¶
type McData struct {
// contains filtered or unexported fields
}
func (*McData) GetLastPageMarker ¶
func (*McData) GetLogData ¶
func (*McData) GetLogFileName ¶
func (*McData) GetLogsRefreshRate ¶
func (*McData) SetLastPageMarker ¶
func (*McData) SetLogFileName ¶
func (*McData) SetLogsRefreshRate ¶
type PipelinesData ¶
type PipelinesData struct {
// contains filtered or unexported fields
}
func (*PipelinesData) GetLastPageMarker ¶
func (s *PipelinesData) GetLastPageMarker() int64
func (*PipelinesData) GetLogData ¶
func (*PipelinesData) GetLogFileName ¶
func (s *PipelinesData) GetLogFileName() string
func (*PipelinesData) GetLogsRefreshRate ¶
func (s *PipelinesData) GetLogsRefreshRate() time.Duration
func (*PipelinesData) GetNodeId ¶
func (s *PipelinesData) GetNodeId() string
func (*PipelinesData) PipelinesValidations ¶
func (s *PipelinesData) PipelinesValidations(ctx context.Context, serverId string) error
func (*PipelinesData) SetLastPageMarker ¶
func (s *PipelinesData) SetLastPageMarker(pageMarker int64)
func (*PipelinesData) SetLogFileName ¶
func (s *PipelinesData) SetLogFileName(logFileName string)
func (*PipelinesData) SetLogsRefreshRate ¶
func (s *PipelinesData) SetLogsRefreshRate(logsRefreshRate time.Duration)
func (*PipelinesData) SetNodeId ¶
func (s *PipelinesData) SetNodeId(nodeId string)
type ServiceLayer ¶
type ServiceLayer interface { // Queries and returns the livelog configuration from the remote service, based on the set node id. GetConfig(ctx context.Context, serverId string) (*model.Config, error) // Queries and returns the livelog data from the remote service, based on the set node id and log file name. GetLogData(ctx context.Context, serverId string) (model.Data, error) // Sets the node id to use when querying the remote service for log data. SetNodeId(nodeId string) GetNodeId() string // Sets the log file name to use when querying the remote service for log data. SetLogFileName(logFileName string) GetLogFileName() string // Sets the refresh rate interval between each log request. SetLogsRefreshRate(logsRefreshRate time.Duration) GetLogsRefreshRate() time.Duration // Sets the file size between each log request. SetLastPageMarker(pageMarker int64) GetLastPageMarker() int64 }
func NewService ¶
func NewService(productId string) (serviceLayer ServiceLayer, err error)
type XrayData ¶
type XrayData struct {
// contains filtered or unexported fields
}
func (*XrayData) GetLastPageMarker ¶
func (*XrayData) GetLogData ¶
func (*XrayData) GetLogFileName ¶
func (*XrayData) GetLogsRefreshRate ¶
func (*XrayData) SetLastPageMarker ¶
func (*XrayData) SetLogFileName ¶
func (*XrayData) SetLogsRefreshRate ¶
Click to show internal directories.
Click to hide internal directories.