github.com/cyverse/go-irodsclient@v0.13.2/irods/types/quota.go (about)

     1  package types
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  // IRODSQuota describes a resource quota
     8  type IRODSQuota struct {
     9  	RescName string
    10  	Limit    int64
    11  }
    12  
    13  // ToString stringifies the object
    14  func (q *IRODSQuota) ToString() string {
    15  	return fmt.Sprintf("<IRODSQuota %s: %v>", q.RescName, q.Limit)
    16  }