Documentation ¶
Index ¶
- func AppDefaultCredentials() (string, error)
- func DownloadObject(bucketName string, savePath string, object string) error
- func GetObjectAttributes(bucketName string, objectPath string) (*storage.ObjectAttrs, error)
- func SetRequiredOrgIAMRoles(org *Organization, g string, r []string) error
- func UploadObject(bucketName string, objectPath string, localPath string) error
- type Organization
- type UserClaim
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppDefaultCredentials ¶
func GetObjectAttributes ¶ added in v1.1.0
func GetObjectAttributes( bucketName string, objectPath string, ) (*storage.ObjectAttrs, error)
func SetRequiredOrgIAMRoles ¶
func SetRequiredOrgIAMRoles(org *Organization, g string, r []string) error
TODO: update to include any kind of principal
Types ¶
type Organization ¶
type Organization struct { Domain string `json:"domain"` Id int `json:"id"` CustomerId string `json:"customer_id"` }
Types
func GetOrganization ¶
func GetOrganization(domain string) (*Organization, error)
TODO: move this to a method for an org struct
Click to show internal directories.
Click to hide internal directories.