relations

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRelationsForCard

func GetRelationsForCard(jwtToken string, relationParam common.ResourceIdParam) (response.Relationships, error)

func GetRelationsForKey

func GetRelationsForKey(jwtToken string, keyId string) (response.Relationships, error)

func GetRelationsForProject

func GetRelationsForProject(jwtToken string, relationParam common.ResourceIdParam) (response.Relationships, error)

func RelateCardToCard

func RelateCardToCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func RelateKeyCardToCard

func RelateKeyCardToCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func RelateKeyCardToKeyCard

func RelateKeyCardToKeyCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func RelateKeyToCard

func RelateKeyToCard(jwtToken string, relationParam request.KeyToCardRelationParam) error

func RelateKeyToKey

func RelateKeyToKey(jwtToken string, relationParam request.KeyToKeyRelationParam) error

func RelateKeyToProject

func RelateKeyToProject(jwtToken string, relationParam request.KeyToProjectRelationParam) error

func RelateProjectToCard

func RelateProjectToCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func RelateProjectToKeyCard

func RelateProjectToKeyCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func RelateProjectToProject

func RelateProjectToProject(jwtToken string, relationParam request.ProjectToProjectRelationParam) error

func SearchRelationsForCardMatchingSearchToken

func SearchRelationsForCardMatchingSearchToken(
	jwtToken string,
	relationParam SearchCardRelationParam,
) ([]response.SearchResource, error)

func SearchRelationsForKeyMatchingSearchToken

func SearchRelationsForKeyMatchingSearchToken(
	jwtToken string,
	relationParam SearchKeyRelationParam,
) ([]response.SearchResource, error)

func SearchRelationsForProjectMatchingSearchToken

func SearchRelationsForProjectMatchingSearchToken(
	jwtToken string,
	relationParam SearchProjectRelationParam,
) ([]response.SearchResource, error)

func UnrelateCardFromCard

func UnrelateCardFromCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func UnrelateKeyCardFromCard

func UnrelateKeyCardFromCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func UnrelateKeyCardFromKeyCard

func UnrelateKeyCardFromKeyCard(jwtToken string, relationParam request.CardToCardRelationParam) error

func UnrelateKeyFromCard

func UnrelateKeyFromCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func UnrelateKeyFromKey

func UnrelateKeyFromKey(jwtToken string, relationParam request.KeyToKeyRelationParam) error

func UnrelateKeyFromKeyCard

func UnrelateKeyFromKeyCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func UnrelateKeyFromProject

func UnrelateKeyFromProject(jwtToken string, relationParam request.KeyToProjectRelationParam) error

func UnrelateProjectFromCard

func UnrelateProjectFromCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func UnrelateProjectFromKeyCard

func UnrelateProjectFromKeyCard(jwtToken string, relationParam request.ProjectToCardRelationParam) error

func UnrelateProjectFromProject

func UnrelateProjectFromProject(jwtToken string, relationParam request.ProjectToProjectRelationParam) error

Types

type SearchCardRelationParam

type SearchCardRelationParam struct {
	Token         string
	CurrentCardId string
	KeyId         string
	ProjectId     string
}

type SearchKeyRelationParam

type SearchKeyRelationParam struct {
	Token        string
	CurrentKeyId string
}

type SearchProjectRelationParam

type SearchProjectRelationParam struct {
	Token            string
	CurrentProjectId string
	KeyId            string
}

Jump to

Keyboard shortcuts

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