예제 #1
0
파일: agent.py 프로젝트: SeanYa/Python-SDK
def agent_info(**kwargs):
    ''' Get information for the specified agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='agentInfo', **req_args)
예제 #2
0
파일: agent.py 프로젝트: SeanYa/Python-SDK
def get_jobs(**kwargs):
    ''' Get jobs for the specified custom agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getJobs', **req_args)
예제 #3
0
def agent_info(**kwargs):
    ''' Get information for the specified agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='agentInfo', **req_args)
예제 #4
0
def get_jobs(**kwargs):
    ''' Get jobs for the specified custom agent '''
    required = {'agent_id': 'agentId'}
    optional = {}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getJobs', **req_args)
예제 #5
0
파일: agent.py 프로젝트: SeanYa/Python-SDK
def get_agents(**kwargs):
    ''' Get user's custom agents '''
    required = {}
    optional = {'load_tests': 'loadTests', 'load_params': 'loadParams',
                'type': 'type'}

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getAgents', **req_args)
예제 #6
0
def get_agents(**kwargs):
    ''' Get user's custom agents '''
    required = {}
    optional = {
        'load_tests': 'loadTests',
        'load_params': 'loadParams',
        'type': 'type'
    }

    req_args = validate_kwargs(required, optional, **kwargs)

    return get(action='getAgents', **req_args)