INNER CODE UNIT · Python

service_open

vchinnipilli/kubestriker · kubestriker/bars.py:44

def service_open(item,file_obj=None):
    '''
    This function decorates the open functions with bars
    '''  
    print (fore.ORANGE_1 + '            [+] ' + f' {item}' + ' Endpoint Identified' + style.RESET)
    if file_obj:
        print('            [+] '+item + ' Endpoint Identified',file=file_obj)


def resource_available(item,file_obj=None):
    '''
    This function decorates the available resources with bars
    '''  
    print (fore.ORANGE_1 + '            [+] ' + f' {item}' + ' Identified in the cluster' + style.RESET)
    if file_obj:
        print('            [+] '+item + ' Identified in the cluster',file=file_obj)

def scan_status(item):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…