Documentation ¶
Index ¶
- func List(title, columnName string, items map[string]string) models.Listable
- func ListBytes(title string) ([]byte, error)
- func ListDefault(title string) models.Listable
- func Page(title string) []byte
- type ListCollection
- func (mlc *ListCollection) DoNotMergeItems() bool
- func (mlc *ListCollection) FullPath() path.Path
- func (mlc *ListCollection) Items(ctx context.Context, _ *fault.Bus) <-chan data.Item
- func (mlc *ListCollection) PreviousPath() path.Path
- func (mlc *ListCollection) SetPath(p path.Path)
- func (mlc *ListCollection) State() data.CollectionState
- type ListData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
List returns a Listable object with two columns. @param: Name of the displayable list @param: Column Name: Defines the 2nd Column Name of the created list the values from the map. The key values of the input map are used for the `Title` column. The values of the map are placed within the 2nd column. Source: https://learn.microsoft.com/en-us/graph/api/list-create?view=graph-rest-1.0&tabs=go
func ListDefault ¶
ListDefault returns a two-list column list of Music lbums and the associated artist.
Types ¶
type ListCollection ¶
type ListCollection struct { Data [][]byte Names []string // contains filtered or unexported fields }
func NewCollection ¶
func (*ListCollection) DoNotMergeItems ¶
func (mlc *ListCollection) DoNotMergeItems() bool
func (*ListCollection) FullPath ¶
func (mlc *ListCollection) FullPath() path.Path
func (*ListCollection) PreviousPath ¶
func (mlc *ListCollection) PreviousPath() path.Path
func (*ListCollection) SetPath ¶
func (mlc *ListCollection) SetPath(p path.Path)
func (*ListCollection) State ¶
func (mlc *ListCollection) State() data.CollectionState
type ListData ¶
type ListData struct { ItemID string Reader io.ReadCloser ReadErr error // contains filtered or unexported fields }
func ListStream ¶
ListStream returns the data.Item representation of the Mocked SharePoint List
func (*ListData) ToReader ¶
func (mld *ListData) ToReader() io.ReadCloser
Click to show internal directories.
Click to hide internal directories.