Documentation ¶
Overview ¶
groups models represent and manipulate groups within a Galaxy instance Relevant api endpoints are: `/api/groups`
Index ¶
- Constants
- type Group
- func Get(ctx context.Context, g *blend4go.GalaxyInstance, id blend4go.GalaxyID, ...) (*Group, error)
- func GetName(ctx context.Context, g *blend4go.GalaxyInstance, name string) (*Group, error)
- func List(ctx context.Context, g *blend4go.GalaxyInstance, deleted bool) ([]*Group, error)
- func NewGroup(ctx context.Context, name string) (*Group, error)
Constants ¶
View Source
const BasePath = "/api/groups"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { Id blend4go.GalaxyID `json:"id,omitempty"` Name string `json:"name,omitempty"` Users userGroupAssociations Roles roleGroupAssociations Deleted bool // contains filtered or unexported fields }
func Get ¶
func Get(ctx context.Context, g *blend4go.GalaxyInstance, id blend4go.GalaxyID, deleted bool) (*Group, error)
Get group
func (*Group) GetBasePath ¶
func (*Group) SetGalaxyInstance ¶
func (g *Group) SetGalaxyInstance(instance *blend4go.GalaxyInstance)
Click to show internal directories.
Click to hide internal directories.