go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/connection/tar/connection.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  package tar
     5  
     6  /*
     7  func (c *TarConnection) Identifier() (string, error) {
     8  	return c.PlatformIdentifier, nil
     9  }
    10  
    11  func (c *TarConnection) Labels() map[string]string {
    12  	return c.Metadata.Labels
    13  }
    14  
    15  func (c *TarConnection) PlatformName() string {
    16  	return c.Metadata.Name
    17  }
    18  
    19  */
    20  
    21  // FIXME: How to handle this now?
    22  // func (c *TarConnection) PlatformIdDetectors() []providers.PlatformIdDetector {
    23  // 	return []providers.PlatformIdDetector{
    24  // 		providers.TransportPlatformIdentifierDetector,
    25  // 	}
    26  // }