Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.1"
Functions ¶
func BytesToGibibytes ¶
func GibibytesToBytes ¶
Types ¶
type AdminPrivileges ¶
type Membership ¶
type Membership struct {
Members []Member
}
Use by both project user and project group, as they shared identical data structure
type Project ¶
type Project struct { Key string `json:"project_key"` DisplayName string `json:"display_name"` Description string `json:"description"` AdminPrivileges AdminPrivileges `json:"admin_privileges"` StorageQuota int `json:"storage_quota_bytes"` SoftLimit bool `json:"soft_limit"` QuotaEmailNotification bool `json:"storage_quota_email_notification"` }
Project GET {{ host }}/access/api/v1/projects/{{prjKey}}/ GET {{ host }}/artifactory/api/repositories/?prjKey={{prjKey}}
type Role ¶
type Set ¶ added in v1.1.1
type Set[T Equatable] []T
func SetFromSlice ¶ added in v1.1.1
func (Set[T]) Difference ¶ added in v1.1.1
Difference returns a Set containing all the items not contained in the other set. Note this is "unidirectional", and the result is _only_ the elements in A that are not in B. Example: [1, 2, 3].Difference([2, 3, 4]) = [1].
func (Set[T]) Intersection ¶ added in v1.1.1
Intersection returns a Set containing all the common items between both Sets. Example: [1, 2, 3].Intersection([2, 3, 4]) = [2, 3].
Click to show internal directories.
Click to hide internal directories.