Documentation ¶
Index ¶
- Constants
- type Client
- type RPLaunchDetailsResponse
- type RPLaunchManager
- type RPLaunchResponse
- type RPLaunchService
- func (s *RPLaunchService) Get(ctx context.Context, projectName string, launchUuid string) (*RPLaunchDetailsResponse, error)
- func (s *RPLaunchService) Import(ctx context.Context, projectName string, importFile string, launchName string) (*RPLaunchResponse, error)
- func (s *RPLaunchService) Update(ctx context.Context, projectName string, launchId int, ...) (*RPLaunchResponse, error)
- type RPLaunchUpdateInput
Constants ¶
View Source
const (
BaseURL = "https://reportportal-reportportal.apps.chiron.intlyqe.com/api/v1/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL *url.URL Launches *RPLaunchService // contains filtered or unexported fields }
type RPLaunchDetailsResponse ¶
type RPLaunchDetailsResponse struct {
Id int `json:"id"`
}
type RPLaunchManager ¶
type RPLaunchManager interface { Import(ctx context.Context, projectName string, importFile string, launchName string) (*RPLaunchResponse, error) Update(ctx context.Context, projectName string, launchId int, input *RPLaunchUpdateInput) (*RPLaunchResponse, error) Get(ctx context.Context, projectName string, launchUuid string) (*RPLaunchDetailsResponse, error) }
type RPLaunchResponse ¶
type RPLaunchResponse struct {
Message string `json:"message"`
}
func (*RPLaunchResponse) GetLaunchUuid ¶
func (r *RPLaunchResponse) GetLaunchUuid() string
type RPLaunchService ¶
type RPLaunchService service
func (*RPLaunchService) Get ¶
func (s *RPLaunchService) Get(ctx context.Context, projectName string, launchUuid string) (*RPLaunchDetailsResponse, error)
func (*RPLaunchService) Import ¶
func (s *RPLaunchService) Import(ctx context.Context, projectName string, importFile string, launchName string) (*RPLaunchResponse, error)
func (*RPLaunchService) Update ¶
func (s *RPLaunchService) Update(ctx context.Context, projectName string, launchId int, input *RPLaunchUpdateInput) (*RPLaunchResponse, error)
type RPLaunchUpdateInput ¶
Click to show internal directories.
Click to hide internal directories.