func (s *pluginService) ListPlugins(
	ctx context.Context,
	pageSize uint32,
	pageToken string,
	reverse bool,
) (plugins []*v1alpha1.Plugin, nextPageToken string, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListPlugins(
		ctx,
		&v1alpha1.ListPluginsRequest{
			PageSize:  pageSize,
			PageToken: pageToken,
			Reverse:   reverse,
		},
	)
	if err != nil {
		return nil, "", err
	}
	return response.Plugins, response.NextPageToken, nil
}
// ListPlugins returns all the plugins available to the user. This includes
// public plugins, those uploaded to organizations the user is part of,
// and any plugins uploaded directly by the user.
ListPlugins returns all the plugins available to the user. This includes
public plugins, those uploaded to organizations the user is part of,
and any plugins uploaded directly by the user.
// ListPlugins returns all the plugins available to the user . This includes // public plugins those uploaded to organizations the user is part of // and any plugins uploaded directly by the user .
func (s *pluginService) ListPlugins(
	ctx context.Context,
	pageSize uint32,
	pageToken string,
	reverse bool,
) (plugins []*v1alpha1.Plugin, nextPageToken string, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListPlugins(
		ctx,
		&v1alpha1.ListPluginsRequest{
			PageSize:  pageSize,
			PageToken: pageToken,
			Reverse:   reverse,
		},
	)
	if err != nil {
		return nil, "", err
	}
	return response.Plugins, response.NextPageToken, nil
}
func ( s * pluginService ) ListPlugins ( ctx context . Context , pageSize uint32 , pageToken string , reverse bool , ) ( plugins [ ] * v1alpha1 . Plugin , nextPageToken string , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . ListPlugins ( ctx , & v1alpha1 . ListPluginsRequest { PageSize : pageSize , PageToken : pageToken , Reverse : reverse , } , ) if err != nil { return nil , " " , err } return response . Plugins , response . NextPageToken , nil }
ListPlugins returns all the plugins available to the user.
ListPlugins returns all the plugins available to the user .