Documentation
¶
Index ¶
- func IsNil(i interface{}) bool
- type Tag
- type TagSet
- type TagSetService
- func (s *TagSetService) Add(tagSet *TagSet) (*TagSet, error)
- func (s *TagSetService) Get(tagSetsQuery TagSetsQuery) (*TagSets, error)
- func (s *TagSetService) GetAll() ([]*TagSet, error)
- func (s *TagSetService) GetByID(id string) (*TagSet, error)
- func (s *TagSetService) GetByName(name string) (*TagSet, error)
- func (s *TagSetService) Update(tagSet *TagSet) (*TagSet, error)
- type TagSets
- type TagSetsQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TagSet ¶
type TagSetService ¶
type TagSetService struct {
services.CanDeleteService
// contains filtered or unexported fields
}
func NewTagSetService ¶
func NewTagSetService(sling *sling.Sling, uriTemplate string, sortOrderPath string) *TagSetService
func (*TagSetService) Add ¶
func (s *TagSetService) Add(tagSet *TagSet) (*TagSet, error)
Add creates a new tag set.
func (*TagSetService) Get ¶
func (s *TagSetService) Get(tagSetsQuery TagSetsQuery) (*TagSets, error)
Get returns a collection of tag sets based on the criteria defined by its input query parameter. If an error occurs, an empty collection is returned along with the associated error.
func (*TagSetService) GetAll ¶
func (s *TagSetService) GetAll() ([]*TagSet, error)
GetAll returns all tag sets. If none can be found or an error occurs, it returns an empty collection.
func (*TagSetService) GetByID ¶
func (s *TagSetService) GetByID(id string) (*TagSet, error)
GetByID returns the tag set that matches the input ID. If one cannot be found, it returns nil and an error.
type TagSets ¶
type TagSets struct {
Items []*TagSet `json:"Items"`
resources.PagedResults
}
Click to show internal directories.
Click to hide internal directories.