func (client *Client) GetIndexSetContext(
	ctx context.Context, id string,
) (*graylog.IndexSet, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	is := &graylog.IndexSet{}
	u, err := client.Endpoints().IndexSet(id)
	if err != nil {
		return nil, nil, err
	}
	ei, err := client.callGet(
		ctx, u.String(), nil, is)
	return is, ei, err
}
// GetIndexSetContext returns a given index set with a context.
GetIndexSetContext returns a given index set with a context.
// GetIndexSetContext returns a given index set with a context .
func (client *Client) GetIndexSetContext(
	ctx context.Context, id string,
) (*graylog.IndexSet, *ErrorInfo, error) {
	if id == "" {
		return nil, nil, errors.New("id is empty")
	}
	is := &graylog.IndexSet{}
	u, err := client.Endpoints().IndexSet(id)
	if err != nil {
		return nil, nil, err
	}
	ei, err := client.callGet(
		ctx, u.String(), nil, is)
	return is, ei, err
}
func ( client * Client ) GetIndexSetContext ( ctx context . Context , id string , ) ( * graylog . IndexSet , * ErrorInfo , error ) { if id == " " { return nil , nil , errors . New ( " " ) } is := & graylog . IndexSet { } u , err := client . Endpoints ( ) . IndexSet ( id ) if err != nil { return nil , nil , err } ei , err := client . callGet ( ctx , u . String ( ) , nil , is ) return is , ei , err }
GetIndexSetContext returns a given index set with a context.
GetIndexSetContext returns a given index set with a context .