api

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package api contains API-related concerns: endpoint definitions, middlewares and all resource representations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignMembersEndpoint

func AssignMembersEndpoint(svc groups.Service, relation, memberKind string) endpoint.Endpoint

func CreateGroupEndpoint

func CreateGroupEndpoint(svc groups.Service, kind string) endpoint.Endpoint

func DecodeAssignMembersRequest

func DecodeAssignMembersRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeChangeGroupStatus

func DecodeChangeGroupStatus(_ context.Context, r *http.Request) (interface{}, error)

func DecodeGroupCreate

func DecodeGroupCreate(_ context.Context, r *http.Request) (interface{}, error)

func DecodeGroupPermsRequest

func DecodeGroupPermsRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeGroupRequest

func DecodeGroupRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeGroupUpdate

func DecodeGroupUpdate(_ context.Context, r *http.Request) (interface{}, error)

func DecodeListChildrenRequest

func DecodeListChildrenRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeListGroupsRequest

func DecodeListGroupsRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeListMembersRequest

func DecodeListMembersRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeListParentsRequest

func DecodeListParentsRequest(_ context.Context, r *http.Request) (interface{}, error)

func DecodeUnassignMembersRequest

func DecodeUnassignMembersRequest(_ context.Context, r *http.Request) (interface{}, error)

func DeleteGroupEndpoint

func DeleteGroupEndpoint(svc groups.Service) endpoint.Endpoint

func DisableGroupEndpoint

func DisableGroupEndpoint(svc groups.Service) endpoint.Endpoint

func EnableGroupEndpoint

func EnableGroupEndpoint(svc groups.Service) endpoint.Endpoint

func ListGroupsEndpoint

func ListGroupsEndpoint(svc groups.Service, groupType, memberKind string) endpoint.Endpoint

func ListMembersEndpoint

func ListMembersEndpoint(svc groups.Service, memberKind string) endpoint.Endpoint

func UnassignMembersEndpoint

func UnassignMembersEndpoint(svc groups.Service, relation, memberKind string) endpoint.Endpoint

func UpdateGroupEndpoint

func UpdateGroupEndpoint(svc groups.Service) endpoint.Endpoint

func ViewGroupEndpoint

func ViewGroupEndpoint(svc groups.Service) endpoint.Endpoint

func ViewGroupPermsEndpoint

func ViewGroupPermsEndpoint(svc groups.Service) endpoint.Endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL