github.com/elastic/gosigar@v0.14.3/sigar_stub.go (about)

     1  // +build !aix,!darwin,!freebsd,!linux,!openbsd,!windows
     2  
     3  package gosigar
     4  
     5  import (
     6  	"runtime"
     7  )
     8  
     9  func (c *Cpu) Get() error {
    10  	return ErrNotImplemented{runtime.GOOS}
    11  }
    12  
    13  func (l *LoadAverage) Get() error {
    14  	return ErrNotImplemented{runtime.GOOS}
    15  }
    16  
    17  func (m *Mem) Get() error {
    18  	return ErrNotImplemented{runtime.GOOS}
    19  }
    20  
    21  func (s *Swap) Get() error {
    22  	return ErrNotImplemented{runtime.GOOS}
    23  }
    24  
    25  func (s *HugeTLBPages) Get() error {
    26  	return ErrNotImplemented{runtime.GOOS}
    27  }
    28  
    29  func (f *FDUsage) Get() error {
    30  	return ErrNotImplemented{runtime.GOOS}
    31  }
    32  
    33  func (p *ProcTime) Get(int) error {
    34  	return ErrNotImplemented{runtime.GOOS}
    35  }
    36  
    37  func (self *FileSystemUsage) Get(path string) error {
    38  	return ErrNotImplemented{runtime.GOOS}
    39  }
    40  
    41  func (self *CpuList) Get() error {
    42  	return ErrNotImplemented{runtime.GOOS}
    43  }
    44  
    45  func (p *ProcState) Get(int) error {
    46  	return ErrNotImplemented{runtime.GOOS}
    47  }
    48  
    49  func (p *ProcExe) Get(int) error {
    50  	return ErrNotImplemented{runtime.GOOS}
    51  }
    52  
    53  func (p *ProcMem) Get(int) error {
    54  	return ErrNotImplemented{runtime.GOOS}
    55  }
    56  
    57  func (p *ProcFDUsage) Get(int) error {
    58  	return ErrNotImplemented{runtime.GOOS}
    59  }
    60  
    61  func (p *ProcEnv) Get(int) error {
    62  	return ErrNotImplemented{runtime.GOOS}
    63  }
    64  
    65  func (p *ProcList) Get() error {
    66  	return ErrNotImplemented{runtime.GOOS}
    67  }
    68  
    69  func (p *ProcArgs) Get(int) error {
    70  	return ErrNotImplemented{runtime.GOOS}
    71  }
    72  
    73  func (self *Rusage) Get(int) error {
    74  	return ErrNotImplemented{runtime.GOOS}
    75  }