Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginatedJourneyList ¶ added in v0.2.0
type PaginatedJourneyList struct { // The journeys contained on this page Journeys []*dataPlaneProto.Journey // contains filtered or unexported fields }
A PaginatedJourneyList provides a wrapper around the list journeys response which allows for paginated loading of the journeys.
func NewPaginatedJourneyList ¶ added in v0.2.0
func NewPaginatedJourneyList(journeyListResponse *dataPlaneProto.JourneyListResponse, listJourneyConfig config.ListJourneyConfig, dataPlaneClient *api.DataPlaneClient) PaginatedJourneyList
Creates a new PaginatedJourneyList.
func (*PaginatedJourneyList) HasMore ¶ added in v0.2.0
func (ps *PaginatedJourneyList) HasMore() bool
Returns true when there are more journeys to be fetched, otherwise false.
func (*PaginatedJourneyList) NextPage ¶ added in v0.2.0
func (ps *PaginatedJourneyList) NextPage() (*PaginatedJourneyList, *api.ApiErrorResponse)
Fetches the next page of journeys.
type PaginatedSessionList ¶
type PaginatedSessionList struct { // The sessions contained on this page Sessions []*dataPlaneSDKProto.Session // contains filtered or unexported fields }
A PaginatedSessionList provides a wrapper around the list sessions response which allows for paginated loading of the sessions.
func NewPaginatedSessionList ¶
func NewPaginatedSessionList(sessionListResponse *dataPlaneProto.SessionListResponse, listSessionConfig config.ListSessionConfig, dataPlaneClient *api.DataPlaneClient) PaginatedSessionList
Creates a new PaginatedSessionList.
func (*PaginatedSessionList) HasMore ¶ added in v0.2.0
func (ps *PaginatedSessionList) HasMore() bool
Returns true when there are more sessions to be fetched, otherwise false.
func (*PaginatedSessionList) NextPage ¶
func (ps *PaginatedSessionList) NextPage() (*PaginatedSessionList, *api.ApiErrorResponse)
Fetches the next page of sessions.
Click to show internal directories.
Click to hide internal directories.