// Tests the functionality of repository triggers by sending information to the
// trigger target. If real data is available in the repository, the test sends data
// from the last commit. If no data is available, sample data is generated.
Tests the functionality of repository triggers by sending information to the
trigger target. If real data is available in the repository, the test sends data
from the last commit. If no data is available, sample data is generated.
// Tests the functionality of repository triggers by sending information to the // trigger target . If real data is available in the repository the test sends data // from the last commit . If no data is available sample data is generated .
func (c *Client) TestRepositoryTriggers(ctx context.Context, params *TestRepositoryTriggersInput, optFns ...func(*Options)) (*TestRepositoryTriggersOutput, error) {
	if params == nil {
		params = &TestRepositoryTriggersInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "TestRepositoryTriggers", params, optFns, addOperationTestRepositoryTriggersMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*TestRepositoryTriggersOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) TestRepositoryTriggers ( ctx context . Context , params * TestRepositoryTriggersInput , optFns ... func ( * Options ) ) ( * TestRepositoryTriggersOutput , error ) { if params == nil { params = & TestRepositoryTriggersInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationTestRepositoryTriggersMiddlewares ) if err != nil { return nil , err } out := result . ( * TestRepositoryTriggersOutput ) out . ResultMetadata = metadata return out , nil }
Tests the functionality of repository triggers by sending information to the
trigger target.
Tests the functionality of repository triggers by sending information to the trigger target .